Home | History | Annotate | Download | only in silk

Lines Matching defs:energy

211     /* Find the subframe with lowest energy of the last two and use that as random noise generator */
216 /* First sub-frame has lowest energy */
219 /* Second sub-frame has lowest energy */
374 opus_int32 energy;
379 /* Calculate energy in concealed residual */
386 silk_sum_sqr_shift( &energy, &energy_shift, frame, length );
392 energy = silk_RSHIFT( energy, psPLC->conc_energy_shift - energy_shift );
395 /* Fade in the energy difference */
396 if( energy > psPLC->conc_energy ) {
403 energy = silk_RSHIFT( energy, silk_max_32( 24 - LZ, 0 ) );
405 frac_Q24 = silk_DIV32( psPLC->conc_energy, silk_max( energy, 1 ) );