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

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


On 02/22/2016 01:07 PM, Mats Peterson wrote:
> 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.
>

It's probably not worth it. Sorry, wm4, for my self-replying. This was 
the last one.

Mats



More information about the ffmpeg-devel mailing list