Lines Matching defs:width
192 int update_dimensions(VP8Context *s, int width, int height, int is_vp7)
197 if (width != s->avctx->width || ((width+15)/16 != s->mb_width || (height+15)/16 != s->mb_height) && s->macroblocks_base ||
201 ret = ff_set_dimensions(s->avctx, width, height);
256 static int vp7_update_dimensions(VP8Context *s, int width, int height)
258 return update_dimensions(s, width, height, IS_VP7);
261 static int vp8_update_dimensions(VP8Context *s, int width, int height)
263 return update_dimensions(s, width, height, IS_VP8);
485 static void copy_chroma(AVFrame *dst, AVFrame *src, int width, int height)
492 src->data[j] + i * src->linesize[j], width / 2);
498 int width, int height,
505 for (i = 0; i < width; i++) {
517 int width = s->mb_width * 16;
538 copy_chroma(dst, src, width, height);
543 width, height, alpha, beta);
553 int width = s->avctx->width;
590 width = vp8_rac_get_uint(c, 12);
641 width != s->avctx->width || height != s->avctx->height ||
642 (width + 15) / 16 != s->mb_width || (height + 15) / 16 != s->mb_height) {
643 if ((ret = vp7_update_dimensions(s, width, height)) < 0)
717 int width = s->avctx->width;
755 width = AV_RL16(buf + 3) & 0x3fff;
811 width != s->avctx->width || height != s->avctx->height ||
812 (width+15)/16 != s->mb_width || (height+15)/16 != s->mb_height)
813 if ((ret = vp8_update_dimensions(s, width, height)) < 0)
1805 * @param block_w width of block (16, 8 or 4)
1807 * @param width width of src/dst plane data
1816 int width, int height, ptrdiff_t linesize,
1833 if (x_off < mx_idx || x_off >= width - block_w - subpel_idx[2][mx] ||
1841 width, height);
1863 * @param block_w width of block (16, 8 or 4)
1865 * @param width width of src/dst plane data
1874 int width, int height, ptrdiff_t linesize,
1890 if (x_off < mx_idx || x_off >= width - block_w - subpel_idx[2][mx] ||
1897 x_off - mx_idx, y_off - my_idx, width, height);
1906 x_off - mx_idx, y_off - my_idx, width, height);
1924 int width, int height, VP56mv *mv)
1931 block_w, block_h, width, height, s->linesize,
1945 width >>= 1;
1952 block_w, block_h, width, height, s->uvlinesize,
1986 int width = 16 * s->mb_width, height = 16 * s->mb_height;
1993 0, 0, 16, 16, width, height, &mb->mv);
2005 width, height, s->linesize,
2013 width >>= 1;
2034 width, height, s->uvlinesize,
2042 0, 0, 16, 8, width, height, &bmv[0]);
2044 0, 8, 16, 8, width, height, &bmv[1]);
2048 0, 0, 8, 16, width, height, &bmv[0]);
2050 8, 0, 8, 16, width, height, &bmv[1]);
2054 0, 0, 8, 8, width, height, &bmv[0]);
2056 8, 0, 8, 8, width, height, &bmv[1]);
2058 0, 8, 8, 8, width, height, &bmv[2]);
2060 8, 8, 8, 8, width, height, &bmv[3]);