Home
last modified time | relevance | path

Searched refs:prev_sf (Results 1 - 2 of 2) sorted by relevance

/third_party/ffmpeg/libavcodec/
H A Daacenc_utils.h229 * prev_sf has to be the scalefactor of the previous nonzero, nonspecial
233 const uint8_t *nextband, int prev_sf, int band) in ff_sfdelta_can_remove_band()
235 return prev_sf >= 0 in ff_sfdelta_can_remove_band()
236 && sce->sf_idx[nextband[band]] >= (prev_sf - SCALE_MAX_DIFF) in ff_sfdelta_can_remove_band()
237 && sce->sf_idx[nextband[band]] <= (prev_sf + SCALE_MAX_DIFF); in ff_sfdelta_can_remove_band()
243 * prev_sf has to be the scalefactor of the previous nonzero, nonsepcial
247 const uint8_t *nextband, int prev_sf, int new_sf, int band) in ff_sfdelta_can_replace()
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()
232 ff_sfdelta_can_remove_band(const SingleChannelElement *sce, const uint8_t *nextband, int prev_sf, int band) ff_sfdelta_can_remove_band() argument
246 ff_sfdelta_can_replace(const SingleChannelElement *sce, const uint8_t *nextband, int prev_sf, int new_sf, int band) ff_sfdelta_can_replace() argument
H A Daaccoder.c564 int prev = -1000, prev_sf = -1; in search_for_pns() local
594 prev_sf = sce->sf_idx[w*16+g]; in search_for_pns()
620 if ((!sce->zeroes[w*16+g] && !ff_sfdelta_can_remove_band(sce, nextband, prev_sf, w*16+g)) || in search_for_pns()
626 prev_sf = sce->sf_idx[w*16+g]; in search_for_pns()
637 prev_sf = sce->sf_idx[w*16+g]; in search_for_pns()
678 prev_sf = sce->sf_idx[w*16+g]; in search_for_pns()

Completed in 5 milliseconds