[FFmpeg-devel] [PATCH]Fix pix_fmt detection in jpeg2000
Nicolas Bertrand
nicoinattendu at gmail.com
Wed Jul 17 10:41:21 CEST 2013
Le 17/07/2013 09:15, Carl Eugen Hoyos a écrit :
> I am not sure I understand.
> tmp.mct is read from the file and only used if three
> or more components are available.
MCT can be done on 3 components only :-)
stands for Multiple component transformation. In our case Inverse
Multiple component transformation (used inside codec fot YUV <--> RGB
transformation)
> Do you mean that tmp.mct should be ignored for yuv
> files?
I never tested with YUV files, for me tmp.mct shoud be 0.
If not the YUV file is not well formed.
Wouldn't that break decoding of funnily
> encoded files?
JPEG2000 is not fun :-)
Or does the specification mention
> that tmp.mct has to be ignored for colour_spaces
> != rgb?
Specification mentions that MCT can be avoided.
Specification says nothing about color space.
My interpretation, is avoid MCT when input color space is YUV.
More information about the ffmpeg-devel
mailing list