diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2016-08-18 01:07:32 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-09-27 12:53:25 +0200 |
commit | 740f5105d5bdc6c9bab1a6aa0ccd3a3362d12daf (patch) | |
tree | e2a3f2caf951d65bc0e410e403790a51c7236621 /libswresample/swresample_internal.h | |
parent | dcc506a91e7745fc0e4d07e05ff8a13ee75ced41 (diff) |
swresample: Use double and float for matrixes for best quality and speed
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libswresample/swresample_internal.h')
-rw-r--r-- | libswresample/swresample_internal.h | 3 |
1 files changed, 2 insertions, 1 deletions
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; |