Home
last modified time | relevance | path

Searched refs:ener (Results 1 – 3 of 3) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dg729postfilter.c123 int ener; in long_term_filter() local
164 ener = adsp->scalarproduct_int16(sig_scaled + RES_PREV_DATA_SIZE, in long_term_filter()
167 if (ener) { in long_term_filter()
168 sh_ener = av_log2(ener) - 14; in long_term_filter()
170 ener >>= sh_ener; in long_term_filter()
292 L64_temp1 = ((int64_t)gain_den * ener) << (sh_gain_den + sh_ener); in long_term_filter()
Dilbcdec.c912 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()
[all …]
Dopusenc.c234 float ener = 0.0f; in celt_frame_mdct() local
240 ener += coeffs[j]*coeffs[j]; in celt_frame_mdct()
242 block->lin_energy[i] = sqrtf(ener) + FLT_EPSILON; in celt_frame_mdct()
243 ener = 1.0f/block->lin_energy[i]; in celt_frame_mdct()
246 coeffs[j] *= ener; in celt_frame_mdct()