Lines Matching defs:width
98 const int width = c->avctx->width;
100 uint8_t *pend = c->prev_frame + width*c->avctx->height;
107 blocks = (c->avctx->width >> 2) * (c->avctx->height >> 2);
120 if (check_line(prev + y*width, pstart, pend))
121 memcpy(cur + y*width, prev + y*width, 4);
123 memset(cur + y*width, 0, 4);
133 bytestream2_get_buffer(&g, cur + y * width, 4);
137 t = x + y*width;
139 if (check_line(prev + t + y*width, pstart, pend))
140 memcpy(cur + y*width, prev + t + y*width, 4);
142 memset(cur + y*width, 0, 4);
148 memset(cur + y*width, t, 4);
160 cur[x + y*width] = (pattern & 1) ? b : a;
168 if (pattern & 1 && check_pixel(prev + x + y*width, pstart, pend))
169 cur[x + y*width] = prev[x + y*width];
171 cur[x + y*width] = a;
183 if (blk2 == (width >> 2)) {
185 cur += width * 3;
186 prev += width * 3;
219 offset = i + j * avctx->width;
242 memcpy(outptr, srcptr, avctx->width);
243 srcptr += avctx->width;
262 c->frame = av_mallocz(avctx->width * avctx->height);
263 c->prev_frame = av_mallocz(avctx->width * avctx->height);