summaryrefslogtreecommitdiff
path: root/libavcodec/rnd_avg.h
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2013-12-21 17:33:17 +0100
committerDiego Biurrun <diego@biurrun.de>2014-03-22 06:17:29 -0700
commit322a1dda973e802db7b57f2007fad3efcd5bab81 (patch)
treeb90c1ebb0502547287ecf732e122c7dd810dfec8 /libavcodec/rnd_avg.h
parentf9279ee74936b4990fc46287c27816ef828cc06c (diff)
downloadffmpeg-322a1dda973e802db7b57f2007fad3efcd5bab81.tar.gz
dsputil: Refactor duplicated CALL_2X_PIXELS / PIXELS16 macros
Diffstat (limited to 'libavcodec/rnd_avg.h')
-rw-r--r--libavcodec/rnd_avg.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/libavcodec/rnd_avg.h b/libavcodec/rnd_avg.h
index 8feac286c0..412cda5203 100644
--- a/libavcodec/rnd_avg.h
+++ b/libavcodec/rnd_avg.h
@@ -22,14 +22,6 @@
#include <stddef.h>
#include <stdint.h>
-#define CALL_2X_PIXELS(a, b, n) \
-static void a(uint8_t *block, const uint8_t *pixels, \
- ptrdiff_t line_size, int h) \
-{ \
- b(block, pixels, line_size, h); \
- b(block + n, pixels + n, line_size, h); \
-}
-
#define BYTE_VEC32(c) ((c) * 0x01010101UL)
#define BYTE_VEC64(c) ((c) * 0x0001000100010001UL)