From 1500be13f204acb7e74dac4325ef0052576fa2a9 Mon Sep 17 00:00:00 2001 From: Alexander Strange Date: Sat, 26 Mar 2011 17:31:13 -0400 Subject: dsputil: allow to skip drawing of top/bottom edges. --- libavcodec/dsputil.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libavcodec/dsputil.h') 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); -- cgit v1.2.1