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

Carl Eugen Hoyos cehoyos at ag.or.at
Thu Jan 12 01:02:09 CET 2012


Carl Eugen Hoyos <cehoyos <at> ag.or.at> writes:

> @@ -498,7 +506,7 @@ AVCodec ff_tiff_encoder = {
>                                PIX_FMT_YUV420P, PIX_FMT_YUV422P,
>                                PIX_FMT_YUV444P, PIX_FMT_YUV410P,
>                                PIX_FMT_YUV411P, PIX_FMT_RGB48LE,
> -                              PIX_FMT_RGBA, PIX_FMT_NONE},
> +                              PIX_FMT_RGBA, PIX_FMT_RGBA64, PIX_FMT_NONE},

This patch and the changed version of the "64bit png decoding" patch (with
PIX_FMT_RGBA64) allow to reencode the sample from ticket 639 (64bit png) to tiff
on LE and BE, it also allows to reencode the sample from ticket 503 (64 bit le
tiff) to tiff on LE.
I tested encoding to RGB48 tiff with both lena and the 48bit dpx sample, and
both worked on LE and BE (tested with ImageMagick and OSX preview).

Any objections or better tests or may I apply?

Carl Eugen



More information about the ffmpeg-devel mailing list