Lines Matching refs:psEnc
37 …silk_encoder_state_FIX *psEnc, /* I/O Encoder state … in silk_process_gains_FIX() argument
42 silk_shape_state_FIX *psShapeSt = &psEnc->sShape; in silk_process_gains_FIX()
47 if( psEnc->sCmn.indices.signalType == TYPE_VOICED ) { in silk_process_gains_FIX()
50 for( k = 0; k < psEnc->sCmn.nb_subfr; k++ ) { in silk_process_gains_FIX()
58 …SMULWB( SILK_FIX_CONST( 21 + 16 / 0.33, 7 ) - psEnc->sCmn.SNR_dB_Q7, SILK_FIX_CONST( 0.33, 16 ) ) … in silk_process_gains_FIX()
60 for( k = 0; k < psEnc->sCmn.nb_subfr; k++ ) { 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()
94 silk_gains_quant( psEnc->sCmn.indices.GainsIndices, psEncCtrl->Gains_Q16, in silk_process_gains_FIX()
95 &psShapeSt->LastGainIndex, condCoding == CODE_CONDITIONALLY, psEnc->sCmn.nb_subfr ); in silk_process_gains_FIX()
98 if( psEnc->sCmn.indices.signalType == TYPE_VOICED ) { 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()
100 psEnc->sCmn.indices.quantOffsetType = 0; in silk_process_gains_FIX()
102 psEnc->sCmn.indices.quantOffsetType = 1; in silk_process_gains_FIX()
107 …quant_offset_Q10 = silk_Quantization_Offsets_Q10[ psEnc->sCmn.indices.signalType >> 1 ][ psEnc->sC… in silk_process_gains_FIX()
109 …+ silk_SMULBB( SILK_FIX_CONST( LAMBDA_DELAYED_DECISIONS, 10 ), psEnc->sCmn.nStatesDelayedDecision ) in silk_process_gains_FIX()
110 …+ silk_SMULWB( SILK_FIX_CONST( LAMBDA_SPEECH_ACT, 18 ), psEnc->sCmn.speech_activity_Q8 ) in silk_process_gains_FIX()