Mercurial > libavcodec.hg
comparison avcodec.h @ 49:0d1f70657c73 libavcodec
new img_convert API - added deinterlacing filter
| author | glantau |
|---|---|
| date | Sat, 11 Aug 2001 19:00:05 +0000 |
| parents | b8723ec6c80f |
| children | cdd89f96cbe1 |
comparison
equal
deleted
inserted
replaced
| 48:11ce5e672961 | 49:0d1f70657c73 |
|---|---|
| 145 void img_resample(ImgReSampleContext *s, | 145 void img_resample(ImgReSampleContext *s, |
| 146 AVPicture *output, AVPicture *input); | 146 AVPicture *output, AVPicture *input); |
| 147 | 147 |
| 148 void img_resample_close(ImgReSampleContext *s); | 148 void img_resample_close(ImgReSampleContext *s); |
| 149 | 149 |
| 150 int img_convert_to_yuv420(UINT8 *img_out, UINT8 *img, | 150 void avpicture_fill(AVPicture *picture, UINT8 *ptr, |
| 151 int pix_fmt, int width, int height); | |
| 152 int avpicture_get_size(int pix_fmt, int width, int height); | |
| 153 | |
| 154 /* convert among pixel formats */ | |
| 155 int img_convert(AVPicture *dst, int dst_pix_fmt, | |
| 156 AVPicture *src, int pix_fmt, | |
| 157 int width, int height); | |
| 158 | |
| 159 /* deinterlace a picture */ | |
| 160 int avpicture_deinterlace(AVPicture *dst, AVPicture *src, | |
| 151 int pix_fmt, int width, int height); | 161 int pix_fmt, int width, int height); |
| 152 | 162 |
| 153 /* external high level API */ | 163 /* external high level API */ |
| 154 | 164 |
| 155 extern AVCodec *first_avcodec; | 165 extern AVCodec *first_avcodec; |
