Lines Matching refs:NL
63 psSilk_VAD->NL[ b ] = silk_MUL( 100, psSilk_VAD->NoiseLevelBias[ b ] );
64 psSilk_VAD->inv_NL[ b ] = silk_DIV32( silk_int32_MAX, psSilk_VAD->NL[ b ] );
204 speech_nrg = Xnrg[ b ] - psSilk_VAD->NL[ b ];
208 NrgToNoiseRatio_Q8[ b ] = silk_DIV32( silk_LSHIFT( Xnrg[ b ], 8 ), psSilk_VAD->NL[ b ] + 1 );
210 NrgToNoiseRatio_Q8[ b ] = silk_DIV32( Xnrg[ b ], silk_RSHIFT( psSilk_VAD->NL[ b ], 8 ) + 1 );
252 speech_nrg += ( b + 1 ) * silk_RSHIFT( Xnrg[ b ] - psSilk_VAD->NL[ b ], 4 );
310 opus_int32 nl, nrg, inv_nrg;
322 nl = psSilk_VAD->NL[ k ];
323 silk_assert( nl >= 0 );
334 if( nrg > silk_LSHIFT( nl, 3 ) ) {
336 } else if( nrg < nl ) {
339 coef = silk_SMULWB( silk_SMULWW( inv_nrg, nl ), VAD_NOISE_LEVEL_SMOOTH_COEF_Q16 << 1 );
350 nl = silk_DIV32( silk_int32_MAX, psSilk_VAD->inv_NL[ k ] );
351 silk_assert( nl >= 0 );
354 nl = silk_min( nl, 0x00FFFFFF );
357 psSilk_VAD->NL[ k ] = nl;