Lines Matching defs:slice
34 /* The limited size resolution of each slice forces us to do this */
555 static int count_hq_slice(SliceArgs *slice, int quant_idx)
560 VC2EncContext *s = slice->ctx;
562 if (slice->cache[quant_idx])
563 return slice->cache[quant_idx];
585 const int left = b->width * slice->x / s->num_x;
586 const int right = b->width *(slice->x+1) / s->num_x;
587 const int top = b->height * slice->y / s->num_y;
588 const int bottom = b->height *(slice->y+1) / s->num_y;
609 slice->cache[quant_idx] = bits;
668 /* First pass - determine baseline slice sizes w.r.t. max_slice_size */
915 /* Calculate per-slice quantizers and sizes */