summaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorFabrice Bellard <fabrice@bellard.org>2001-08-11 19:00:05 +0000
committerFabrice Bellard <fabrice@bellard.org>2001-08-11 19:00:05 +0000
commit219b06c66bd63ed5e8ec2956aba5e0a6bf62b622 (patch)
tree9b6b111d27e433a977d2ceaa2b247e1665172b63 /libavcodec
parent6775c758c48b1486e961572407f9f9990eb64327 (diff)
downloadffmpeg-streaming-219b06c66bd63ed5e8ec2956aba5e0a6bf62b622.zip
ffmpeg-streaming-219b06c66bd63ed5e8ec2956aba5e0a6bf62b622.tar.gz
new img_convert API - added deinterlacing filter
Originally committed as revision 66 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/avcodec.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index fe78557..43f6cf8 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -147,7 +147,17 @@ void img_resample(ImgReSampleContext *s,
void img_resample_close(ImgReSampleContext *s);
-int img_convert_to_yuv420(UINT8 *img_out, UINT8 *img,
+void avpicture_fill(AVPicture *picture, UINT8 *ptr,
+ int pix_fmt, int width, int height);
+int avpicture_get_size(int pix_fmt, int width, int height);
+
+/* convert among pixel formats */
+int img_convert(AVPicture *dst, int dst_pix_fmt,
+ AVPicture *src, int pix_fmt,
+ int width, int height);
+
+/* deinterlace a picture */
+int avpicture_deinterlace(AVPicture *dst, AVPicture *src,
int pix_fmt, int width, int height);
/* external high level API */
OpenPOWER on IntegriCloud