]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/imgconvert.h
lavf: deprecate AVFormatContext.index_built
[ffmpeg] / libavcodec / imgconvert.h
index 102f925c0ba6edd95885515e411ffcb398366536..64da317d27644cfef4d57f09c3f0a640aa1a0d39 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);
+#if LIBAVCODEC_VERSION_MAJOR < 53
+attribute_deprecated
+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);
+attribute_deprecated
+int ff_fill_pointer(AVPicture *picture, uint8_t *ptr, enum PixelFormat pix_fmt, int height);
 
+attribute_deprecated
 int ff_get_plane_bytewidth(enum PixelFormat pix_fmt, int width, int plane);
 
-#endif /* FFMPEG_IMGCONVERT_H */
+attribute_deprecated
+int ff_set_systematic_pal(uint32_t pal[256], enum PixelFormat pix_fmt);
+#endif
+
+#endif /* AVCODEC_IMGCONVERT_H */