From 740f5105d5bdc6c9bab1a6aa0ccd3a3362d12daf Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 18 Aug 2016 01:07:32 +0200 Subject: swresample: Use double and float for matrixes for best quality and speed Signed-off-by: Michael Niedermayer --- libswresample/swresample_internal.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libswresample/swresample_internal.h') diff --git a/libswresample/swresample_internal.h b/libswresample/swresample_internal.h index 88dbc863da..f2ea5a226d 100644 --- a/libswresample/swresample_internal.h +++ b/libswresample/swresample_internal.h @@ -168,7 +168,8 @@ struct SwrContext { struct ResampleContext *resample; ///< resampling context struct Resampler const *resampler; ///< resampler virtual function table - float matrix[SWR_CH_MAX][SWR_CH_MAX]; ///< floating point rematrixing coefficients + double matrix[SWR_CH_MAX][SWR_CH_MAX]; ///< floating point rematrixing coefficients + float matrix_flt[SWR_CH_MAX][SWR_CH_MAX]; ///< single precision floating point rematrixing coefficients uint8_t *native_matrix; uint8_t *native_one; uint8_t *native_simd_one; -- cgit v1.2.3