diff imgconvert.h @ 8748:eaa08ce79f9a libavcodec

Ensure that the palette is set in data[1] for all 8bit formats. Also document it.
author michael
date Fri, 06 Feb 2009 12:59:50 +0000
parents 2eaafc02cd3d
children 058ade8fcc89
line wrap: on
line diff
--- a/imgconvert.h	Fri Feb 06 11:49:31 2009 +0000
+++ b/imgconvert.h	Fri Feb 06 12:59:50 2009 +0000
@@ -33,6 +33,8 @@
 
 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);