Home
last modified time | relevance | path

Searched refs:new_sf (Results 1 – 2 of 2) sorted by relevance

/third_party/ffmpeg/libavcodec/
Daacenc_utils.h247 const uint8_t *nextband, int prev_sf, int new_sf, int band) in ff_sfdelta_can_replace() argument
249 return new_sf >= (prev_sf - SCALE_MAX_DIFF) in ff_sfdelta_can_replace()
250 && new_sf <= (prev_sf + SCALE_MAX_DIFF) in ff_sfdelta_can_replace()
251 && sce->sf_idx[nextband[band]] >= (new_sf - SCALE_MAX_DIFF) in ff_sfdelta_can_replace()
252 && sce->sf_idx[nextband[band]] <= (new_sf + SCALE_MAX_DIFF); in ff_sfdelta_can_replace()
Daaccoder_twoloop.h425 int new_sf = FFMIN(maxsf_i, sce->sf_idx[i] + qstep); in search_for_quantizers_twoloop() local
426 if (new_sf != sce->sf_idx[i]) { in search_for_quantizers_twoloop()
427 sce->sf_idx[i] = new_sf; 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() local
437 if (new_sf != sce->sf_idx[i]) { in search_for_quantizers_twoloop()
438 sce->sf_idx[i] = new_sf; in search_for_quantizers_twoloop()