Home | History | Annotate | Download | only in silk

Lines Matching refs:Xnrg

92     opus_int32 Xnrg[ VAD_N_BANDS ];
164 Xnrg[ b ] = psSilk_VAD->XnrgSubfr[ b ];
180 Xnrg[ b ] = silk_ADD_POS_SAT32( Xnrg[ b ], sumSquared );
183 Xnrg[ b ] = silk_ADD_POS_SAT32( Xnrg[ b ], silk_RSHIFT( sumSquared, 1 ) );
194 silk_VAD_GetNoiseLevels( &Xnrg[ 0 ], psSilk_VAD );
202 speech_nrg = Xnrg[ b ] - psSilk_VAD->NL[ b ];
205 if( ( Xnrg[ b ] & 0xFF800000 ) == 0 ) {
206 NrgToNoiseRatio_Q8[ b ] = silk_DIV32( silk_LSHIFT( Xnrg[ b ], 8 ), psSilk_VAD->NL[ b ] + 1 );
208 NrgToNoiseRatio_Q8[ b ] = silk_DIV32( Xnrg[ b ], silk_RSHIFT( psSilk_VAD->NL[ b ], 8 ) + 1 );
250 speech_nrg += ( b + 1 ) * silk_RSHIFT( Xnrg[ b ] - psSilk_VAD->NL[ b ], 4 );