forked from len0rd/rockbox
Remove CLIP_TO_15 from codeclib. Remove tabs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24834 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
84a4a1d5cc
commit
28bc321dbb
4 changed files with 72 additions and 68 deletions
|
@ -221,7 +221,8 @@ void vect_mult_bw(int32_t *data, int32_t *window, int n)
|
|||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
/* not used anymore */
|
||||
/*
|
||||
#ifndef _V_CLIP_MATH
|
||||
#define _V_CLIP_MATH
|
||||
|
||||
|
@ -239,7 +240,7 @@ static inline int32_t CLIP_TO_15(int32_t x) {
|
|||
}
|
||||
|
||||
#endif
|
||||
|
||||
*/
|
||||
#ifndef _V_LSP_MATH_ASM
|
||||
#define _V_LSP_MATH_ASM
|
||||
|
||||
|
|
|
@ -325,17 +325,19 @@ void vect_mult_bw(int32_t *data, int32_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? */
|
||||
* this is portable C and simple; why not use this as default?
|
||||
static inline int32_t CLIP_TO_15(register int32_t x) {
|
||||
register int32_t hi=32767, lo=-32768;
|
||||
return (x>=hi ? hi : (x<=lo ? lo : x));
|
||||
}
|
||||
|
||||
#endif
|
||||
*/
|
||||
#else
|
||||
#define LINE_ATTR
|
||||
#endif
|
||||
|
|
|
@ -207,7 +207,8 @@ void vect_mult_bw(int32_t *data, int32_t *window, int n)
|
|||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
/* not used anymore */
|
||||
/*
|
||||
#ifndef _V_CLIP_MATH
|
||||
#define _V_CLIP_MATH
|
||||
|
||||
|
@ -219,7 +220,7 @@ static inline int32_t CLIP_TO_15(int32_t x) {
|
|||
}
|
||||
|
||||
#endif
|
||||
|
||||
*/
|
||||
static inline int32_t VFLOAT_MULT(int32_t a,int32_t ap,
|
||||
int32_t b,int32_t bp,
|
||||
int32_t *p){
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
*/
|
||||
|
||||
#ifdef ROCKBOX
|
||||
/* get definitions of MULT31, MULT31_SHIFT15, CLIP_TO_15, vect_add, from codelib */
|
||||
/* get definitions of MULT31, MULT31_SHIFT15, vect_add, from codelib */
|
||||
#include "asm_arm.h"
|
||||
#include "asm_mcf5249.h"
|
||||
#include "codeclib_misc.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue