aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mjpegdec.h
diff options
context:
space:
mode:
authorKirill Gavrilov <kirill@sview.ru>2014-01-29 21:22:24 +0400
committerMichael Niedermayer <michaelni@gmx.at>2014-01-30 00:17:02 +0100
commite9e7e685166e024466df8f9f10de12e74b327c82 (patch)
treec328cbf6ca4379b7d4a7f7cfec8dfa80ff012815 /libavcodec/mjpegdec.h
parent72afa381b3fa347f4149067845c6582469d8062e (diff)
downloadffmpeg-e9e7e685166e024466df8f9f10de12e74b327c82.tar.gz
mjpegdec: parse JPS extension and save relevant stereo3d information
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/mjpegdec.h')
-rw-r--r--libavcodec/mjpegdec.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/mjpegdec.h b/libavcodec/mjpegdec.h
index 79a95f551c..1ec241b1e6 100644
--- a/libavcodec/mjpegdec.h
+++ b/libavcodec/mjpegdec.h
@@ -31,6 +31,7 @@
#include "libavutil/log.h"
#include "libavutil/pixdesc.h"
+#include "libavutil/stereo3d.h"
#include "avcodec.h"
#include "get_bits.h"
@@ -122,6 +123,8 @@ typedef struct MJpegDecodeContext {
int extern_huff;
AVDictionary *exif_metadata;
+ AVStereo3D *stereo3d; ///!< stereoscopic information (cached, since it is read before frame allocation)
+
const AVPixFmtDescriptor *pix_desc;
} MJpegDecodeContext;