Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Dac3enc_fixed.c65 static CoefType calc_cpl_coord(CoefSumType energy_ch, CoefSumType energy_cpl) in calc_cpl_coord() argument
67 if (energy_cpl <= COEF_MAX) { in calc_cpl_coord()
70 uint64_t coord = energy_ch / (energy_cpl >> 24); in calc_cpl_coord()
Dac3enc_float.c71 static CoefType calc_cpl_coord(CoefSumType energy_ch, CoefSumType energy_cpl) in calc_cpl_coord() argument
74 if (energy_cpl > 0) in calc_cpl_coord()
75 coord *= sqrtf(energy_ch / energy_cpl); in calc_cpl_coord()
Dac3enc_template.c239 CoefSumType energy_ch, energy_cpl; in apply_channel_coupling() local
242 energy_cpl = energy[blk][CPL_CH][bnd]; in apply_channel_coupling()
247 energy_cpl += energy[blk1][CPL_CH][bnd]; in apply_channel_coupling()
252 cpl_coords[blk][ch][bnd] = calc_cpl_coord(energy_ch, energy_cpl); in apply_channel_coupling()