* 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_get_plane_bytewidth(enum PixelFormat pix_fmt, int width, int plane);
-#endif /* FFMPEG_IMGCONVERT_H */
+int img_convert(AVPicture *dst, int dst_pix_fmt, const AVPicture *src,
+ int src_pix_fmt, int src_width, int src_height);
+
+#endif /* AVCODEC_IMGCONVERT_H */