mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-19 22:10:34 +00:00
swr: remove unused ONE define.
This commit is contained in:
parent
9ef29af2e8
commit
2273b3aaf9
@ -19,21 +19,18 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#if defined(TEMPLATE_REMATRIX_FLT)
|
#if defined(TEMPLATE_REMATRIX_FLT)
|
||||||
# define ONE (1.0)
|
|
||||||
# define R(x) x
|
# define R(x) x
|
||||||
# define SAMPLE float
|
# define SAMPLE float
|
||||||
# define COEFF float
|
# define COEFF float
|
||||||
# define INTER float
|
# define INTER float
|
||||||
# define RENAME(x) x ## _float
|
# define RENAME(x) x ## _float
|
||||||
#elif defined(TEMPLATE_REMATRIX_DBL)
|
#elif defined(TEMPLATE_REMATRIX_DBL)
|
||||||
# define ONE (1.0)
|
|
||||||
# define R(x) x
|
# define R(x) x
|
||||||
# define SAMPLE double
|
# define SAMPLE double
|
||||||
# define COEFF double
|
# define COEFF double
|
||||||
# define INTER double
|
# define INTER double
|
||||||
# define RENAME(x) x ## _double
|
# define RENAME(x) x ## _double
|
||||||
#elif defined(TEMPLATE_REMATRIX_S16)
|
#elif defined(TEMPLATE_REMATRIX_S16)
|
||||||
# define ONE (-32768)
|
|
||||||
# define R(x) (((x) + 16384)>>15)
|
# define R(x) (((x) + 16384)>>15)
|
||||||
# define SAMPLE int16_t
|
# define SAMPLE int16_t
|
||||||
# define COEFF int
|
# define COEFF int
|
||||||
@ -96,7 +93,6 @@ static RENAME(mix_any_func_type) *RENAME(get_mix_any_func)(SwrContext *s){
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
#undef ONE
|
|
||||||
#undef R
|
#undef R
|
||||||
#undef SAMPLE
|
#undef SAMPLE
|
||||||
#undef COEFF
|
#undef COEFF
|
||||||
|
Loading…
Reference in New Issue
Block a user