27 #define BITSTREAM_READER_LE
41 #define CODE_VLC_BITS 14
69 for (i = 0; i < c * 2; i++)
72 dst[out++] = table[c * 2];
73 dst[out++] = table[(c * 2) + 1];
78 for (j = 1; j <
height; j++){
86 for (i = 0; i < c * 2; i++) {
87 dst[out] = dst[out -
stride];
91 t = dst[out -
stride] + (table[c * 2] - 128);
95 t = dst[out -
stride] + (table[(c * 2) + 1] - 128);
117 for (j = 0; j <
height; j++){
125 t = dst[out] + (((table[c * 2] - 128)*3) >> 2);
129 t = dst[out] + (((table[(c * 2) + 1] - 128)*3) >> 2);
141 void *
data,
int *got_frame,
145 int buf_size = avpkt->
size;
160 if (start >= buf_size) {
168 #ifndef BITSTREAM_READER_LE
169 for (i = 0; i < buf_size; i++)
210 #ifdef BITSTREAM_READER_LE