Home
last modified time | relevance | path

Searched refs:SCALE_DIV_512 (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.h286 minscaler = av_clip(minscaler, SCALE_ONE_POS - SCALE_DIV_512, SCALE_MAX_POS - SCALE_DIV_512); in search_for_quantizers_twoloop()
423 if (sce->sf_idx[i] < (SCALE_MAX_POS - SCALE_DIV_512)) { in search_for_quantizers_twoloop()
551 int loopminsf = (zloop) ? (SCALE_ONE_POS - SCALE_DIV_512) : SCALE_ONE_POS; in search_for_quantizers_twoloop()
587 …ler = nminscaler = av_clip(minscaler, SCALE_ONE_POS - SCALE_DIV_512, SCALE_MAX_POS - SCALE_DIV_512 in search_for_quantizers_twoloop()
605 int maxdeltasf = FFMIN(SCALE_MAX_POS - SCALE_DIV_512, prev + SCALE_MAX_DIFF); 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.h149 #define SCALE_DIV_512 36 ///< scalefactor difference that corresponds to scale difference in … 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()
809 mididx = av_clip(minidx, 0, SCALE_MAX_POS - SCALE_DIV_512); in search_for_ms()
810 sididx = av_clip(minidx - sid_sf_boost * 3, 0, SCALE_MAX_POS - SCALE_DIV_512); in search_for_ms()