summaryrefslogtreecommitdiff
path: root/libavutil
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2009-02-06 12:59:50 +0000
committerMichael Niedermayer <michaelni@gmx.at>2009-02-06 12:59:50 +0000
commit6337178b4f5c80e4dde5fda2b9a278ee1368b93a (patch)
tree74a2f1036123aa221a27c1365820eb5464ee69e0 /libavutil
parent9a77d59a89fd73d8ad1027da3b40b434a0708e6a (diff)
Ensure that the palette is set in data[1] for all 8bit formats.
Also document it. Originally committed as revision 17018 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/avutil.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavutil/avutil.h b/libavutil/avutil.h
index 20735183c7..799e764f7f 100644
--- a/libavutil/avutil.h
+++ b/libavutil/avutil.h
@@ -76,6 +76,10 @@ unsigned avutil_version(void);
* components stored in AVFrame.data[1] should be in the range 0..255.
* This is important as many custom PAL8 video codecs that were designed
* to run on the IBM VGA graphics adapter use 6-bit palette components.
+ *
+ * For all the 8bit per pixel formats, an RGB32 palette is in data[1] like
+ * for pal8. This palette is filled in automatically by the function
+ * allocating the picture.
*/
enum PixelFormat {
PIX_FMT_NONE= -1,