Lines Matching refs:slice_height
58 int slice_height;
129 int height = AV_CEIL_RSHIFT(FFMIN(s->slice_height, avctx->coded_height - j * s->slice_height), s->vshift[i]);
131 int sheight = AV_CEIL_RSHIFT(s->slice_height, s->vshift[i]);
227 int height = FFMIN(s->slice_height, avctx->coded_height - j * s->slice_height);
229 uint16_t *r = (uint16_t *)p->data[0] + j * s->slice_height * p->linesize[0] / 2;
230 uint16_t *g = (uint16_t *)p->data[1] + j * s->slice_height * p->linesize[1] / 2;
231 uint16_t *b = (uint16_t *)p->data[2] + j * s->slice_height * p->linesize[2] / 2;
259 int height = AV_CEIL_RSHIFT(FFMIN(s->slice_height, avctx->coded_height - j * s->slice_height), s->vshift[i]);
261 int sheight = AV_CEIL_RSHIFT(s->slice_height, s->vshift[i]);
360 int height = FFMIN(s->slice_height, avctx->coded_height - j * s->slice_height);
362 uint8_t *b = p->data[0] + j * s->slice_height * p->linesize[0];
363 uint8_t *g = p->data[1] + j * s->slice_height * p->linesize[1];
364 uint8_t *r = p->data[2] + j * s->slice_height * p->linesize[2];
565 s->slice_height = bytestream2_get_le32u(&gb);
566 if (s->slice_height <= 0 || s->slice_height > INT_MAX - avctx->coded_height) {
568 "invalid slice height: %d\n", s->slice_height);
574 s->nb_slices = (avctx->coded_height + s->slice_height - 1) / s->slice_height;
582 if ((s->slice_height >> s->vshift[1]) < 2) {
586 if ((avctx->coded_height % s->slice_height) && ((avctx->coded_height % s->slice_height) >> s->vshift[1]) < 2) {