diff options
author | Alexander Strange <astrange@ithinksw.com> | 2011-03-26 17:31:13 -0400 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2011-03-26 17:45:38 -0400 |
commit | 1500be13f204acb7e74dac4325ef0052576fa2a9 (patch) | |
tree | 848f4349ffc98e779caa3af34fd57dc3b21f2c16 /libavcodec/dsputil.h | |
parent | c56e618b4b731d761a44fd4666b03829388ad028 (diff) | |
download | ffmpeg-1500be13f204acb7e74dac4325ef0052576fa2a9.tar.gz |
dsputil: allow to skip drawing of top/bottom edges.
Diffstat (limited to 'libavcodec/dsputil.h')
-rw-r--r-- | libavcodec/dsputil.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/dsputil.h b/libavcodec/dsputil.h index a5ae68ab8b..99b32831ec 100644 --- a/libavcodec/dsputil.h +++ b/libavcodec/dsputil.h @@ -492,8 +492,10 @@ typedef struct DSPContext { #define BASIS_SHIFT 16 #define RECON_SHIFT 6 - void (*draw_edges)(uint8_t *buf, int wrap, int width, int height, int w); + void (*draw_edges)(uint8_t *buf, int wrap, int width, int height, int w, int sides); #define EDGE_WIDTH 16 +#define EDGE_TOP 1 +#define EDGE_BOTTOM 2 void (*prefetch)(void *mem, int stride, int h); |