Lines Matching defs:width
54 int width;
85 c->width = avctx->width;
88 if (avctx->height & 3 || avctx->width & 3) {
90 "width %d and height %d must be multiplie of 4.\n",
91 avctx->width, avctx->height);
96 ret = av_image_check_size2(avctx->width, FFALIGN(avctx->height, 256), avctx->max_pixels, avctx->pix_fmt, 0, avctx);
104 c->frame_size = avctx->width * FFALIGN(avctx->height, 256);
105 c->video_size = avctx->width * avctx->height;
115 static void read4x4block(PAFVideoDecContext *c, uint8_t *dst, int width)
121 dst += width;
125 static void copy_color_mask(uint8_t *dst, int width, uint8_t mask, uint8_t color)
133 dst[width + i] = color;
137 static void copy_src_mask(uint8_t *dst, int width, uint8_t mask, const uint8_t *src)
145 dst[width + i] = src[width + i];
158 *p = c->frame[page] + x * 2 + y * 2 * c->width;
184 dst = c->frame[page] + x + y * c->width;
193 if (dst + 3 * c->width + 4 > dend)
195 read4x4block(c, dst, c->width);
197 dst += c->width * 3;
207 if ((src + 3 * c->width + 4 > send) ||
208 (dst + 3 * c->width + 4 > dend) ||
211 copy_block4(dst, src, c->width, c->width, 4);
214 dst += c->width * 3;
229 for (i = 0; i < c->height; i += 4, dst += c->width * 3)
230 for (j = 0; j < c->width; j += 4, dst += 4) {
242 offset = c->width * 2;
252 copy_color_mask(dst + offset, c->width, mask, color);
259 if (src + offset + c->width + 4 > send)
262 copy_src_mask(dst + offset, c->width, mask, src + offset);
349 /* Uncompressed data. This mode specifies that (width * height) bytes
399 c->frame[c->current_frame], c->width,
400 c->width, c->height);