summaryrefslogtreecommitdiff
path: root/lib/rbcodec/codecs/libopus/silk/resampler_rom.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rbcodec/codecs/libopus/silk/resampler_rom.c')
-rw-r--r--lib/rbcodec/codecs/libopus/silk/resampler_rom.c54
1 files changed, 27 insertions, 27 deletions
diff --git a/lib/rbcodec/codecs/libopus/silk/resampler_rom.c b/lib/rbcodec/codecs/libopus/silk/resampler_rom.c
index 2d502706f9..5e6b04476a 100644
--- a/lib/rbcodec/codecs/libopus/silk/resampler_rom.c
+++ b/lib/rbcodec/codecs/libopus/silk/resampler_rom.c
@@ -41,36 +41,36 @@ POSSIBILITY OF SUCH DAMAGE.
41 41
42/* Tables with IIR and FIR coefficients for fractional downsamplers (123 Words) */ 42/* Tables with IIR and FIR coefficients for fractional downsamplers (123 Words) */
43silk_DWORD_ALIGN const opus_int16 silk_Resampler_3_4_COEFS[ 2 + 3 * RESAMPLER_DOWN_ORDER_FIR0 / 2 ] = { 43silk_DWORD_ALIGN const opus_int16 silk_Resampler_3_4_COEFS[ 2 + 3 * RESAMPLER_DOWN_ORDER_FIR0 / 2 ] = {
44 -20694, -13867, 44 -20694, -13867,
45 -49, 64, 17, -157, 353, -496, 163, 11047, 22205, 45 -49, 64, 17, -157, 353, -496, 163, 11047, 22205,
46 -39, 6, 91, -170, 186, 23, -896, 6336, 19928, 46 -39, 6, 91, -170, 186, 23, -896, 6336, 19928,
47 -19, -36, 102, -89, -24, 328, -951, 2568, 15909, 47 -19, -36, 102, -89, -24, 328, -951, 2568, 15909,
48}; 48};
49 49
50silk_DWORD_ALIGN const opus_int16 silk_Resampler_2_3_COEFS[ 2 + 2 * RESAMPLER_DOWN_ORDER_FIR0 / 2 ] = { 50silk_DWORD_ALIGN const opus_int16 silk_Resampler_2_3_COEFS[ 2 + 2 * RESAMPLER_DOWN_ORDER_FIR0 / 2 ] = {
51 -14457, -14019, 51 -14457, -14019,
52 64, 128, -122, 36, 310, -768, 584, 9267, 17733, 52 64, 128, -122, 36, 310, -768, 584, 9267, 17733,
53 12, 128, 18, -142, 288, -117, -865, 4123, 14459, 53 12, 128, 18, -142, 288, -117, -865, 4123, 14459,
54}; 54};
55 55
56silk_DWORD_ALIGN const opus_int16 silk_Resampler_1_2_COEFS[ 2 + RESAMPLER_DOWN_ORDER_FIR1 / 2 ] = { 56silk_DWORD_ALIGN const opus_int16 silk_Resampler_1_2_COEFS[ 2 + RESAMPLER_DOWN_ORDER_FIR1 / 2 ] = {
57 616, -14323, 57 616, -14323,
58 -10, 39, 58, -46, -84, 120, 184, -315, -541, 1284, 5380, 9024, 58 -10, 39, 58, -46, -84, 120, 184, -315, -541, 1284, 5380, 9024,
59}; 59};
60 60
61silk_DWORD_ALIGN const opus_int16 silk_Resampler_1_3_COEFS[ 2 + RESAMPLER_DOWN_ORDER_FIR2 / 2 ] = { 61silk_DWORD_ALIGN const opus_int16 silk_Resampler_1_3_COEFS[ 2 + RESAMPLER_DOWN_ORDER_FIR2 / 2 ] = {
62 16102, -15162, 62 16102, -15162,
63 -13, 0, 20, 26, 5, -31, -43, -4, 65, 90, 7, -157, -248, -44, 593, 1583, 2612, 3271, 63 -13, 0, 20, 26, 5, -31, -43, -4, 65, 90, 7, -157, -248, -44, 593, 1583, 2612, 3271,
64}; 64};
65 65
66silk_DWORD_ALIGN const opus_int16 silk_Resampler_1_4_COEFS[ 2 + RESAMPLER_DOWN_ORDER_FIR2 / 2 ] = { 66silk_DWORD_ALIGN const opus_int16 silk_Resampler_1_4_COEFS[ 2 + RESAMPLER_DOWN_ORDER_FIR2 / 2 ] = {
67 22500, -15099, 67 22500, -15099,
68 3, -14, -20, -15, 2, 25, 37, 25, -16, -71, -107, -79, 50, 292, 623, 982, 1288, 1464, 68 3, -14, -20, -15, 2, 25, 37, 25, -16, -71, -107, -79, 50, 292, 623, 982, 1288, 1464,
69}; 69};
70 70
71silk_DWORD_ALIGN const opus_int16 silk_Resampler_1_6_COEFS[ 2 + RESAMPLER_DOWN_ORDER_FIR2 / 2 ] = { 71silk_DWORD_ALIGN const opus_int16 silk_Resampler_1_6_COEFS[ 2 + RESAMPLER_DOWN_ORDER_FIR2 / 2 ] = {
72 27540, -15257, 72 27540, -15257,
73 17, 12, 8, 1, -10, -22, -30, -32, -22, 3, 44, 100, 168, 243, 317, 381, 429, 455, 73 17, 12, 8, 1, -10, -22, -30, -32, -22, 3, 44, 100, 168, 243, 317, 381, 429, 455,
74}; 74};
75 75
76silk_DWORD_ALIGN const opus_int16 silk_Resampler_2_3_COEFS_LQ[ 2 + 2 * 2 ] = { 76silk_DWORD_ALIGN const opus_int16 silk_Resampler_2_3_COEFS_LQ[ 2 + 2 * 2 ] = {
@@ -81,16 +81,16 @@ silk_DWORD_ALIGN const opus_int16 silk_Resampler_2_3_COEFS_LQ[ 2 + 2 * 2 ] = {
81 81
82/* Table with interplation fractions of 1/24, 3/24, 5/24, ... , 23/24 : 23/24 (46 Words) */ 82/* Table with interplation fractions of 1/24, 3/24, 5/24, ... , 23/24 : 23/24 (46 Words) */
83silk_DWORD_ALIGN const opus_int16 silk_resampler_frac_FIR_12[ 12 ][ RESAMPLER_ORDER_FIR_12 / 2 ] = { 83silk_DWORD_ALIGN const opus_int16 silk_resampler_frac_FIR_12[ 12 ][ RESAMPLER_ORDER_FIR_12 / 2 ] = {
84 { 189, -600, 617, 30567 }, 84 { 189, -600, 617, 30567 },
85 { 117, -159, -1070, 29704 }, 85 { 117, -159, -1070, 29704 },
86 { 52, 221, -2392, 28276 }, 86 { 52, 221, -2392, 28276 },
87 { -4, 529, -3350, 26341 }, 87 { -4, 529, -3350, 26341 },
88 { -48, 758, -3956, 23973 }, 88 { -48, 758, -3956, 23973 },
89 { -80, 905, -4235, 21254 }, 89 { -80, 905, -4235, 21254 },
90 { -99, 972, -4222, 18278 }, 90 { -99, 972, -4222, 18278 },
91 { -107, 967, -3957, 15143 }, 91 { -107, 967, -3957, 15143 },
92 { -103, 896, -3487, 11950 }, 92 { -103, 896, -3487, 11950 },
93 { -91, 773, -2865, 8798 }, 93 { -91, 773, -2865, 8798 },
94 { -71, 611, -2143, 5784 }, 94 { -71, 611, -2143, 5784 },
95 { -46, 425, -1375, 2996 }, 95 { -46, 425, -1375, 2996 },
96}; 96};