diff options
author | William Wilgus <me.theuser@yahoo.com> | 2019-01-04 02:01:18 -0600 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2021-04-23 14:23:04 +0000 |
commit | 14c6bb798d6bebc80f07e863236adbaf8d156a9c (patch) | |
tree | 551a4b641906c2626af844fa3239c1b2b1ff0ad3 /lib/rbcodec/codecs/libopus/silk/decode_parameters.c | |
parent | 75d93937965ec4df70d37df6d4feea04577c996b (diff) | |
download | rockbox-14c6bb798d6bebc80f07e863236adbaf8d156a9c.tar.gz rockbox-14c6bb798d6bebc80f07e863236adbaf8d156a9c.zip |
Sync opus codec to upstream git
Change-Id: I0cfcc0005c4ad7bfbb1aaf454188ce70fb043dc1
Diffstat (limited to 'lib/rbcodec/codecs/libopus/silk/decode_parameters.c')
-rw-r--r-- | lib/rbcodec/codecs/libopus/silk/decode_parameters.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rbcodec/codecs/libopus/silk/decode_parameters.c b/lib/rbcodec/codecs/libopus/silk/decode_parameters.c index e345b1dcef..a56a409858 100644 --- a/lib/rbcodec/codecs/libopus/silk/decode_parameters.c +++ b/lib/rbcodec/codecs/libopus/silk/decode_parameters.c | |||
@@ -52,7 +52,7 @@ void silk_decode_parameters( | |||
52 | silk_NLSF_decode( pNLSF_Q15, psDec->indices.NLSFIndices, psDec->psNLSF_CB ); | 52 | silk_NLSF_decode( pNLSF_Q15, psDec->indices.NLSFIndices, psDec->psNLSF_CB ); |
53 | 53 | ||
54 | /* Convert NLSF parameters to AR prediction filter coefficients */ | 54 | /* Convert NLSF parameters to AR prediction filter coefficients */ |
55 | silk_NLSF2A( psDecCtrl->PredCoef_Q12[ 1 ], pNLSF_Q15, psDec->LPC_order ); | 55 | silk_NLSF2A( psDecCtrl->PredCoef_Q12[ 1 ], pNLSF_Q15, psDec->LPC_order, psDec->arch ); |
56 | 56 | ||
57 | /* If just reset, e.g., because internal Fs changed, do not allow interpolation */ | 57 | /* If just reset, e.g., because internal Fs changed, do not allow interpolation */ |
58 | /* improves the case of packet loss in the first frame after a switch */ | 58 | /* improves the case of packet loss in the first frame after a switch */ |
@@ -69,7 +69,7 @@ void silk_decode_parameters( | |||
69 | } | 69 | } |
70 | 70 | ||
71 | /* Convert NLSF parameters to AR prediction filter coefficients */ | 71 | /* Convert NLSF parameters to AR prediction filter coefficients */ |
72 | silk_NLSF2A( psDecCtrl->PredCoef_Q12[ 0 ], pNLSF0_Q15, psDec->LPC_order ); | 72 | silk_NLSF2A( psDecCtrl->PredCoef_Q12[ 0 ], pNLSF0_Q15, psDec->LPC_order, psDec->arch ); |
73 | } else { | 73 | } else { |
74 | /* Copy LPC coefficients for first half from second half */ | 74 | /* Copy LPC coefficients for first half from second half */ |
75 | silk_memcpy( psDecCtrl->PredCoef_Q12[ 0 ], psDecCtrl->PredCoef_Q12[ 1 ], psDec->LPC_order * sizeof( opus_int16 ) ); | 75 | silk_memcpy( psDecCtrl->PredCoef_Q12[ 0 ], psDecCtrl->PredCoef_Q12[ 1 ], psDec->LPC_order * sizeof( opus_int16 ) ); |