comparison nuv.c @ 4624:6a900f539e2c libavcodec

Add the prefix "av_" to img_crop(), img_copy() and img_pad(), and rename "img" to "picture" as suggested by Baptiste Coudurier.
author takis
date Sun, 04 Mar 2007 11:53:11 +0000
parents 05e932ddaaa9
children 66ef3690d108
comparison
equal deleted inserted replaced
4623:e541c0dd35dd 4624:6a900f539e2c
48 */ 48 */
49 static void copy_frame(AVFrame *f, uint8_t *src, 49 static void copy_frame(AVFrame *f, uint8_t *src,
50 int width, int height) { 50 int width, int height) {
51 AVPicture pic; 51 AVPicture pic;
52 avpicture_fill(&pic, src, PIX_FMT_YUV420P, width, height); 52 avpicture_fill(&pic, src, PIX_FMT_YUV420P, width, height);
53 img_copy((AVPicture *)f, &pic, PIX_FMT_YUV420P, width, height); 53 av_picture_copy((AVPicture *)f, &pic, PIX_FMT_YUV420P, width, height);
54 } 54 }
55 55
56 /** 56 /**
57 * \brief extract quantization tables from codec data into our context 57 * \brief extract quantization tables from codec data into our context
58 */ 58 */