From 381085f105be9f023cf13dea9c5eeb9689819c6d Mon Sep 17 00:00:00 2001 From: Buschel Date: Sun, 21 Nov 2010 18:59:24 +0000 Subject: [PATCH] Comment unused function. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28634 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs/libtremor/asm_arm.h | 4 +++- apps/codecs/libtremor/asm_mcf5249.h | 5 +++-- apps/codecs/libtremor/misc.h | 4 +++- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/apps/codecs/libtremor/asm_arm.h b/apps/codecs/libtremor/asm_arm.h index 683de7bf6..6f38efcd4 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 b40a88a37..c13255b93 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 a64a95d13..6b67740b0 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, -- 2.11.4.GIT