• Home
  • Raw
  • Download

Lines Matching refs:img_w

197 	unsigned int count, img_w, img_h;  in g2d_solid_fill_test()  local
209 img_w = screen_width; in g2d_solid_fill_test()
215 x = rand() % (img_w / 2); in g2d_solid_fill_test()
217 w = rand() % (img_w - x); in g2d_solid_fill_test()
220 img.width = img_w; in g2d_solid_fill_test()
247 unsigned int src_x, src_y, dst_x, dst_y, img_w, img_h; in g2d_copy_test() local
261 img_w = screen_width; in g2d_copy_test()
269 size = img_w * img_h * 4; in g2d_copy_test()
290 src_img.width = img_w; in g2d_copy_test()
296 ret = g2d_solid_fill(ctx, &src_img, src_x, src_y, img_w, img_h); in g2d_copy_test()
300 dst_img.width = img_w; in g2d_copy_test()
307 img_w - 4, img_h - 4); in g2d_copy_test()
331 unsigned int img_w, img_h, count; in g2d_move_test() local
364 img_w = (screen_width / 64) * 32; in g2d_move_test()
369 memcpy(tmp->vaddr, checkerboard, img_w * img_h * 4); in g2d_move_test()
374 tmp_img.user_ptr[0].size = img_w * img_h * 4; in g2d_move_test()
391 cur_x = (screen_width - img_w) / 2; in g2d_move_test()
393 tmp_img.width = img_w; in g2d_move_test()
395 tmp_img.stride = img_w * 4; in g2d_move_test()
400 g2d_copy(ctx, &tmp_img, &img, 0, 0, cur_x, cur_y, img_w, img_h); in g2d_move_test()
419 cur_x + img_w + s->x >= screen_width || in g2d_move_test()
427 img_w, img_h); in g2d_move_test()
455 unsigned int src_x, src_y, img_w, img_h; in g2d_copy_with_scale_test() local
467 img_w = screen_width; in g2d_copy_with_scale_test()
475 size = img_w * img_h * 4; in g2d_copy_with_scale_test()
496 src_img.width = img_w; in g2d_copy_with_scale_test()
502 ret = g2d_solid_fill(ctx, &src_img, src_x, src_y, img_w , img_h); in g2d_copy_with_scale_test()
511 dst_img.width = img_w; in g2d_copy_with_scale_test()
543 unsigned int src_x, src_y, dst_x, dst_y, img_w, img_h; in g2d_blend_test() local
557 img_w = screen_width; in g2d_blend_test()
565 size = img_w * img_h * 4; in g2d_blend_test()
586 src_img.width = img_w; in g2d_blend_test()
593 ret = g2d_solid_fill(ctx, &src_img, src_x, src_y, img_w, img_h); in g2d_blend_test()
602 dst_img.width = img_w; in g2d_blend_test()
609 ret = g2d_solid_fill(ctx, &dst_img, dst_x, dst_y, img_w, img_h); in g2d_blend_test()
644 unsigned int src_x, src_y, dst_x, dst_y, img_w, img_h; in g2d_checkerboard_test() local
665 img_w = screen_width - (screen_width % 32); in g2d_checkerboard_test()
670 memcpy(src->vaddr, checkerboard, img_w * img_h * 4); in g2d_checkerboard_test()
675 src_img.user_ptr[0].size = img_w * img_h * 4; in g2d_checkerboard_test()
686 src_img.width = img_w; in g2d_checkerboard_test()
703 img_w, img_h); in g2d_checkerboard_test()