aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mjpegdec.h
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2011-12-27 18:21:38 +0100
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2011-12-27 18:21:38 +0100
commit387d86077f5237e53cec7a4ed31f5531224feebf (patch)
tree5c7edd2f86105e8761159c7b94b2ccb5e05b3491 /libavcodec/mjpegdec.h
parent613cbf31680324fd73558f0e4ad36f1eb062221e (diff)
downloadffmpeg-387d86077f5237e53cec7a4ed31f5531224feebf.tar.gz
Support decoding yuv442 and yuv421 jpeg images.
Fixes ticket #787.
Diffstat (limited to 'libavcodec/mjpegdec.h')
-rw-r--r--libavcodec/mjpegdec.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/mjpegdec.h b/libavcodec/mjpegdec.h
index d88ba7b544..23bc077558 100644
--- a/libavcodec/mjpegdec.h
+++ b/libavcodec/mjpegdec.h
@@ -58,6 +58,8 @@ typedef struct MJpegDecodeContext {
int ls;
int progressive;
int rgb;
+ int yuv421;
+ int yuv442;
int rct; /* standard rct */
int pegasus_rct; /* pegasus reversible colorspace transform */
int bits; /* bits per component */