[FFmpeg-devel] [PATCH]Fix pix_fmt detection in jpeg2000

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Jul 17 14:38:20 CEST 2013


Paul B Mahol <onemda <at> gmail.com> writes:

> >> as MCT is defined, if the input color
> >> space is YUV, there are no need to do the MCT.
> >
> > Isn't this completely up to the encoder to decide?
> > (Unrelated to the fact that it probably makes no
> > sense.)
> >
> >> If the MCT is done with a YUV color space, we
> >> will do YUV --> RGB --> YUV. so useless.
> >
> > Or in other words:
> > If the encoder decided (because of an error or
> > another reason) to run its yuv input through
> > the RGB -> YUV conversion, wouldn't the MCT be
> > necessary to produce correct output?
> 
> Pointless discussion asside,

How is it pointless?

> does yuv samples (subsampled or not)
> decode anything sane with this patch?

I probably don't understand the question (did you 
test one of the related tickets?) but how is that 
related?

Carl Eugen



More information about the ffmpeg-devel mailing list