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
This commit is contained in:
@@ -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>
|
||||
|
Reference in New Issue
Block a user