Home
last modified time | relevance | path

Searched refs:SCALE_ONE_POS (Results 1 – 6 of 6) sorted by relevance

/third_party/ffmpeg/libavcodec/mips/
Daaccoder_mips.c144 const float Q34 = ff_aac_pow34sf_tab[POW_SF2_ZERO - scale_idx + SCALE_ONE_POS - SCALE_DIV_512]; in quantize_and_encode_band_cost_SQUAD_mips()
145 const float IQ = ff_aac_pow2sf_tab [POW_SF2_ZERO + scale_idx - SCALE_ONE_POS + SCALE_DIV_512]; in quantize_and_encode_band_cost_SQUAD_mips()
240 const float Q34 = ff_aac_pow34sf_tab[POW_SF2_ZERO - scale_idx + SCALE_ONE_POS - SCALE_DIV_512]; in quantize_and_encode_band_cost_UQUAD_mips()
241 const float IQ = ff_aac_pow2sf_tab [POW_SF2_ZERO + scale_idx - SCALE_ONE_POS + SCALE_DIV_512]; in quantize_and_encode_band_cost_UQUAD_mips()
355 const float Q34 = ff_aac_pow34sf_tab[POW_SF2_ZERO - scale_idx + SCALE_ONE_POS - SCALE_DIV_512]; in quantize_and_encode_band_cost_SPAIR_mips()
356 const float IQ = ff_aac_pow2sf_tab [POW_SF2_ZERO + scale_idx - SCALE_ONE_POS + SCALE_DIV_512]; in quantize_and_encode_band_cost_SPAIR_mips()
458 const float Q34 = ff_aac_pow34sf_tab[POW_SF2_ZERO - scale_idx + SCALE_ONE_POS - SCALE_DIV_512]; in quantize_and_encode_band_cost_UPAIR7_mips()
459 const float IQ = ff_aac_pow2sf_tab [POW_SF2_ZERO + scale_idx - SCALE_ONE_POS + SCALE_DIV_512]; in quantize_and_encode_band_cost_UPAIR7_mips()
576 const float Q34 = ff_aac_pow34sf_tab[POW_SF2_ZERO - scale_idx + SCALE_ONE_POS - SCALE_DIV_512]; in quantize_and_encode_band_cost_UPAIR12_mips()
577 const float IQ = ff_aac_pow2sf_tab [POW_SF2_ZERO + scale_idx - SCALE_ONE_POS + SCALE_DIV_512]; in quantize_and_encode_band_cost_UPAIR12_mips()
[all …]
/third_party/ffmpeg/libavcodec/
Daacenc_utils.h94 float Q34 = ff_aac_pow34sf_tab[POW_SF2_ZERO - sf + SCALE_ONE_POS - SCALE_DIV_512]; in find_min_book()
159 return av_clip_uint8(log2f(coef)*4 - 69 + SCALE_ONE_POS - SCALE_DIV_512); in coef2minsf()
165 return av_clip_uint8(log2f(coef)*4 + 6 + SCALE_ONE_POS - SCALE_DIV_512); in coef2maxsf()
Daaccoder_twoloop.h267 sce->sf_idx[w*16+g] = SCALE_ONE_POS; in search_for_quantizers_twoloop()
277 SCALE_ONE_POS in search_for_quantizers_twoloop()
286 minscaler = av_clip(minscaler, SCALE_ONE_POS - SCALE_DIV_512, SCALE_MAX_POS - SCALE_DIV_512); in search_for_quantizers_twoloop()
435 if (sce->sf_idx[i] > SCALE_ONE_POS) { in search_for_quantizers_twoloop()
436 int new_sf = FFMAX3(minsf[i], SCALE_ONE_POS, sce->sf_idx[i] - qstep); in search_for_quantizers_twoloop()
508 …if (!sce->zeroes[w*16+g] && sce->sf_idx[w*16+g] > SCALE_ONE_POS && dists[w*16+g] > uplims[w*16+g]*… in search_for_quantizers_twoloop()
551 int loopminsf = (zloop) ? (SCALE_ONE_POS - SCALE_DIV_512) : SCALE_ONE_POS; in search_for_quantizers_twoloop()
587 …minscaler = nminscaler = av_clip(minscaler, SCALE_ONE_POS - SCALE_DIV_512, SCALE_MAX_POS - SCALE_D… in search_for_quantizers_twoloop()
Daacenc_quantization.h50 const int q_idx = POW_SF2_ZERO - scale_idx + SCALE_ONE_POS - SCALE_DIV_512; in quantize_and_encode_band_cost_template()
53 const float IQ = ff_aac_pow2sf_tab [POW_SF2_ZERO + scale_idx - SCALE_ONE_POS + SCALE_DIV_512]; in quantize_and_encode_band_cost_template()
Daac.h150 #define SCALE_ONE_POS 140 ///< scalefactor index that corresponds to scale=1.0 macro
Daaccoder.c273 int qnrg = av_clip_uint8(log2f(sqrtf(qnrgf/qcnt))*4 - 31 + SCALE_ONE_POS - SCALE_DIV_512); in search_for_quantizers_anmr()
440 sce->sf_idx[w*16+g] = SCALE_ONE_POS; in search_for_quantizers_fast()
443 sce->sf_idx[w*16+g] = SCALE_ONE_POS + FFMIN(log2f(uplims[w*16+g]/minthr)*4,59); in search_for_quantizers_fast()