27 #define BITSTREAM_READER_LE
41 #define CODE_VLC_BITS 14
67 if (out + c*2 > width)
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++) {
84 if (out + c*2 > width)
86 for (i = 0; i < c * 2; i++) {
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++) {
119 while (out < width) {
125 t = dst[
out] + (((table[c * 2] - 128)*3) >> 2);
126 t = av_clip_uint8(t);
129 t = dst[
out] + (((table[(c * 2) + 1] - 128)*3) >> 2);
130 t = av_clip_uint8(t);
141 void *
data,
int *got_frame,
146 int buf_size = avpkt->
size;
160 if (start >= buf_size) {
168 #ifndef BITSTREAM_READER_LE
169 for (i = 0; i < buf_size; i++)
224 #ifdef BITSTREAM_READER_LE