Lines Matching refs:ener
912 static void correlation(int32_t *corr, int32_t *ener, int16_t *buffer, in correlation() argument
920 *ener = scale_dot_product(w16ptr, w16ptr, srange, scale); in correlation()
922 if (*ener == 0) { in correlation()
924 *ener = 1; in correlation()
959 int32_t cross, ener, cross_comp, ener_comp = 0; in do_plc() local
1008 correlation(&cross, &ener, s->prevResidual, lag, s->block_samples, corrLen, scale3); in do_plc()
1023 shift2 = get_size_in_bits(ener) - 15; in do_plc()
1024 measure = SPL_MUL_16_16(SPL_SHIFT_W32(ener, -shift2), cross_square); in do_plc()
1045 ener = ener_comp; in do_plc()
1066 scale2 = norm_w32(ener) - 16; in do_plc()
1067 tmp2 = SPL_SHIFT_W32(ener, scale2); in do_plc()