123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- #ifndef SILK_FIX_RESAMPLER_ROM_H
- #define SILK_FIX_RESAMPLER_ROM_H
- #ifdef __cplusplus
- extern "C"
- {
- #endif
- #include "typedef.h"
- #include "resampler_structs.h"
- #define RESAMPLER_DOWN_ORDER_FIR0 18
- #define RESAMPLER_DOWN_ORDER_FIR1 24
- #define RESAMPLER_DOWN_ORDER_FIR2 36
- #define RESAMPLER_ORDER_FIR_12 8
- static const opus_int16 silk_resampler_down2_0 = 9872;
- static const opus_int16 silk_resampler_down2_1 = 39809 - 65536;
- static const opus_int16 silk_resampler_up2_hq_0[ 3 ] = { 1746, 14986, 39083 - 65536 };
- static const opus_int16 silk_resampler_up2_hq_1[ 3 ] = { 6854, 25769, 55542 - 65536 };
- extern const opus_int16 silk_Resampler_3_4_COEFS[ 2 + 3 * RESAMPLER_DOWN_ORDER_FIR0 / 2 ];
- extern const opus_int16 silk_Resampler_2_3_COEFS[ 2 + 2 * RESAMPLER_DOWN_ORDER_FIR0 / 2 ];
- extern const opus_int16 silk_Resampler_1_2_COEFS[ 2 + RESAMPLER_DOWN_ORDER_FIR1 / 2 ];
- extern const opus_int16 silk_Resampler_1_3_COEFS[ 2 + RESAMPLER_DOWN_ORDER_FIR2 / 2 ];
- extern const opus_int16 silk_Resampler_1_4_COEFS[ 2 + RESAMPLER_DOWN_ORDER_FIR2 / 2 ];
- extern const opus_int16 silk_Resampler_1_6_COEFS[ 2 + RESAMPLER_DOWN_ORDER_FIR2 / 2 ];
- extern const opus_int16 silk_Resampler_2_3_COEFS_LQ[ 2 + 2 * 2 ];
- extern const opus_int16 silk_resampler_frac_FIR_12[ 12 ][ RESAMPLER_ORDER_FIR_12 / 2 ];
- #ifdef __cplusplus
- }
- #endif
- #endif
|