[FFmpeg-devel] qtpalette.h
Mike Melanson
mike
Tue Mar 10 05:26:22 CET 2009
Ronald S. Bultje wrote:
> Hi,
>
> why does libavformat/qtpalette.h have an unused alpha channel? Seems
> like a waste of 256+16+4 bytes?
I guess I just did everything 32-bit style back in 2002 when I wrote this.
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?
--
-Mike Melanson
More information about the ffmpeg-devel
mailing list