diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2009-02-06 12:59:50 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2009-02-06 12:59:50 +0000 |
commit | 6337178b4f5c80e4dde5fda2b9a278ee1368b93a (patch) | |
tree | 74a2f1036123aa221a27c1365820eb5464ee69e0 /libavcodec/imgconvert.h | |
parent | 9a77d59a89fd73d8ad1027da3b40b434a0708e6a (diff) | |
download | ffmpeg-6337178b4f5c80e4dde5fda2b9a278ee1368b93a.tar.gz |
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 'libavcodec/imgconvert.h')
-rw-r--r-- | libavcodec/imgconvert.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/imgconvert.h b/libavcodec/imgconvert.h index 83bce68f56..3b5bed76af 100644 --- a/libavcodec/imgconvert.h +++ b/libavcodec/imgconvert.h @@ -33,6 +33,8 @@ int ff_fill_pointer(AVPicture *picture, uint8_t *ptr, int pix_fmt, int height); int ff_get_plane_bytewidth(enum PixelFormat pix_fmt, int width, int plane); +int ff_set_systematic_pal(uint32_t pal[256], enum PixelFormat pix_fmt); + int img_convert(AVPicture *dst, int dst_pix_fmt, const AVPicture *src, int src_pix_fmt, int src_width, int src_height); |