29 #define FRAME_HEADER_SIZE 64
32 #define SUBSAMPLE_420 0
33 #define SUBSAMPLE_422 1
34 #define YUVORDER_YUYV 0
35 #define YUVORDER_UYVY 1
36 #define NOT_COMPRESSED 0
38 #define NO_DECIMATION 0
39 #define DECIMATION_ENAB 1
110 i++, src += linelength, src_size -= linelength
116 if (src_size < linelength) {
121 if (src[linelength - 1] !=
EOL) {
123 av_log(avctx,
AV_LOG_WARNING,
"Wrong line length %d or line not terminated properly (found 0x%02x)!\n", linelength, src[linelength - 1]);
141 for (j = 0; j < linelength - 1; j++) {
147 if ((src[j] & 1) && header[28] ==
COMPRESSED) {
161 for (j = 0; j < linelength - 4; ) {
162 if (y + 1 > y_end || u > u_end || v > v_end) {
167 if ((src[j] & 1) && header[28] ==
COMPRESSED) {