Lines Matching refs:dst_img
246 struct g2d_image src_img = {0}, dst_img = {0}; in g2d_copy_test() local
255 dst_img.bo[0] = dst->handle; in g2d_copy_test()
300 dst_img.width = img_w; in g2d_copy_test()
301 dst_img.height = img_h; in g2d_copy_test()
302 dst_img.stride = dst_img.width * 4; in g2d_copy_test()
303 dst_img.buf_type = G2D_IMGBUF_GEM; in g2d_copy_test()
304 dst_img.color_mode = G2D_COLOR_FMT_ARGB8888 | G2D_ORDER_AXRGB; in g2d_copy_test()
306 ret = g2d_copy(ctx, &src_img, &dst_img, src_x, src_y, dst_x, dst_y, in g2d_copy_test()
454 struct g2d_image src_img = {0}, dst_img = {0}; in g2d_copy_with_scale_test() local
463 dst_img.bo[0] = dst->handle; in g2d_copy_with_scale_test()
511 dst_img.width = img_w; in g2d_copy_with_scale_test()
512 dst_img.height = img_h; in g2d_copy_with_scale_test()
513 dst_img.buf_type = G2D_IMGBUF_GEM; in g2d_copy_with_scale_test()
514 dst_img.stride = dst_img.width * 4; in g2d_copy_with_scale_test()
515 dst_img.color_mode = G2D_COLOR_FMT_ARGB8888 | G2D_ORDER_AXRGB; in g2d_copy_with_scale_test()
517 ret = g2d_copy_with_scale(ctx, &src_img, &dst_img, 5, 5, 100, 100, in g2d_copy_with_scale_test()
542 struct g2d_image src_img = {0}, dst_img = {0}; in g2d_blend_test() local
551 dst_img.bo[0] = dst->handle; in g2d_blend_test()
602 dst_img.width = img_w; in g2d_blend_test()
603 dst_img.height = img_h; in g2d_blend_test()
604 dst_img.stride = dst_img.width * 4; in g2d_blend_test()
605 dst_img.buf_type = G2D_IMGBUF_GEM; in g2d_blend_test()
606 dst_img.select_mode = G2D_SELECT_MODE_NORMAL; in g2d_blend_test()
607 dst_img.color_mode = G2D_COLOR_FMT_ARGB8888 | G2D_ORDER_AXRGB; in g2d_blend_test()
608 dst_img.color = 0xffffffff; in g2d_blend_test()
609 ret = g2d_solid_fill(ctx, &dst_img, dst_x, dst_y, img_w, img_h); in g2d_blend_test()
613 dst_img.color = 0x77ff0000; in g2d_blend_test()
614 ret = g2d_solid_fill(ctx, &dst_img, 105, 105, 200, 200); in g2d_blend_test()
618 ret = g2d_blend(ctx, &src_img, &dst_img, 5, 5, 105, 105, 200, 200, in g2d_blend_test()
643 struct g2d_image src_img = {0}, dst_img = {0}; in g2d_checkerboard_test() local
652 dst_img.bo[0] = dst->handle; in g2d_checkerboard_test()
692 dst_img.width = screen_width; in g2d_checkerboard_test()
693 dst_img.height = screen_height; in g2d_checkerboard_test()
694 dst_img.stride = dst_img.width * 4; in g2d_checkerboard_test()
695 dst_img.buf_type = G2D_IMGBUF_GEM; in g2d_checkerboard_test()
696 dst_img.color_mode = G2D_COLOR_FMT_ARGB8888 | G2D_ORDER_AXRGB; in g2d_checkerboard_test()
698 ret = g2d_solid_fill(ctx, &dst_img, src_x, src_y, screen_width, screen_height); in g2d_checkerboard_test()
702 ret = g2d_copy(ctx, &src_img, &dst_img, src_x, src_y, dst_x, dst_y, in g2d_checkerboard_test()