| Index: silk/float/encode_frame_FLP.c
|
| diff --git a/silk/float/encode_frame_FLP.c b/silk/float/encode_frame_FLP.c
|
| index 3221686614f570e1afe4f52f8c82a0f9345bda1b..d54e2686e553010a5aeeddb381b81cdac789faf3 100644
|
| --- a/silk/float/encode_frame_FLP.c
|
| +++ b/silk/float/encode_frame_FLP.c
|
| @@ -33,7 +33,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
| #include "tuning_parameters.h"
|
|
|
| /* Low Bitrate Redundancy (LBRR) encoding. Reuse all parameters but encode with lower bitrate */
|
| -static inline void silk_LBRR_encode_FLP(
|
| +static OPUS_INLINE void silk_LBRR_encode_FLP(
|
| silk_encoder_state_FLP *psEnc, /* I/O Encoder state FLP */
|
| silk_encoder_control_FLP *psEncCtrl, /* I/O Encoder control FLP */
|
| const silk_float xfw[], /* I Input signal */
|
| @@ -129,7 +129,7 @@ opus_int silk_encode_frame_FLP(
|
| /*****************************************/
|
| /* Find pitch lags, initial LPC analysis */
|
| /*****************************************/
|
| - silk_find_pitch_lags_FLP( psEnc, &sEncCtrl, res_pitch, x_frame );
|
| + silk_find_pitch_lags_FLP( psEnc, &sEncCtrl, res_pitch, x_frame, psEnc->sCmn.arch );
|
|
|
| /************************/
|
| /* Noise shape analysis */
|
| @@ -294,10 +294,6 @@ opus_int silk_encode_frame_FLP(
|
| silk_memmove( psEnc->x_buf, &psEnc->x_buf[ psEnc->sCmn.frame_length ],
|
| ( psEnc->sCmn.ltp_mem_length + LA_SHAPE_MS * psEnc->sCmn.fs_kHz ) * sizeof( silk_float ) );
|
|
|
| - /* Parameters needed for next frame */
|
| - psEnc->sCmn.prevLag = sEncCtrl.pitchL[ psEnc->sCmn.nb_subfr - 1 ];
|
| - psEnc->sCmn.prevSignalType = psEnc->sCmn.indices.signalType;
|
| -
|
| /* Exit without entropy coding */
|
| if( psEnc->sCmn.prefillFlag ) {
|
| /* No payload */
|
| @@ -305,6 +301,10 @@ opus_int silk_encode_frame_FLP(
|
| return ret;
|
| }
|
|
|
| + /* Parameters needed for next frame */
|
| + psEnc->sCmn.prevLag = sEncCtrl.pitchL[ psEnc->sCmn.nb_subfr - 1 ];
|
| + psEnc->sCmn.prevSignalType = psEnc->sCmn.indices.signalType;
|
| +
|
| /****************************************/
|
| /* Finalize payload */
|
| /****************************************/
|
| @@ -316,7 +316,7 @@ opus_int silk_encode_frame_FLP(
|
| }
|
|
|
| /* Low-Bitrate Redundancy (LBRR) encoding. Reuse all parameters but encode excitation at lower bitrate */
|
| -static inline void silk_LBRR_encode_FLP(
|
| +static OPUS_INLINE void silk_LBRR_encode_FLP(
|
| silk_encoder_state_FLP *psEnc, /* I/O Encoder state FLP */
|
| silk_encoder_control_FLP *psEncCtrl, /* I/O Encoder control FLP */
|
| const silk_float xfw[], /* I Input signal */
|
|
|