Lines Matching defs:width
187 fs->slice_x = sx * (int64_t)f->width / f->num_h_slices;
189 fs->slice_width = (sx + sw) * (int64_t)f->width / f->num_h_slices - fs->slice_x;
192 av_assert0((unsigned)fs->slice_width <= f->width &&
194 av_assert0 ( (unsigned)fs->slice_x + (uint64_t)fs->slice_width <= f->width
231 if (av_image_check_sar(f->width, f->height,
259 int width, height, x, y, ret;
319 width = fs->slice_width;
333 av_assert1(width && height);
335 const int chroma_width = AV_CEIL_RSHIFT(width, f->chroma_h_shift);
339 decode_plane(fs, p->data[0] + ps*x + y*p->linesize[0], width, height, p->linesize[0], 0, 1);
346 decode_plane(fs, p->data[3] + ps*x + y*p->linesize[3], width, height, p->linesize[3], (f->version >= 4 && !f->chroma_planes) ? 1 : 2, 1);
348 decode_plane(fs, p->data[0] + ps*x + y*p->linesize[0] , width, height, p->linesize[0], 0, 2);
349 decode_plane(fs, p->data[0] + ps*x + y*p->linesize[0] + 1, width, height, p->linesize[0], 1, 2);
355 decode_rgb_frame32(fs, planes, width, height, p->linesize);
361 decode_rgb_frame(fs, planes, width, height, p->linesize);
473 if (f->num_h_slices > (unsigned)f->width || !f->num_h_slices ||
797 fs->slice_x = sx * (int64_t)f->width / f->num_h_slices;
799 fs->slice_width = (sx + sw) * (int64_t)f->width / f->num_h_slices - fs->slice_x;
802 av_assert0((unsigned)fs->slice_width <= f->width &&
804 av_assert0 ( (unsigned)fs->slice_x + (uint64_t)fs->slice_width <= f->width
902 if (buf_size < avctx->width * avctx->height / (128*8))
905 int w = avctx->width;