# HG changeset patch # User glantau # Date 997556405 0 # Node ID 0d1f70657c73b4897a31d997ec2ea42165459d42 # Parent 11ce5e672961ccc43950cdfb5b216e3c5cc0dbe4 new img_convert API - added deinterlacing filter diff -r 11ce5e672961 -r 0d1f70657c73 avcodec.h --- a/avcodec.h Sat Aug 11 18:56:40 2001 +0000 +++ b/avcodec.h Sat Aug 11 19:00:05 2001 +0000 @@ -147,7 +147,17 @@ 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 */