aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/movenc.h
diff options
context:
space:
mode:
authorVilius Grigaliūnas <vilius.grigaliunas@gmail.com>2015-03-05 00:36:50 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-03-05 11:47:11 +0100
commit2af260e3a85ef2a9fadcac4f4fa652cee53e591e (patch)
tree01566b30e16f8825553b51adb3589bfb14d365d4 /libavformat/movenc.h
parentf5668e614bdccc19a3b3e3d3d67f7c7778526908 (diff)
downloadffmpeg-2af260e3a85ef2a9fadcac4f4fa652cee53e591e.tar.gz
avformat/mxfdec: Detect XYZ pixel format for digital cinema files
While the native jpeg2000 decoder can determine pixel format correctly from the codestream, libopenjpeg wrapper cannot. To make sure that the output is correct when using libopenjpeg to decode digital cinema files, we do detection from the metadata included in the MXF wrapper. If the container has "JPEG 2000 Coding Parameters" metadata element with Rsiz value set to one of digital cinema profiles, we can safely assume that the given input file is DCI compliant, therefore the pixel format should be XYZ. Reviewed-by: Tomas Härdin <tomas.hardin@codemill.se> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/movenc.h')
0 files changed, 0 insertions, 0 deletions