From b2a722a87e3b3a6a7cda067a3481458c236ab18a Mon Sep 17 00:00:00 2001 From: Luca Barbato Date: Tue, 5 Feb 2013 22:56:24 +0100 Subject: sh4: drop unused functions {avg,put}_pixels4_c are not used. --- libavcodec/sh4/dsputil_align.c | 28 ---------------------------- 1 file changed, 28 deletions(-) (limited to 'libavcodec/sh4') diff --git a/libavcodec/sh4/dsputil_align.c b/libavcodec/sh4/dsputil_align.c index 2ca4559dde..91b34a3838 100644 --- a/libavcodec/sh4/dsputil_align.c +++ b/libavcodec/sh4/dsputil_align.c @@ -65,34 +65,6 @@ dest+=stride; \ } while(--height) - -#define OP put - -static void put_pixels4_c(uint8_t *dest,const uint8_t *ref, const int stride,int height) -{ - switch((int)ref&3){ - case 0: OP_C40(); return; - case 1: OP_C4(1); return; - case 2: OP_C4(2); return; - case 3: OP_C4(3); return; - } -} - -#undef OP -#define OP avg - -static void avg_pixels4_c(uint8_t *dest,const uint8_t *ref, const int stride,int height) -{ - switch((int)ref&3){ - case 0: OP_C40(); return; - case 1: OP_C4(1); return; - case 2: OP_C4(2); return; - case 3: OP_C4(3); return; - } -} - -#undef OP - #define OP_C(ofs,sz,avg2) \ { \ ref-=ofs; \ -- cgit v1.2.3