30 #define FRAME_HEADER_SIZE 64
33 #define SUBSAMPLE_420 0
34 #define SUBSAMPLE_422 1
35 #define YUVORDER_YUYV 0
36 #define YUVORDER_UYVY 1
37 #define NOT_COMPRESSED 0
39 #define NO_DECIMATION 0
40 #define DECIMATION_ENAB 1
109 i++, src += linelength, src_size -= linelength
115 if (src_size < linelength) {
120 if (src[linelength - 1] !=
EOL) {
122 av_log(avctx,
AV_LOG_WARNING,
"Wrong line length %d or line not terminated properly (found 0x%02x)!\n", linelength, src[linelength - 1]);
140 for (j = 0; j < linelength - 1; j++) {
146 if ((src[j] & 1) && header[28] ==
COMPRESSED) {
160 for (j = 0; j < linelength - 4; ) {
161 if (y + 1 > y_end || u > u_end || v > v_end) {
166 if ((src[j] & 1) && header[28] ==
COMPRESSED) {