From 6337178b4f5c80e4dde5fda2b9a278ee1368b93a Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 6 Feb 2009 12:59:50 +0000 Subject: 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 --- libavcodec/imgconvert.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libavcodec/imgconvert.h') 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); -- cgit v1.2.1