diff options
Diffstat (limited to 'libswresample/rematrix_template.c')
-rw-r--r-- | libswresample/rematrix_template.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libswresample/rematrix_template.c b/libswresample/rematrix_template.c index ecdeab3460..214d905076 100644 --- a/libswresample/rematrix_template.c +++ b/libswresample/rematrix_template.c @@ -36,6 +36,12 @@ # define COEFF int # define INTER int # define RENAME(x) x ## _s16 +#elif defined(TEMPLATE_REMATRIX_S32) +# define R(x) (((x) + 16384)>>15) +# define SAMPLE int32_t +# define COEFF int +# define INTER int64_t +# define RENAME(x) x ## _s32 #endif typedef void (RENAME(mix_any_func_type))(SAMPLE **out, const SAMPLE **in1, COEFF *coeffp, integer len); |