Home | History | Annotate | Download | only in float

Lines Matching refs:psEnc

37     silk_encoder_state_FLP          *psEnc,                             /* I/O  Encoder state FLP                           */
42 silk_shape_state_FLP *psShapeSt = &psEnc->sShape;
48 if( psEnc->sCmn.indices.signalType == TYPE_VOICED ) {
50 for( k = 0; k < psEnc->sCmn.nb_subfr; k++ ) {
56 InvMaxSqrVal = ( silk_float )( pow( 2.0f, 0.33f * ( 21.0f - psEnc->sCmn.SNR_dB_Q7 * ( 1 / 128.0f ) ) ) / psEnc->sCmn.subfr_length );
58 for( k = 0; k < psEnc->sCmn.nb_subfr; k++ ) {
66 for( k = 0; k < psEnc->sCmn.nb_subfr; k++ ) {
71 silk_memcpy( psEncCtrl->GainsUnq_Q16, pGains_Q16, psEnc->sCmn.nb_subfr * sizeof( opus_int32 ) );
75 silk_gains_quant( psEnc->sCmn.indices.GainsIndices, pGains_Q16,
76 &psShapeSt->LastGainIndex, condCoding == CODE_CONDITIONALLY, psEnc->sCmn.nb_subfr );
79 for( k = 0; k < psEnc->sCmn.nb_subfr; k++ ) {
84 if( psEnc->sCmn.indices.signalType == TYPE_VOICED ) {
85 if( psEncCtrl->LTPredCodGain + psEnc->sCmn.input_tilt_Q15 * ( 1.0f / 32768.0f ) > 1.0f ) {
86 psEnc->sCmn.indices.quantOffsetType = 0;
88 psEnc->sCmn.indices.quantOffsetType = 1;
93 quant_offset = silk_Quantization_Offsets_Q10[ psEnc->sCmn.indices.signalType >> 1 ][ psEnc->sCmn.indices.quantOffsetType ] / 1024.0f;
95 + LAMBDA_DELAYED_DECISIONS * psEnc->sCmn.nStatesDelayedDecision
96 + LAMBDA_SPEECH_ACT * psEnc->sCmn.speech_activity_Q8 * ( 1.0f / 256.0f )