summaryrefslogtreecommitdiff
path: root/libavcodec/dsputil.h
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2013-02-07 22:39:26 +0100
committerDiego Biurrun <diego@biurrun.de>2013-02-08 23:10:17 +0100
commit059866eb17cd3c66422a61d3e9c3305f55830a50 (patch)
tree11bf209e3e037acef9813f07b4eac0c3bc85fbe6 /libavcodec/dsputil.h
parentbf6b3ec924b4fb64d14df33077f4d4541d525dbf (diff)
dsputil: Move WRAPPER8_16_SQ macro to the only place it is used
Diffstat (limited to 'libavcodec/dsputil.h')
-rw-r--r--libavcodec/dsputil.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/libavcodec/dsputil.h b/libavcodec/dsputil.h
index 70e2489d32..e4568ab453 100644
--- a/libavcodec/dsputil.h
+++ b/libavcodec/dsputil.h
@@ -443,18 +443,4 @@ void ff_dsputil_init_vis(DSPContext* c, AVCodecContext *avctx);
# define LOCAL_ALIGNED_16(t, v, ...) LOCAL_ALIGNED(16, t, v, __VA_ARGS__)
#endif
-#define WRAPPER8_16_SQ(name8, name16)\
-static int name16(void /*MpegEncContext*/ *s, uint8_t *dst, uint8_t *src, int stride, int h){\
- int score=0;\
- score +=name8(s, dst , src , stride, 8);\
- score +=name8(s, dst+8 , src+8 , stride, 8);\
- if(h==16){\
- dst += 8*stride;\
- src += 8*stride;\
- score +=name8(s, dst , src , stride, 8);\
- score +=name8(s, dst+8 , src+8 , stride, 8);\
- }\
- return score;\
-}
-
#endif /* AVCODEC_DSPUTIL_H */