/third_party/ffmpeg/libavcodec/ |
D | aacenc_quantization.h | 46 int *bits, float *energy, int BT_ZERO, int BT_UNSIGNED, in quantize_and_encode_band_cost_template() argument 67 if (energy) in quantize_and_encode_band_cost_template() 68 *energy = qenergy; in quantize_and_encode_band_cost_template() 157 if (energy) in quantize_and_encode_band_cost_template() 158 *energy = qenergy; in quantize_and_encode_band_cost_template() 166 int *bits, float *energy) { in quantize_and_encode_band_cost_NONE() argument 177 int *bits, float *energy) { \ 180 BT_ESC ? ESC_BT : cb, lambda, uplim, bits, energy, \ 200 int *bits, float *energy) = { 224 int *bits, float *energy) = { [all …]
|
D | g723_1dec.c | 445 int energy[5] = {0, 0, 0, 0, 0}; in comp_ppf_coeff() local 447 int fwd_lag = autocorr_max(buf, offset, &energy[1], pitch_lag, in comp_ppf_coeff() 449 int back_lag = autocorr_max(buf, offset, &energy[3], pitch_lag, in comp_ppf_coeff() 461 energy[0] = ff_g723_1_dot_product(buf, buf, SUBFRAME_LEN); in comp_ppf_coeff() 465 energy[2] = ff_g723_1_dot_product(buf + fwd_lag, buf + fwd_lag, in comp_ppf_coeff() 470 energy[4] = ff_g723_1_dot_product(buf - back_lag, buf - back_lag, in comp_ppf_coeff() 476 temp1 = FFMAX(energy[i], temp1); in comp_ppf_coeff() 480 energy[i] = (energy[i] << scale) >> 16; in comp_ppf_coeff() 483 comp_ppf_gains(fwd_lag, ppf, cur_rate, energy[0], energy[1], in comp_ppf_coeff() 484 energy[2]); in comp_ppf_coeff() [all …]
|
D | opus_celt.c | 56 block->energy[i] = 0.0; in celt_decode_coarse_energy() 72 block->energy[i] = FFMAX(-9.0f, block->energy[i]) * alpha + prev[j] + value; in celt_decode_coarse_energy() 92 block->energy[i] += offset; in celt_decode_fine_energy() 112 f->block[j].energy[i] += offset; in celt_decode_final_energy() 152 float log_norm = block->energy[i] + ff_celt_mean_energy[i]; in celt_denormalize() 295 Ediff = block->energy[i] - FFMIN(prev[0], prev[1]); in process_anticollapse() 392 f->block[0].energy[i] = FFMAX(f->block[0].energy[i], f->block[1].energy[i]); in ff_celt_decode_frame() 428 for (j = 0; j < FF_ARRAY_ELEMS(block->energy); j++) in ff_celt_decode_frame() 429 block->energy[j] = CELT_ENERGY_SILENCE; in ff_celt_decode_frame() 462 memcpy(f->block[1].energy, f->block[0].energy, sizeof(f->block[0].energy)); in ff_celt_decode_frame() [all …]
|
D | aacenc_quantization_misc.h | 34 int *bits, float *energy, int rtz) in quantize_band_cost_cached() argument 41 cb, lambda, uplim, &entry->bits, &entry->energy, rtz); in quantize_band_cost_cached() 48 if (energy) in quantize_band_cost_cached() 49 *energy = entry->energy; in quantize_band_cost_cached()
|
D | ra144dec.c | 75 unsigned int energy; in ra144_decode_frame() local 101 energy = ff_energy_tab[get_bits(&gb, 5)]; in ra144_decode_frame() 105 energy <= ractx->old_energy, in ra144_decode_frame() 106 ff_t_sqrt(energy*ractx->old_energy) >> 12); in ra144_decode_frame() 107 refl_rms[2] = ff_interp(ractx, block_coefs[2], 3, 0, energy); in ra144_decode_frame() 108 refl_rms[3] = ff_rescale_rms(ractx->lpc_refl_rms[0], energy); in ra144_decode_frame() 119 ractx->old_energy = energy; in ra144_decode_frame()
|
D | cngenc.c | 68 double energy = 0; in cng_encode_frame() local 79 energy += samples[i] * samples[i]; in cng_encode_frame() 81 energy /= frame->nb_samples; in cng_encode_frame() 82 if (energy > 0) { in cng_encode_frame() 83 double dbov = 10 * log10(energy / 1081109975); in cng_encode_frame()
|
D | ra144enc.c | 438 int energy = 0; in ra144_encode_frame() local 456 energy += (lpc_data[i] * lpc_data[i]) >> 4; in ra144_encode_frame() 462 energy += (lpc_data[i] * lpc_data[i]) >> 4; in ra144_encode_frame() 467 energy = ff_energy_tab[quantize(ff_t_sqrt(energy >> 5) >> 10, ff_energy_tab, in ra144_encode_frame() 502 energy <= ractx->old_energy, in ra144_encode_frame() 503 ff_t_sqrt(energy * ractx->old_energy) >> 12); in ra144_encode_frame() 504 refl_rms[2] = ff_interp(ractx, block_coefs[2], 3, 0, energy); in ra144_encode_frame() 505 refl_rms[3] = ff_rescale_rms(ractx->lpc_refl_rms[0], energy); in ra144_encode_frame() 507 put_bits(&pb, 5, quantize(energy, ff_energy_tab, 32)); in ra144_encode_frame() 512 ractx->old_energy = energy; in ra144_encode_frame()
|
D | aacpsy.c | 109 float energy; ///< band energy member 544 if (band->energy > band->thr) { in calc_pe_3gpp() 545 a = log2f(band->energy); in calc_pe_3gpp() 579 if (band->energy > thr) { in calc_reduced_thr_3gpp() 590 if (thr > band->energy * min_snr && band->avoid_holes != PSY_3GPP_AH_NONE) { in calc_reduced_thr_3gpp() 591 thr = FFMAX(band->thr, band->energy * min_snr); in calc_reduced_thr_3gpp() 612 band->energy = 0.0f; in calc_thr_3gpp() 615 band->energy += coefs[start+i] * coefs[start+i]; in calc_thr_3gpp() 619 Temp = band->energy > 0 ? sqrtf((float)band_sizes[g] / band->energy) : 0; in calc_thr_3gpp() 620 band->thr = band->energy * 0.001258925f; in calc_thr_3gpp() [all …]
|
D | ac3enc_template.c | 120 CoefSumType energy[AC3_MAX_BLOCKS][AC3_MAX_CHANNELS][16] = {{{0}}}; in apply_channel_coupling() local 166 MAC_COEF(energy[blk][ch][bnd], v, v); in apply_channel_coupling() 183 cpl_coords[blk][ch][bnd] = calc_cpl_coord(energy[blk][ch][bnd], in apply_channel_coupling() 184 energy[blk][CPL_CH][bnd]); in apply_channel_coupling() 243 energy_cpl = energy[blk][CPL_CH][bnd]; in apply_channel_coupling() 244 energy_ch = energy[blk][ch][bnd]; in apply_channel_coupling() 248 energy_cpl += energy[blk1][CPL_CH][bnd]; in apply_channel_coupling() 249 energy_ch += energy[blk1][ch][bnd]; in apply_channel_coupling()
|
D | cngdec.c | 37 int energy, target_energy; member 130 p->energy = p->energy / 2 + p->target_energy / 2; in cng_decode_frame() 134 p->energy = p->target_energy; in cng_decode_frame() 143 scaling = sqrt(e * p->energy / 1081109975); in cng_decode_frame()
|
D | ra144.c | 1657 int ff_interp(RA144Context *ractx, int16_t *out, int a, int copyold, int energy) in ff_interp() argument 1672 return ff_rescale_rms(ractx->lpc_refl_rms[copyold], energy); in ff_interp() 1674 return ff_rescale_rms(ff_rms(work), energy); in ff_interp() 1678 unsigned int ff_rescale_rms(unsigned int rms, unsigned int energy) in ff_rescale_rms() argument 1680 return (rms * energy) >> 10; in ff_rescale_rms()
|
D | g723_1enc.c | 543 int energy[15]; in comp_harmonic_coeff() local 548 energy[i << 1] = ff_dot_product(buf - j, buf - j, SUBFRAME_LEN); in comp_harmonic_coeff() 550 energy[(i << 1) + 1] = ff_dot_product(buf, buf - j, SUBFRAME_LEN); in comp_harmonic_coeff() 554 energy[14] = ff_dot_product(buf, buf, SUBFRAME_LEN); in comp_harmonic_coeff() 559 max = FFMAX(max, FFABS(energy[i])); in comp_harmonic_coeff() 563 energy[i] = av_clipl_int32((int64_t)(energy[i] << exp) + in comp_harmonic_coeff() 573 eng = energy[i << 1]; in comp_harmonic_coeff() 574 ccr = energy[(i << 1) + 1]; in comp_harmonic_coeff() 593 eng = energy[14] * max_eng; in comp_harmonic_coeff() 595 ccr = energy[(hf->index << 1) + 1] * energy[(hf->index << 1) + 1]; in comp_harmonic_coeff() [all …]
|
D | ra144.h | 76 int energy); 77 unsigned int ff_rescale_rms(unsigned int rms, unsigned int energy);
|
D | opusenc_psy.c | 110 float avg_c_s, energy = 0.0f, dist_dev = 0.0f; in step_collect_psy_metrics() local 114 energy += coeffs[j]*coeffs[j]; in step_collect_psy_metrics() 116 st->energy[ch][i] += sqrtf(energy); in step_collect_psy_metrics() 117 silence |= !!st->energy[ch][i]; in step_collect_psy_metrics() 118 avg_c_s = energy / range; in step_collect_psy_metrics() 146 float bp_e = bessel_filter(&s->bfilter_lo[ch][i], st->energy[ch][i]); in step_collect_psy_metrics() 331 … weight += start[f]->change_amp[ch][i] + start[f]->tone[ch][i] + start[f]->energy[ch][i]; in celt_gauge_psy_weight()
|
D | libtwolame.c | 43 int energy; member 75 twolame_set_energy_levels(s->glopts, s->energy); in twolame_encode_init() 188 …{ "energy_levels","enable energy levels", OFFSET(energy), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, 1, AE…
|
D | aaccoder.c | 315 if (band->energy <= band->threshold || band->threshold == 0.0f) { in search_for_quantizers_anmr() 421 if (band->energy <= band->threshold || band->threshold == 0.0f) { in search_for_quantizers_fast() 599 sfb_energy += band->energy; in search_for_pns() 603 min_energy = max_energy = band->energy; in search_for_pns() 605 min_energy = FFMIN(min_energy, band->energy); in search_for_pns() 606 max_energy = FFMAX(max_energy, band->energy); in search_for_pns() 663 … dist2 += band->energy/(band->spread*band->spread)*lambda*dist_thresh/band->threshold; in search_for_pns() 729 sfb_energy += band->energy; in mark_pns() 733 min_energy = max_energy = band->energy; in mark_pns() 735 min_energy = FFMIN(min_energy, band->energy); in mark_pns() [all …]
|
D | ilbcdec.c | 962 int32_t measure, max_measure, energy; in do_plc() local 1135 energy = 0; in do_plc() 1173 energy += SPL_MUL_16_16_RSFT(plc_residual[i], plc_residual[i], (s->prevScale + 1)); in do_plc() 1178 if (energy < SPL_SHIFT_W32(s->block_samples * 900, -s->prevScale - 1)) { in do_plc() 1179 energy = 0; in do_plc() 1214 int32_t cross_corr, energy; in xcorr_coeff() local 1253 energy = scale_dot_product(regressor, regressor, subl, shifts); in xcorr_coeff() 1261 if ((energy > 0) && (cross_corr > 0)) { in xcorr_coeff() 1265 energy_scale = norm_w32(energy) - 16; in xcorr_coeff() 1266 energy_mod = (int16_t) SPL_SHIFT_W32(energy, energy_scale); in xcorr_coeff() [all …]
|
D | aaccoder_twoloop.h | 222 float uplim = 0.0f, energy = 0.0f, spread = 0.0f; in search_for_quantizers_twoloop() local 225 … if (start >= cutoff || band->energy <= (band->threshold * zeroscale) || band->threshold == 0.0f) { in search_for_quantizers_twoloop() 237 if (band->energy <= (band->threshold * zeroscale) || band->threshold == 0.0f) in search_for_quantizers_twoloop() 240 energy += band->energy; in search_for_quantizers_twoloop() 246 energies[w*16+g] = energy; in search_for_quantizers_twoloop() 251 spread_thr_r[w*16+g] = energy * nz / (uplim * spread); in search_for_quantizers_twoloop()
|
/third_party/ffmpeg/libavcodec/mips/ |
D | aaccoder_mips.c | 142 int *bits, float *energy, const float ROUNDING) in quantize_and_encode_band_cost_SQUAD_mips() argument 213 if (out || energy) { in quantize_and_encode_band_cost_SQUAD_mips() 226 if (energy) in quantize_and_encode_band_cost_SQUAD_mips() 230 if (energy) in quantize_and_encode_band_cost_SQUAD_mips() 231 *energy = qenergy; in quantize_and_encode_band_cost_SQUAD_mips() 238 int *bits, float *energy, const float ROUNDING) in quantize_and_encode_band_cost_UQUAD_mips() argument 328 if (out || energy) { in quantize_and_encode_band_cost_UQUAD_mips() 341 if (energy) in quantize_and_encode_band_cost_UQUAD_mips() 345 if (energy) in quantize_and_encode_band_cost_UQUAD_mips() 346 *energy = qenergy; in quantize_and_encode_band_cost_UQUAD_mips() [all …]
|
D | aacpsy_mips.h | 76 band->energy = 0.0f; in calc_thr_3gpp_mips() 107 [e]"+f"(band->energy), [f]"+f"(form_factor), in calc_thr_3gpp_mips() 116 Temp = sqrtf((float)band_sizes[g] / band->energy); in calc_thr_3gpp_mips() 117 band->thr = band->energy * 0.001258925f; in calc_thr_3gpp_mips()
|
/third_party/icu/icu4c/source/test/testdata/cldr/units/ |
D | unitsTest.txt | 65 energy ; electronvolt ; kilogram-square-meter-per-square-second ; 0.0000000000000000001602177 * x ;… 66 energy ; dalton ; kilogram-square-meter-per-square-second ; 0.00000000014924180856 * x ; 1.492418E-7 67 energy ; joule ; kilogram-square-meter-per-square-second ; 1 * x ; 1000.0 68 energy ; newton-meter ; kilogram-square-meter-per-square-second ; 1 * x ; 1000.0 69 energy ; pound-force-foot ; kilogram-square-meter-per-square-second ; 1.3558179483314004 * x ; 1355… 70 energy ; calorie ; kilogram-square-meter-per-square-second ; 4.184 * x ; 4184.0 71 energy ; kilojoule ; kilogram-square-meter-per-square-second ; 1,000 * x ; 1000000.0 72 energy ; british-thermal-unit ; kilogram-square-meter-per-square-second ; 9,489.1523804/9 * x ; 105… 73 energy ; foodcalorie ; kilogram-square-meter-per-square-second ; 4,184 * x ; 4184000.0 74 energy ; kilocalorie ; kilogram-square-meter-per-square-second ; 4,184 * x ; 4184000.0 [all …]
|
D | unitPreferencesTest.txt | 116 energy; default; 001; 3960000; 3960000.0; kilogram-square-meter-per-square-second; 11 / 10; 1.1; ki… 117 energy; default; 001; 3600000; 3600000.0; kilogram-square-meter-per-square-second; 1; 1.0; kilowatt… 118 energy; default; 001; 3240000; 3240000.0; kilogram-square-meter-per-square-second; 9 / 10; 0.9; kil… 120 energy; food; US; 23012 / 5; 4602.4; kilogram-square-meter-per-square-second; 11 / 10; 1.1; foodcal… 121 energy; food; US; 4184; 4184.0; kilogram-square-meter-per-square-second; 1; 1.0; foodcalorie 122 energy; food; US; 18828 / 5; 3765.6; kilogram-square-meter-per-square-second; 9 / 10; 0.9; foodcalo… 124 energy; food; 001; 23012 / 5; 4602.4; kilogram-square-meter-per-square-second; 11 / 10; 1.1; kiloca… 125 energy; food; 001; 4184; 4184.0; kilogram-square-meter-per-square-second; 1; 1.0; kilocalorie 126 energy; food; 001; 18828 / 5; 3765.6; kilogram-square-meter-per-square-second; 9 / 10; 0.9; kilocal…
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/data/cldr/units/ |
D | unitsTest.txt | 65 energy ; electronvolt ; kilogram-square-meter-per-square-second ; 0.0000000000000000001602177 * x ;… 66 energy ; dalton ; kilogram-square-meter-per-square-second ; 0.00000000014924180856 * x ; 1.492418E-7 67 energy ; joule ; kilogram-square-meter-per-square-second ; 1 * x ; 1000.0 68 energy ; newton-meter ; kilogram-square-meter-per-square-second ; 1 * x ; 1000.0 69 energy ; pound-force-foot ; kilogram-square-meter-per-square-second ; 1.3558179483314004 * x ; 1355… 70 energy ; calorie ; kilogram-square-meter-per-square-second ; 4.184 * x ; 4184.0 71 energy ; kilojoule ; kilogram-square-meter-per-square-second ; 1,000 * x ; 1000000.0 72 energy ; british-thermal-unit ; kilogram-square-meter-per-square-second ; 9,489.1523804/9 * x ; 105… 73 energy ; foodcalorie ; kilogram-square-meter-per-square-second ; 4,184 * x ; 4184000.0 74 energy ; kilocalorie ; kilogram-square-meter-per-square-second ; 4,184 * x ; 4184000.0 [all …]
|
D | unitPreferencesTest.txt | 116 energy; default; 001; 3960000; 3960000.0; kilogram-square-meter-per-square-second; 11 / 10; 1.1; ki… 117 energy; default; 001; 3600000; 3600000.0; kilogram-square-meter-per-square-second; 1; 1.0; kilowatt… 118 energy; default; 001; 3240000; 3240000.0; kilogram-square-meter-per-square-second; 9 / 10; 0.9; kil… 120 energy; food; US; 23012 / 5; 4602.4; kilogram-square-meter-per-square-second; 11 / 10; 1.1; foodcal… 121 energy; food; US; 4184; 4184.0; kilogram-square-meter-per-square-second; 1; 1.0; foodcalorie 122 energy; food; US; 18828 / 5; 3765.6; kilogram-square-meter-per-square-second; 9 / 10; 0.9; foodcalo… 124 energy; food; 001; 23012 / 5; 4602.4; kilogram-square-meter-per-square-second; 11 / 10; 1.1; kiloca… 125 energy; food; 001; 4184; 4184.0; kilogram-square-meter-per-square-second; 1; 1.0; kilocalorie 126 energy; food; 001; 18828 / 5; 3765.6; kilogram-square-meter-per-square-second; 9 / 10; 0.9; kilocal…
|
/third_party/ffmpeg/libavfilter/ |
D | ebur128.c | 368 static double ebur128_energy_to_loudness(double energy) in ebur128_energy_to_loudness() argument 370 return 10 * log10(energy) - 0.691; in ebur128_energy_to_loudness() 373 static size_t find_histogram_index(double energy) in find_histogram_index() argument 381 if (energy >= histogram_energy_boundaries[index_mid]) { in find_histogram_index() 619 double energy; in ff_ebur128_loudness_shortterm() local 620 int error = ebur128_energy_shortterm(st, &energy); in ff_ebur128_loudness_shortterm() 623 } else if (energy <= 0.0) { in ff_ebur128_loudness_shortterm() 627 *out = ebur128_energy_to_loudness(energy); in ff_ebur128_loudness_shortterm()
|