• Home
  • Raw
  • Download

Lines Matching refs:src_img

239 	struct g2d_image src_img = {0}, dst_img = {0};  in g2d_copy_test()  local
259 src_img.bo[0] = src->handle; in g2d_copy_test()
270 src_img.user_ptr[0].userptr = userptr; in g2d_copy_test()
271 src_img.user_ptr[0].size = size; in g2d_copy_test()
282 src_img.width = img_w; in g2d_copy_test()
283 src_img.height = img_h; in g2d_copy_test()
284 src_img.stride = src_img.width * 4; in g2d_copy_test()
285 src_img.buf_type = type; in g2d_copy_test()
286 src_img.color_mode = G2D_COLOR_FMT_ARGB8888 | G2D_ORDER_AXRGB; in g2d_copy_test()
287 src_img.color = 0xffff0000; in g2d_copy_test()
288 ret = g2d_solid_fill(ctx, &src_img, src_x, src_y, img_w, img_h); in g2d_copy_test()
298 ret = g2d_copy(ctx, &src_img, &dst_img, src_x, src_y, dst_x, dst_y, in g2d_copy_test()
446 struct g2d_image src_img = {0}, dst_img = {0}; in g2d_copy_with_scale_test() local
464 src_img.bo[0] = src->handle; in g2d_copy_with_scale_test()
475 src_img.user_ptr[0].userptr = userptr; in g2d_copy_with_scale_test()
476 src_img.user_ptr[0].size = size; in g2d_copy_with_scale_test()
487 src_img.width = img_w; in g2d_copy_with_scale_test()
488 src_img.height = img_h; in g2d_copy_with_scale_test()
489 src_img.stride = src_img.width * 4; in g2d_copy_with_scale_test()
490 src_img.buf_type = type; in g2d_copy_with_scale_test()
491 src_img.color_mode = G2D_COLOR_FMT_ARGB8888 | G2D_ORDER_AXRGB; in g2d_copy_with_scale_test()
492 src_img.color = 0xffffffff; in g2d_copy_with_scale_test()
493 ret = g2d_solid_fill(ctx, &src_img, src_x, src_y, img_w , img_h); in g2d_copy_with_scale_test()
497 src_img.color = 0xff00ff00; in g2d_copy_with_scale_test()
498 ret = g2d_solid_fill(ctx, &src_img, 5, 5, 100, 100); in g2d_copy_with_scale_test()
508 ret = g2d_copy_with_scale(ctx, &src_img, &dst_img, 5, 5, 100, 100, in g2d_copy_with_scale_test()
532 struct g2d_image src_img = {0}, dst_img = {0}; in g2d_blend_test() local
552 src_img.bo[0] = src->handle; in g2d_blend_test()
563 src_img.user_ptr[0].userptr = userptr; in g2d_blend_test()
564 src_img.user_ptr[0].size = size; in g2d_blend_test()
575 src_img.width = img_w; in g2d_blend_test()
576 src_img.height = img_h; in g2d_blend_test()
577 src_img.stride = src_img.width * 4; in g2d_blend_test()
578 src_img.buf_type = type; in g2d_blend_test()
579 src_img.select_mode = G2D_SELECT_MODE_NORMAL; in g2d_blend_test()
580 src_img.color_mode = G2D_COLOR_FMT_ARGB8888 | G2D_ORDER_AXRGB; in g2d_blend_test()
581 src_img.color = 0xffffffff; in g2d_blend_test()
582 ret = g2d_solid_fill(ctx, &src_img, src_x, src_y, img_w, img_h); in g2d_blend_test()
586 src_img.color = 0x770000ff; in g2d_blend_test()
587 ret = g2d_solid_fill(ctx, &src_img, 5, 5, 200, 200); in g2d_blend_test()
607 ret = g2d_blend(ctx, &src_img, &dst_img, 5, 5, 105, 105, 200, 200, in g2d_blend_test()
631 struct g2d_image src_img = {0}, dst_img = {0}; in g2d_checkerboard_test() local
659 src_img.bo[0] = src->handle; in g2d_checkerboard_test()
662 src_img.user_ptr[0].userptr = (unsigned long)checkerboard; in g2d_checkerboard_test()
663 src_img.user_ptr[0].size = img_w * img_h * 4; in g2d_checkerboard_test()
674 src_img.width = img_w; in g2d_checkerboard_test()
675 src_img.height = img_h; in g2d_checkerboard_test()
676 src_img.stride = src_img.width * 4; in g2d_checkerboard_test()
677 src_img.buf_type = type; in g2d_checkerboard_test()
678 src_img.color_mode = G2D_COLOR_FMT_ARGB8888 | G2D_ORDER_AXRGB; in g2d_checkerboard_test()
685 src_img.color = 0xff000000; in g2d_checkerboard_test()
690 ret = g2d_copy(ctx, &src_img, &dst_img, src_x, src_y, dst_x, dst_y, in g2d_checkerboard_test()