[FFmpeg-devel] qtpalette.h

Mike Melanson mike
Tue Mar 10 05:35:17 CET 2009


Ronald S. Bultje wrote:
> Hi Mike,
> 
> On Tue, Mar 10, 2009 at 12:26 AM, Mike Melanson <mike at multimedia.cx> wrote:
>> static const uint8_t ff_qt_default_palette_4[4 * 4] = {
>> static const uint8_t ff_qt_default_palette_16[16 * 4] = {
>> static const uint8_t ff_qt_default_palette_256[256 * 4] = {
>>
>> Shouldn't these all be shortened to n*3, commensurate with the smaller
>> space requirements?
> 
> Oh right, I knew I shouldn't be coding late at night...

And I trust you tested this? Against some paletted QuickTime samples?

-- 
     -Mike Melanson




More information about the ffmpeg-devel mailing list