Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2015-12-28 05:18:20 +0300
committerMichael Niedermayer <michael@niedermayer.cc>2015-12-28 05:18:20 +0300
commitca9e3cb3ce7a6207570500e003ec2ed44836921e (patch)
treeb53cb08ddd1a4e98ef92de8a412ed466e1d5ec05 /libavformat/qtpalette.h
parent7973603843731b57cea5a62d4b4381722731fd2c (diff)
avformat/qtpalette: Move ff_get_qtpalette() doxy to header
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/qtpalette.h')
-rw-r--r--libavformat/qtpalette.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/libavformat/qtpalette.h b/libavformat/qtpalette.h
index 54da2a1083..da83421d84 100644
--- a/libavformat/qtpalette.h
+++ b/libavformat/qtpalette.h
@@ -311,6 +311,15 @@ static const uint8_t ff_qt_default_palette_256[256 * 3] = {
/* 255, 0xFF */ 0x00, 0x00, 0x00
};
+/**
+ * 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).
+ */
int ff_get_qtpalette(int codec_id, AVIOContext *pb, uint32_t *palette);
#endif /* AVFORMAT_QTPALETTE_H */