Lines Matching defs:nextband
194 * Compute a nextband map to be used with SF delta constraint utilities.
195 * The nextband array should contain 128 elements, and positions that don't
199 static inline void ff_init_nextband_map(const SingleChannelElement *sce, uint8_t *nextband)
205 nextband[g] = g;
211 prevband = nextband[prevband] = w*16+g;
214 nextband[prevband] = prevband; /* terminate */
218 * Updates nextband to reflect a removed band (equivalent to
221 static inline void ff_nextband_remove(uint8_t *nextband, int prevband, int band)
223 nextband[prevband] = nextband[band];
233 const uint8_t *nextband, int prev_sf, int band)
236 && sce->sf_idx[nextband[band]] >= (prev_sf - SCALE_MAX_DIFF)
237 && sce->sf_idx[nextband[band]] <= (prev_sf + SCALE_MAX_DIFF);
247 const uint8_t *nextband, int prev_sf, int new_sf, int band)
251 && sce->sf_idx[nextband[band]] >= (new_sf - SCALE_MAX_DIFF)
252 && sce->sf_idx[nextband[band]] <= (new_sf + SCALE_MAX_DIFF);