]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/imgconvert.h
Add rule for building API example programs.
[ffmpeg] / libavcodec / imgconvert.h
index 102f925c0ba6edd95885515e411ffcb398366536..48e2f127195411d36fee6539b4e12f313260d375 100644 (file)
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#ifndef FFMPEG_IMGCONVERT_H
-#define FFMPEG_IMGCONVERT_H
+#ifndef AVCODEC_IMGCONVERT_H
+#define AVCODEC_IMGCONVERT_H
 
+#include <stdint.h>
 #include "avcodec.h"
 
-int ff_fill_linesize(AVPicture *picture, int pix_fmt, int width);
+int ff_fill_linesize(AVPicture *picture, enum PixelFormat pix_fmt, int width);
 
-int ff_fill_pointer(AVPicture *picture, uint8_t *ptr, int pix_fmt, int height);
+int ff_fill_pointer(AVPicture *picture, uint8_t *ptr, enum PixelFormat pix_fmt, int height);
 
 int ff_get_plane_bytewidth(enum PixelFormat pix_fmt, int width, int plane);
 
-#endif /* FFMPEG_IMGCONVERT_H */
+int ff_set_systematic_pal(uint32_t pal[256], enum PixelFormat pix_fmt);
+
+#endif /* AVCODEC_IMGCONVERT_H */