Searched refs:new_sf (Results 1 – 2 of 2) sorted by relevance
247 const uint8_t *nextband, int prev_sf, int new_sf, int band) in ff_sfdelta_can_replace() argument249 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()
425 int new_sf = FFMIN(maxsf_i, sce->sf_idx[i] + qstep); in search_for_quantizers_twoloop() local426 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() local437 if (new_sf != sce->sf_idx[i]) { in search_for_quantizers_twoloop()438 sce->sf_idx[i] = new_sf; in search_for_quantizers_twoloop()