Mercurial > libavcodec.hg
comparison imgconvert.h @ 12320:035ca6548e29 libavcodec
Use av_fill_image_pointers/linesizes in place of ff_fill_pointer/linesize,
and drop the the ff_ variants at the next major bump.
author | stefano |
---|---|
date | Sat, 31 Jul 2010 16:46:20 +0000 |
parents | a15ec86bf752 |
children | e7de1ba6dbc0 |
comparison
equal
deleted
inserted
replaced
12319:014e19fbfae7 | 12320:035ca6548e29 |
---|---|
25 #define AVCODEC_IMGCONVERT_H | 25 #define AVCODEC_IMGCONVERT_H |
26 | 26 |
27 #include <stdint.h> | 27 #include <stdint.h> |
28 #include "avcodec.h" | 28 #include "avcodec.h" |
29 | 29 |
30 #if LIBAVCODEC_VERSION_MAJOR < 53 | |
31 attribute_deprecated | |
30 int ff_fill_linesize(AVPicture *picture, enum PixelFormat pix_fmt, int width); | 32 int ff_fill_linesize(AVPicture *picture, enum PixelFormat pix_fmt, int width); |
31 | 33 |
34 attribute_deprecated | |
32 int ff_fill_pointer(AVPicture *picture, uint8_t *ptr, enum PixelFormat pix_fmt, int height); | 35 int ff_fill_pointer(AVPicture *picture, uint8_t *ptr, enum PixelFormat pix_fmt, int height); |
36 #endif | |
33 | 37 |
34 int ff_get_plane_bytewidth(enum PixelFormat pix_fmt, int width, int plane); | 38 int ff_get_plane_bytewidth(enum PixelFormat pix_fmt, int width, int plane); |
35 | 39 |
36 int ff_set_systematic_pal(uint32_t pal[256], enum PixelFormat pix_fmt); | 40 int ff_set_systematic_pal(uint32_t pal[256], enum PixelFormat pix_fmt); |
37 | 41 |