diff avcodec.h @ 3257:63f61b09dcee libavcodec

Baptiste COUDURIER's padding patch (reworked by me a little bit). Moves padding code to imgconvert.c, and enables padding colorspaces != YUV420P.
author lucabe
date Mon, 10 Apr 2006 07:45:29 +0000
parents 9ff165550d75
children f1bcb9ae510b
line wrap: on
line diff
--- a/avcodec.h	Sun Apr 09 06:53:40 2006 +0000
+++ b/avcodec.h	Mon Apr 10 07:45:29 2006 +0000
@@ -2521,6 +2521,9 @@
 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>