]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/imgconvert.h
lavf: deprecate AVFormatContext.index_built
[ffmpeg] / libavcodec / imgconvert.h
index 3b5bed76af2f1319094197323641ca3f351745a7..64da317d27644cfef4d57f09c3f0a640aa1a0d39 100644 (file)
 #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);
 
+attribute_deprecated
 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);
+#endif
 
 #endif /* AVCODEC_IMGCONVERT_H */