FFmpeg
|
#include <stdio.h>
#include <stdint.h>
#include "avformat.h"
#include "libavutil/intreadwrite.h"
#include "qtpalette.h"
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... | |
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().