Lines Matching refs:psEncCtrl
38 …silk_encoder_control_FIX *psEncCtrl, /* I/O Encoder control … in silk_process_gains_FIX() argument
49 …s_Q16 = -silk_sigm_Q15( silk_RSHIFT_ROUND( psEncCtrl->LTPredCodGain_Q7 - SILK_FIX_CONST( 12.0, 7 )… in silk_process_gains_FIX()
51 …psEncCtrl->Gains_Q16[ k ] = silk_SMLAWB( psEncCtrl->Gains_Q16[ k ], psEncCtrl->Gains_Q16[ k ], s_Q… in silk_process_gains_FIX()
62 ResNrg = psEncCtrl->ResNrg[ k ]; in silk_process_gains_FIX()
64 if( psEncCtrl->ResNrgQ[ k ] > 0 ) { in silk_process_gains_FIX()
65 ResNrgPart = silk_RSHIFT_ROUND( ResNrgPart, psEncCtrl->ResNrgQ[ k ] ); in silk_process_gains_FIX()
67 if( ResNrgPart >= silk_RSHIFT( silk_int32_MAX, -psEncCtrl->ResNrgQ[ k ] ) ) { in silk_process_gains_FIX()
70 ResNrgPart = silk_LSHIFT( ResNrgPart, -psEncCtrl->ResNrgQ[ k ] ); in silk_process_gains_FIX()
73 gain = psEncCtrl->Gains_Q16[ k ]; in silk_process_gains_FIX()
81 psEncCtrl->Gains_Q16[ k ] = silk_LSHIFT_SAT32( gain, 8 ); /* Q16 */ in silk_process_gains_FIX()
85 psEncCtrl->Gains_Q16[ k ] = silk_LSHIFT_SAT32( gain, 16 ); /* Q16 */ in silk_process_gains_FIX()
90 …silk_memcpy( psEncCtrl->GainsUnq_Q16, psEncCtrl->Gains_Q16, psEnc->sCmn.nb_subfr * sizeof( opus_in… in silk_process_gains_FIX()
91 psEncCtrl->lastGainIndexPrev = psShapeSt->LastGainIndex; in silk_process_gains_FIX()
94 silk_gains_quant( psEnc->sCmn.indices.GainsIndices, psEncCtrl->Gains_Q16, in silk_process_gains_FIX()
99 …if( psEncCtrl->LTPredCodGain_Q7 + silk_RSHIFT( psEnc->sCmn.input_tilt_Q15, 8 ) > SILK_FIX_CONST( 1… in silk_process_gains_FIX()
108 psEncCtrl->Lambda_Q10 = SILK_FIX_CONST( LAMBDA_OFFSET, 10 ) in silk_process_gains_FIX()
111 …+ silk_SMULWB( SILK_FIX_CONST( LAMBDA_INPUT_QUALITY, 12 ), psEncCtrl->input_quality_Q14 ) in silk_process_gains_FIX()
112 …+ silk_SMULWB( SILK_FIX_CONST( LAMBDA_CODING_QUALITY, 12 ), psEncCtrl->coding_quality_Q14 ) in silk_process_gains_FIX()
115 silk_assert( psEncCtrl->Lambda_Q10 > 0 ); in silk_process_gains_FIX()
116 silk_assert( psEncCtrl->Lambda_Q10 < SILK_FIX_CONST( 2, 10 ) ); in silk_process_gains_FIX()