Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Ddcaadpcm.c110 int64_t error_energy = 0; in calc_prediction_gain() local
116 error_energy += MUL64(error, error); in calc_prediction_gain()
119 if (!error_energy) in calc_prediction_gain()
122 return signal_energy / error_energy; in calc_prediction_gain()
Dopusenc.c359 block->error_energy[i] = q_en - diff; in exp_quant_coarse()
393 float offset, diff = 0.5f - block->error_energy[i]; in celt_quant_fine()
397 block->error_energy[i] -= offset; in celt_quant_fine()
410 const float err = block->error_energy[i]; in celt_quant_final()
414 block->error_energy[i] -= offset*(1 - 2*sign); in celt_quant_final()
481 s->last_quantized_energy[ch][i] = block->energy[i] + block->error_energy[i]; in celt_encode_frame()
Dopus_celt.h69 float error_energy[CELT_MAX_BANDS]; member