[FFmpeg-cvslog] sh4: drop unused functions

Luca Barbato git at videolan.org
Wed Feb 6 14:51:46 CET 2013


ffmpeg | branch: master | Luca Barbato <lu_zero at gentoo.org> | Tue Feb  5 22:56:24 2013 +0100| [b2a722a87e3b3a6a7cda067a3481458c236ab18a] | committer: Luca Barbato

sh4: drop unused functions

{avg,put}_pixels4_c are not used.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b2a722a87e3b3a6a7cda067a3481458c236ab18a
---

 libavcodec/sh4/dsputil_align.c |   28 ----------------------------
 1 file changed, 28 deletions(-)

diff --git a/libavcodec/sh4/dsputil_align.c b/libavcodec/sh4/dsputil_align.c
index 2ca4559..91b34a3 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; \



More information about the ffmpeg-cvslog mailing list