FFmpeg
|
Go to the source code of this file.
Functions | |
int | ff_get_qtpalette (int codec_id, AVIOContext *pb, uint32_t *palette) |
Retrieve the palette (or "color table" in QuickTime terms), either from the video sample description, or from the default Macintosh palette. More... | |
Variables | |
static const uint8_t | ff_qt_default_palette_2 [2 *3] |
static const uint8_t | ff_qt_default_palette_4 [4 *3] |
static const uint8_t | ff_qt_default_palette_16 [16 *3] |
static const uint8_t | ff_qt_default_palette_256 [256 *3] |
int ff_get_qtpalette | ( | int | codec_id, |
AVIOContext * | pb, | ||
uint32_t * | palette | ||
) |
Retrieve the palette (or "color table" in QuickTime terms), either from the video sample description, or from the default Macintosh palette.
The file offset of the AVIOContext pointed to by the 'pb' variable should be the start of the video sample description (the sample description size and the data format).
Definition at line 31 of file qtpalette.c.
Referenced by matroska_parse_tracks(), and mov_parse_stsd_video().
|
static |
Definition at line 29 of file qtpalette.h.
Referenced by ff_get_qtpalette().
|
static |
Definition at line 35 of file qtpalette.h.
Referenced by ff_get_qtpalette().
|
static |
Definition at line 43 of file qtpalette.h.
Referenced by ff_get_qtpalette().
|
static |
Definition at line 62 of file qtpalette.h.
Referenced by ff_get_qtpalette().