[FFmpeg-devel] Using 16 bits per component in the internal palette

Mats Peterson matsp888 at yahoo.com
Mon Feb 22 13:07:03 CET 2016


On 02/22/2016 12:57 PM, Mats Peterson wrote:
> QuickTime uses 16 bits per component for its palette. Would it be
> sensible to do the same for the internal palette in FFmpeg as well, in
> order to avoid "precision loss"? With the result that AVPALETTE_SIZE
> will be 2048 rather than 1024.
>
> Mats
>

That will take a lot of modifications for anything that uses a palette I 
guess, changing from uint32_t to uint64_t, etc.

Mats



More information about the ffmpeg-devel mailing list