Lines Matching defs:q0
247 int q0, q1, qcnt = 0;
266 q0 = av_clip(coef2minsf(q0f), 0, SCALE_MAX_POS-1);
269 if (q1 - q0 > 60) {
270 int q0low = q0;
275 q0 = qnrg - 30;
276 if (q0 < q0low) {
277 q1 += q0low - q0;
278 q0 = q0low;
280 q0 -= q1 - q1high;
284 // q0 == q1 isn't really a legal situation
285 if (q0 == q1) {
286 // the following is indirect but guarantees q1 != q0 && q1 near q0
287 q1 = av_clip(q0+1, 1, SCALE_MAX_POS);
288 q0 = av_clip(q1-1, 0, SCALE_MAX_POS - 1);
336 minscale = av_clip(minscale - q0, 0, TRELLIS_STATES - 1);
337 maxscale = av_clip(maxscale - q0, 0, TRELLIS_STATES);
349 q + q0, cb, lambda / band->threshold, INFINITY, NULL, NULL, 0);
353 for (i = 0; i < q1 - q0; i++) {
364 for (q = 0; q < q1 - q0; q++) {
384 sce->sf_idx[bandaddr[idx]] = minq + q0;