comparison 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
comparison
equal deleted inserted replaced
8747:a261e3271d1f 8748:eaa08ce79f9a
31 31
32 int ff_fill_pointer(AVPicture *picture, uint8_t *ptr, int pix_fmt, int height); 32 int ff_fill_pointer(AVPicture *picture, uint8_t *ptr, int pix_fmt, int height);
33 33
34 int ff_get_plane_bytewidth(enum PixelFormat pix_fmt, int width, int plane); 34 int ff_get_plane_bytewidth(enum PixelFormat pix_fmt, int width, int plane);
35 35
36 int ff_set_systematic_pal(uint32_t pal[256], enum PixelFormat pix_fmt);
37
36 int img_convert(AVPicture *dst, int dst_pix_fmt, const AVPicture *src, 38 int img_convert(AVPicture *dst, int dst_pix_fmt, const AVPicture *src,
37 int src_pix_fmt, int src_width, int src_height); 39 int src_pix_fmt, int src_width, int src_height);
38 40
39 #endif /* AVCODEC_IMGCONVERT_H */ 41 #endif /* AVCODEC_IMGCONVERT_H */