• Home
  • Raw
  • Download

Lines Matching refs:dst_img

239 	struct g2d_image src_img = {0}, dst_img = {0};  in g2d_copy_test()  local
248 dst_img.bo[0] = dst->handle; in g2d_copy_test()
292 dst_img.width = img_w; in g2d_copy_test()
293 dst_img.height = img_h; in g2d_copy_test()
294 dst_img.stride = dst_img.width * 4; in g2d_copy_test()
295 dst_img.buf_type = G2D_IMGBUF_GEM; in g2d_copy_test()
296 dst_img.color_mode = G2D_COLOR_FMT_ARGB8888 | G2D_ORDER_AXRGB; 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
455 dst_img.bo[0] = dst->handle; in g2d_copy_with_scale_test()
502 dst_img.width = img_w; in g2d_copy_with_scale_test()
503 dst_img.height = img_h; in g2d_copy_with_scale_test()
504 dst_img.buf_type = G2D_IMGBUF_GEM; in g2d_copy_with_scale_test()
505 dst_img.stride = dst_img.width * 4; in g2d_copy_with_scale_test()
506 dst_img.color_mode = G2D_COLOR_FMT_ARGB8888 | G2D_ORDER_AXRGB; 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
541 dst_img.bo[0] = dst->handle; in g2d_blend_test()
591 dst_img.width = img_w; in g2d_blend_test()
592 dst_img.height = img_h; in g2d_blend_test()
593 dst_img.stride = dst_img.width * 4; in g2d_blend_test()
594 dst_img.buf_type = G2D_IMGBUF_GEM; in g2d_blend_test()
595 dst_img.select_mode = G2D_SELECT_MODE_NORMAL; in g2d_blend_test()
596 dst_img.color_mode = G2D_COLOR_FMT_ARGB8888 | G2D_ORDER_AXRGB; in g2d_blend_test()
597 dst_img.color = 0xffffffff; in g2d_blend_test()
598 ret = g2d_solid_fill(ctx, &dst_img, dst_x, dst_y, img_w, img_h); in g2d_blend_test()
602 dst_img.color = 0x77ff0000; in g2d_blend_test()
603 ret = g2d_solid_fill(ctx, &dst_img, 105, 105, 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
640 dst_img.bo[0] = dst->handle; in g2d_checkerboard_test()
680 dst_img.width = screen_width; in g2d_checkerboard_test()
681 dst_img.height = screen_height; in g2d_checkerboard_test()
682 dst_img.stride = dst_img.width * 4; in g2d_checkerboard_test()
683 dst_img.buf_type = G2D_IMGBUF_GEM; in g2d_checkerboard_test()
684 dst_img.color_mode = G2D_COLOR_FMT_ARGB8888 | G2D_ORDER_AXRGB; in g2d_checkerboard_test()
686 ret = g2d_solid_fill(ctx, &dst_img, src_x, src_y, screen_width, screen_height); 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()