Mercurial > libavcodec.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
3256:aec4f27b1248 | 3257:63f61b09dcee |
---|---|
2519 int pix_fmt, int width, int height); | 2519 int pix_fmt, int width, int height); |
2520 | 2520 |
2521 int img_crop(AVPicture *dst, const AVPicture *src, | 2521 int img_crop(AVPicture *dst, const AVPicture *src, |
2522 int pix_fmt, int top_band, int left_band); | 2522 int pix_fmt, int top_band, int left_band); |
2523 | 2523 |
2524 int img_pad(AVPicture *dst, const AVPicture *src, int height, int width, int pix_fmt, | |
2525 int padtop, int padbottom, int padleft, int padright, int *color); | |
2526 | |
2524 /* av_log API */ | 2527 /* av_log API */ |
2525 | 2528 |
2526 #include <stdarg.h> | 2529 #include <stdarg.h> |
2527 | 2530 |
2528 #define AV_LOG_QUIET -1 | 2531 #define AV_LOG_QUIET -1 |