Lines Matching defs:img_w

196 	unsigned int count, img_w, img_h;
208 img_w = screen_width;
214 x = rand() % (img_w / 2);
216 w = rand() % (img_w - x);
219 img.width = img_w;
246 unsigned int src_x, src_y, dst_x, dst_y, img_w, img_h;
260 img_w = screen_width;
268 size = img_w * img_h * 4;
289 src_img.width = img_w;
295 ret = g2d_solid_fill(ctx, &src_img, src_x, src_y, img_w, img_h);
299 dst_img.width = img_w;
306 img_w - 4, img_h - 4);
330 unsigned int img_w, img_h, count;
363 img_w = (screen_width / 64) * 32;
368 memcpy(tmp->vaddr, checkerboard, img_w * img_h * 4);
373 tmp_img.user_ptr[0].size = img_w * img_h * 4;
390 cur_x = (screen_width - img_w) / 2;
392 tmp_img.width = img_w;
394 tmp_img.stride = img_w * 4;
399 g2d_copy(ctx, &tmp_img, &img, 0, 0, cur_x, cur_y, img_w, img_h);
418 cur_x + img_w + s->x >= screen_width ||
426 img_w, img_h);
454 unsigned int src_x, src_y, img_w, img_h;
466 img_w = screen_width;
474 size = img_w * img_h * 4;
495 src_img.width = img_w;
501 ret = g2d_solid_fill(ctx, &src_img, src_x, src_y, img_w , img_h);
510 dst_img.width = img_w;
542 unsigned int src_x, src_y, dst_x, dst_y, img_w, img_h;
556 img_w = screen_width;
564 size = img_w * img_h * 4;
585 src_img.width = img_w;
592 ret = g2d_solid_fill(ctx, &src_img, src_x, src_y, img_w, img_h);
601 dst_img.width = img_w;
608 ret = g2d_solid_fill(ctx, &dst_img, dst_x, dst_y, img_w, img_h);
643 unsigned int src_x, src_y, dst_x, dst_y, img_w, img_h;
664 img_w = screen_width - (screen_width % 32);
669 memcpy(src->vaddr, checkerboard, img_w * img_h * 4);
674 src_img.user_ptr[0].size = img_w * img_h * 4;
685 src_img.width = img_w;
702 img_w, img_h);