summaryrefslogtreecommitdiff
path: root/libavcodec/videodsp.h
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2013-02-10 15:59:21 -0800
committerMichael Niedermayer <michaelni@gmx.at>2013-02-11 01:03:33 +0100
commitc7e3e55429cba3a9e125be382a9ad3d9f3c1a423 (patch)
tree30e1b1afea7f3da972efa19387d93a12c2cb3bde /libavcodec/videodsp.h
parent55e35c98d5f3159e5902616bdce01add685510b5 (diff)
downloadffmpeg-c7e3e55429cba3a9e125be382a9ad3d9f3c1a423.tar.gz
Move ff_emulated_edge_mc prototypes to videodsp.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/videodsp.h')
-rw-r--r--libavcodec/videodsp.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libavcodec/videodsp.h b/libavcodec/videodsp.h
index dc893847b3..e397720773 100644
--- a/libavcodec/videodsp.h
+++ b/libavcodec/videodsp.h
@@ -29,6 +29,14 @@
#include <stddef.h>
#include <stdint.h>
+#define EMULATED_EDGE(depth) \
+void ff_emulated_edge_mc_ ## depth (uint8_t *buf, const uint8_t *src, ptrdiff_t linesize,\
+ int block_w, int block_h,\
+ int src_x, int src_y, int w, int h);
+
+EMULATED_EDGE(8)
+EMULATED_EDGE(16)
+
typedef struct VideoDSPContext {
/**
* Copy a rectangular area of samples to a temporary buffer and replicate