Lines Matching refs:nrg
44 opus_int32 nrg_tmp, nrg; in silk_sum_sqr_shift() local
46 nrg = 0; in silk_sum_sqr_shift()
50 nrg = silk_SMLABB_ovflw( nrg, x[ i ], x[ i ] ); in silk_sum_sqr_shift()
51 nrg = silk_SMLABB_ovflw( nrg, x[ i + 1 ], x[ i + 1 ] ); in silk_sum_sqr_shift()
52 if( nrg < 0 ) { in silk_sum_sqr_shift()
54 nrg = (opus_int32)silk_RSHIFT_uint( (opus_uint32)nrg, 2 ); in silk_sum_sqr_shift()
62 nrg = (opus_int32)silk_ADD_RSHIFT_uint( nrg, (opus_uint32)nrg_tmp, shft ); in silk_sum_sqr_shift()
63 if( nrg < 0 ) { in silk_sum_sqr_shift()
65 nrg = (opus_int32)silk_RSHIFT_uint( (opus_uint32)nrg, 2 ); in silk_sum_sqr_shift()
72 nrg = (opus_int32)silk_ADD_RSHIFT_uint( nrg, nrg_tmp, shft ); in silk_sum_sqr_shift()
76 if( nrg & 0xC0000000 ) { in silk_sum_sqr_shift()
77 nrg = silk_RSHIFT_uint( (opus_uint32)nrg, 2 ); in silk_sum_sqr_shift()
83 *energy = nrg; in silk_sum_sqr_shift()