summaryrefslogtreecommitdiff
path: root/libavcodec/dsputil.h
diff options
context:
space:
mode:
authorAlexander Strange <astrange@ithinksw.com>2011-03-26 17:31:13 -0400
committerRonald S. Bultje <rsbultje@gmail.com>2011-03-26 17:45:38 -0400
commit1500be13f204acb7e74dac4325ef0052576fa2a9 (patch)
tree848f4349ffc98e779caa3af34fd57dc3b21f2c16 /libavcodec/dsputil.h
parentc56e618b4b731d761a44fd4666b03829388ad028 (diff)
dsputil: allow to skip drawing of top/bottom edges.
Diffstat (limited to 'libavcodec/dsputil.h')
-rw-r--r--libavcodec/dsputil.h4
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);