[FFmpeg-devel] [PATCH]Support decoding and encoding of 64bit tiff, v2

Carl Eugen Hoyos cehoyos at ag.or.at
Thu Jan 12 00:34:24 CET 2012


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

> >> >                                PIX_FMT_YUV411P, PIX_FMT_RGB48LE,
> >>
> >> Shouldn't these be PIX_FMT_RGB48 ?
> >
> > I honestly don't know but did you test?
> > Changing it to PIX_FMT_RGB48 breaks tiff encoding here.
> 
> I ask because tiff decoder supports both RGB48LE and RGB48BE.

That is because the endianess is written in the file, so both versions have to
be supported (but no conversion takes place).

> So I guess different patch is needed to address this issue/enhancement
> in encoder.

I am not so sure: The conversion can be done with SIMD acceleration in
libswscale, this would be more difficult in the encoder afaict.

Carl Eugen



More information about the ffmpeg-devel mailing list