Mercurial > libavcodec.hg
comparison avcodec.h @ 11567:1025297f5624 libavcodec
Add function to export EDGE_WIDTH from libavcodec.
author | koorogi |
---|---|
date | Thu, 01 Apr 2010 06:41:16 +0000 |
parents | 214a2a8b9e58 |
children | 7dd2a45249a9 |
comparison
equal
deleted
inserted
replaced
11566:214a2a8b9e58 | 11567:1025297f5624 |
---|---|
28 | 28 |
29 #include <errno.h> | 29 #include <errno.h> |
30 #include "libavutil/avutil.h" | 30 #include "libavutil/avutil.h" |
31 | 31 |
32 #define LIBAVCODEC_VERSION_MAJOR 52 | 32 #define LIBAVCODEC_VERSION_MAJOR 52 |
33 #define LIBAVCODEC_VERSION_MINOR 65 | 33 #define LIBAVCODEC_VERSION_MINOR 66 |
34 #define LIBAVCODEC_VERSION_MICRO 0 | 34 #define LIBAVCODEC_VERSION_MICRO 0 |
35 | 35 |
36 #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \ | 36 #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \ |
37 LIBAVCODEC_VERSION_MINOR, \ | 37 LIBAVCODEC_VERSION_MINOR, \ |
38 LIBAVCODEC_VERSION_MICRO) | 38 LIBAVCODEC_VERSION_MICRO) |
3288 AVFrame *avcodec_alloc_frame(void); | 3288 AVFrame *avcodec_alloc_frame(void); |
3289 | 3289 |
3290 int avcodec_default_get_buffer(AVCodecContext *s, AVFrame *pic); | 3290 int avcodec_default_get_buffer(AVCodecContext *s, AVFrame *pic); |
3291 void avcodec_default_release_buffer(AVCodecContext *s, AVFrame *pic); | 3291 void avcodec_default_release_buffer(AVCodecContext *s, AVFrame *pic); |
3292 int avcodec_default_reget_buffer(AVCodecContext *s, AVFrame *pic); | 3292 int avcodec_default_reget_buffer(AVCodecContext *s, AVFrame *pic); |
3293 | |
3294 /** | |
3295 * Returns the amount of padding in pixels which the get_buffer callback must | |
3296 * provide around the edge of the image for codecs which do not have the | |
3297 * CODEC_FLAG_EMU_EDGE flag. | |
3298 * | |
3299 * @return Required padding in pixels. | |
3300 */ | |
3301 unsigned avcodec_get_edge_width(void); | |
3293 /** | 3302 /** |
3294 * Modifies width and height values so that they will result in a memory | 3303 * Modifies width and height values so that they will result in a memory |
3295 * buffer that is acceptable for the codec if you do not use any horizontal | 3304 * buffer that is acceptable for the codec if you do not use any horizontal |
3296 * padding. | 3305 * padding. |
3297 */ | 3306 */ |