26 #define BITSTREAM_READER_LE
39 #define CODE_VLC_BITS 14
67 for (i = 0; i < c * 2; i++)
70 dst[out++] = table[c * 2];
71 dst[out++] = table[(c * 2) + 1];
76 for (j = 1; j <
height; j++){
84 for (i = 0; i < c * 2; i++) {
85 dst[out] = dst[out -
stride];
89 t = dst[out -
stride] + (table[c * 2] - 128);
93 t = dst[out -
stride] + (table[(c * 2) + 1] - 128);
105 const uint8_t *table)
115 for (j = 0; j <
height; j++){
123 t = dst[out] + (((table[c * 2] - 128)*3) >> 2);
127 t = dst[out] + (((table[(c * 2) + 1] - 128)*3) >> 2);
139 void *
data,
int *data_size,
142 const uint8_t *buf = avpkt->
data;
143 int buf_size = avpkt->
size;
161 if (start >= buf_size) {
169 #ifndef BITSTREAM_READER_LE
170 for (i = 0; i < buf_size; i++)
210 #ifdef BITSTREAM_READER_LE