aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorLuca Abeni <lucabe72@email.it>2006-04-10 07:45:29 +0000
committerLuca Abeni <lucabe72@email.it>2006-04-10 07:45:29 +0000
commit5341c20954b8207de0b04658232db93c60bd3db8 (patch)
tree21c18509746e634eaaeaabacf8f1a079c4643b04 /libavcodec/avcodec.h
parent7b98bcbd0f88009ea4cf4e985098cbac1f9a220e (diff)
downloadffmpeg-5341c20954b8207de0b04658232db93c60bd3db8.tar.gz
Baptiste COUDURIER's padding patch (reworked by me a little bit).
Moves padding code to imgconvert.c, and enables padding colorspaces != YUV420P. Originally committed as revision 5278 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index cb97feefda..0ba573e5ba 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -2521,6 +2521,9 @@ void img_copy(AVPicture *dst, const AVPicture *src,
int img_crop(AVPicture *dst, const AVPicture *src,
int pix_fmt, int top_band, int left_band);
+int img_pad(AVPicture *dst, const AVPicture *src, int height, int width, int pix_fmt,
+ int padtop, int padbottom, int padleft, int padright, int *color);
+
/* av_log API */
#include <stdarg.h>