summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2010-11-21 18:59:24 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2010-11-21 18:59:24 +0000
commit1aac58553cbc930d72f169991531e602a069b5c3 (patch)
tree31e96737488b10f70856256636729336d32e768d
parent3c83cea151dfe29cbd5feacbdc1834e26ad073d4 (diff)
downloadrockbox-1aac58553cbc930d72f169991531e602a069b5c3.zip
rockbox-1aac58553cbc930d72f169991531e602a069b5c3.tar.gz
rockbox-1aac58553cbc930d72f169991531e602a069b5c3.tar.bz2
rockbox-1aac58553cbc930d72f169991531e602a069b5c3.tar.xz
Comment unused function.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28634 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/codecs/libtremor/asm_arm.h4
-rw-r--r--apps/codecs/libtremor/asm_mcf5249.h5
-rw-r--r--apps/codecs/libtremor/misc.h4
3 files changed, 9 insertions, 4 deletions
diff --git a/apps/codecs/libtremor/asm_arm.h b/apps/codecs/libtremor/asm_arm.h
index 683de7b..6f38efc 100644
--- a/apps/codecs/libtremor/asm_arm.h
+++ b/apps/codecs/libtremor/asm_arm.h
@@ -216,7 +216,8 @@ static inline void vect_copy(ogg_int32_t *x, const ogg_int32_t *y, int n)
#endif
#endif
-
+/* not used anymore */
+/*
#ifndef _V_CLIP_MATH
#define _V_CLIP_MATH
@@ -234,6 +235,7 @@ static inline ogg_int32_t CLIP_TO_15(ogg_int32_t x) {
}
#endif
+*/
#ifndef _V_LSP_MATH_ASM
#define _V_LSP_MATH_ASM
diff --git a/apps/codecs/libtremor/asm_mcf5249.h b/apps/codecs/libtremor/asm_mcf5249.h
index b40a88a..c13255b 100644
--- a/apps/codecs/libtremor/asm_mcf5249.h
+++ b/apps/codecs/libtremor/asm_mcf5249.h
@@ -251,15 +251,16 @@ void vect_mult_bw(ogg_int32_t *data, LOOKUP_T *window, int n)
#endif
#endif
-
+/* not used anymore */
+/*
#ifndef _V_CLIP_MATH
#define _V_CLIP_MATH
-/* this is portable C and simple; why not use this as default? */
static inline ogg_int32_t CLIP_TO_15(register ogg_int32_t x) {
register ogg_int32_t hi=32767, lo=-32768;
return (x>=hi ? hi : (x<=lo ? lo : x));
}
#endif
+*/
#endif
diff --git a/apps/codecs/libtremor/misc.h b/apps/codecs/libtremor/misc.h
index a64a95d..6b67740 100644
--- a/apps/codecs/libtremor/misc.h
+++ b/apps/codecs/libtremor/misc.h
@@ -203,7 +203,8 @@ static inline void vect_copy(ogg_int32_t *x, const ogg_int32_t *y, int n)
#endif
#endif
-
+/* not used anymore */
+/*
#ifndef _V_CLIP_MATH
#define _V_CLIP_MATH
@@ -215,6 +216,7 @@ static inline ogg_int32_t CLIP_TO_15(ogg_int32_t x) {
}
#endif
+*/
static inline ogg_int32_t VFLOAT_MULT(ogg_int32_t a,ogg_int32_t ap,
ogg_int32_t b,ogg_int32_t bp,