Lines Matching defs:run
40 static void picmemset_8bpp(PicContext *s, AVFrame *frame, int value, int run,
43 while (run > 0) {
45 if (*x + run >= s->width) {
48 run -= n;
54 memset(d + *x, value, run);
55 *x += run;
61 static void picmemset(PicContext *s, AVFrame *frame, unsigned value, int run,
74 while (run > 0) {
92 run*pixels_per_value >= s->width &&
100 run -= s->width / pixels_per_value;
105 run--;
238 int run = 1;
241 run = bytestream2_get_byte(&s->g);
242 if (run == 0)
243 run = bytestream2_get_le16(&s->g);
248 picmemset_8bpp(s, frame, val, run, &x, &y);
252 picmemset(s, frame, val, run, &x, &y, &plane, bits_per_plane);
261 int run = (y + 1) * avctx->width - x;
263 picmemset_8bpp(s, frame, val, run, &x, &y);
265 picmemset(s, frame, val, run / (8 / bits_per_plane), &x, &y, &plane, bits_per_plane);