Mercurial > libavcodec.hg
comparison avcodec.h @ 9902:9bdf9fe9018c libavcodec
Fix argument type mismatches for av_picture_crop and av_picture_fill
| author | mru |
|---|---|
| date | Wed, 01 Jul 2009 10:36:18 +0000 |
| parents | 1d10ec092b64 |
| children | 8071f8b68d05 |
comparison
equal
deleted
inserted
replaced
| 9901:3f766c507a70 | 9902:9bdf9fe9018c |
|---|---|
| 2900 * @param width the width of the image in pixels | 2900 * @param width the width of the image in pixels |
| 2901 * @param height the height of the image in pixels | 2901 * @param height the height of the image in pixels |
| 2902 * @return size of the image data in bytes | 2902 * @return size of the image data in bytes |
| 2903 */ | 2903 */ |
| 2904 int avpicture_fill(AVPicture *picture, uint8_t *ptr, | 2904 int avpicture_fill(AVPicture *picture, uint8_t *ptr, |
| 2905 int pix_fmt, int width, int height); | 2905 enum PixelFormat pix_fmt, int width, int height); |
| 2906 int avpicture_layout(const AVPicture* src, enum PixelFormat pix_fmt, int width, int height, | 2906 int avpicture_layout(const AVPicture* src, enum PixelFormat pix_fmt, int width, int height, |
| 2907 unsigned char *dest, int dest_size); | 2907 unsigned char *dest, int dest_size); |
| 2908 | 2908 |
| 2909 /** | 2909 /** |
| 2910 * Calculate the size in bytes that a picture of the given width and height | 2910 * Calculate the size in bytes that a picture of the given width and height |
