summaryrefslogtreecommitdiff
path: root/apps/codecs/libwma/dsputil.h
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2007-07-04 20:45:00 +0000
committerDave Chapman <dave@dchapman.com>2007-07-04 20:45:00 +0000
commit9b96d66621ce0a7266df2f232b60683248d532e8 (patch)
tree877bfb511b11297a554c449c330c6fdd387d6046 /apps/codecs/libwma/dsputil.h
parentba3f4ed565ed9fdfb696f44193958e68d6acc19f (diff)
downloadrockbox-9b96d66621ce0a7266df2f232b60683248d532e8.tar.gz
rockbox-9b96d66621ce0a7266df2f232b60683248d532e8.zip
Yet more dead code removal
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13789 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libwma/dsputil.h')
-rw-r--r--apps/codecs/libwma/dsputil.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/apps/codecs/libwma/dsputil.h b/apps/codecs/libwma/dsputil.h
index a5b2af3039..794af1e285 100644
--- a/apps/codecs/libwma/dsputil.h
+++ b/apps/codecs/libwma/dsputil.h
@@ -30,8 +30,6 @@
30 30
31#include "common.h" 31#include "common.h"
32 32
33//#define DEBUG
34
35void dsputil_static_init(void); 33void dsputil_static_init(void);
36 34
37/* FFT computation */ 35/* FFT computation */
@@ -83,24 +81,4 @@ void ff_mdct_calc(MDCTContext *s, FFTSample *out,
83 const FFTSample *input, FFTSample *tmp); 81 const FFTSample *input, FFTSample *tmp);
84void ff_mdct_end(MDCTContext *s); 82void ff_mdct_end(MDCTContext *s);
85 83
86#define WARPER8_16(name8, name16)\
87static int name16(void /*MpegEncContext*/ *s, uint8_t *dst, uint8_t *src, int stride, int h){\
88 return name8(s, dst , src , stride, h)\
89 +name8(s, dst+8 , src+8 , stride, h);\
90}
91
92#define WARPER8_16_SQ(name8, name16)\
93static int name16(void /*MpegEncContext*/ *s, uint8_t *dst, uint8_t *src, int stride, int h){\
94 int score=0;\
95 score +=name8(s, dst , src , stride, 8);\
96 score +=name8(s, dst+8 , src+8 , stride, 8);\
97 if(h==16){\
98 dst += 8*stride;\
99 src += 8*stride;\
100 score +=name8(s, dst , src , stride, 8);\
101 score +=name8(s, dst+8 , src+8 , stride, 8);\
102 }\
103 return score;\
104}
105
106#endif 84#endif