Home
last modified time | relevance | path

Searched refs:SCALE_MAX_POS (Results 1 – 4 of 4) sorted by relevance

/third_party/ffmpeg/libavcodec/
Daaccoder_twoloop.h280 60, SCALE_MAX_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()
362 maxsf[i] = SCALE_MAX_POS; in search_for_quantizers_twoloop()
423 if (sce->sf_idx[i] < (SCALE_MAX_POS - SCALE_DIV_512)) { in search_for_quantizers_twoloop()
424 int maxsf_i = (tbits > 5800) ? SCALE_MAX_POS : maxsf[i]; in search_for_quantizers_twoloop()
576 minscaler = SCALE_MAX_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()
605 int maxdeltasf = FFMIN(SCALE_MAX_POS - SCALE_DIV_512, prev + SCALE_MAX_DIFF); in search_for_quantizers_twoloop()
Daaccoder.c266 q0 = av_clip(coef2minsf(q0f), 0, SCALE_MAX_POS-1); in search_for_quantizers_anmr()
268 q1 = av_clip(coef2maxsf(q1f), 1, SCALE_MAX_POS); in search_for_quantizers_anmr()
287 q1 = av_clip(q0+1, 1, SCALE_MAX_POS); in search_for_quantizers_anmr()
288 q0 = av_clip(q1-1, 0, SCALE_MAX_POS - 1); 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()
Daac.h151 #define SCALE_MAX_POS 255 ///< scalefactor index maximum value macro
/third_party/ffmpeg/libavcodec/mips/
Daaccoder_mips.c2390 mididx = av_clip(minidx, 0, SCALE_MAX_POS - SCALE_DIV_512); in search_for_ms_mips()
2391 sididx = av_clip(minidx - sid_sf_boost * 3, 0, SCALE_MAX_POS - SCALE_DIV_512); in search_for_ms_mips()