Lines Matching refs:num_v_slices
378 (fs->slice_y + 1) * f->num_v_slices / f->height, 0);
383 (fs->slice_height + 1) * f->num_v_slices / f->height - 1,
433 put_symbol(c, state, f->num_v_slices - 1, 0);
853 s->num_v_slices = (avctx->width > 352 || avctx->height > 288 || !avctx->slices) ? 2 : 1;
855 s->num_v_slices = FFMIN(s->num_v_slices, max_v_slices);
857 for (; s->num_v_slices < 32; s->num_v_slices++) {
858 for (s->num_h_slices = s->num_v_slices; s->num_h_slices < 2*s->num_v_slices; s->num_h_slices++) {
860 int maxh = (avctx->height + s->num_v_slices - 1) / s->num_v_slices;
861 if (s->num_h_slices > max_h_slices || s->num_v_slices > max_v_slices)
865 if (avctx->slices == s->num_h_slices * s->num_v_slices && avctx->slices <= MAX_SLICES || !avctx->slices)
912 put_symbol(c, state, (fs->slice_y +1)*f->num_v_slices / f->height , 0);
914 put_symbol(c, state, (fs->slice_height+1)*f->num_v_slices / f->height-1, 0);