Lines Matching refs:dst_img

269 	struct g2d_image src_img, dst_img;  in g2d_copy_test()  local
280 memset(&dst_img, 0, sizeof(struct g2d_image)); in g2d_copy_test()
281 dst_img.bo[0] = dst->handle; in g2d_copy_test()
324 dst_img.width = img_w; in g2d_copy_test()
325 dst_img.height = img_h; in g2d_copy_test()
326 dst_img.stride = dst_img.width * 4; in g2d_copy_test()
327 dst_img.buf_type = G2D_IMGBUF_GEM; in g2d_copy_test()
328 dst_img.color_mode = G2D_COLOR_FMT_ARGB8888 | G2D_ORDER_AXRGB; in g2d_copy_test()
330 ret = g2d_copy(ctx, &src_img, &dst_img, src_x, src_y, dst_x, dst_y, in g2d_copy_test()
353 struct g2d_image src_img, dst_img; in g2d_copy_with_scale_test() local
364 memset(&dst_img, 0, sizeof(struct g2d_image)); in g2d_copy_with_scale_test()
365 dst_img.bo[0] = dst->handle; in g2d_copy_with_scale_test()
413 dst_img.width = img_w; in g2d_copy_with_scale_test()
414 dst_img.height = img_h; in g2d_copy_with_scale_test()
415 dst_img.buf_type = G2D_IMGBUF_GEM; in g2d_copy_with_scale_test()
416 dst_img.stride = dst_img.width * 4; in g2d_copy_with_scale_test()
417 dst_img.color_mode = G2D_COLOR_FMT_ARGB8888 | G2D_ORDER_AXRGB; in g2d_copy_with_scale_test()
419 ret = g2d_copy_with_scale(ctx, &src_img, &dst_img, 5, 5, 100, 100, in g2d_copy_with_scale_test()
442 struct g2d_image src_img, dst_img; in g2d_blend_test() local
453 memset(&dst_img, 0, sizeof(struct g2d_image)); in g2d_blend_test()
454 dst_img.bo[0] = dst->handle; in g2d_blend_test()
503 dst_img.width = img_w; in g2d_blend_test()
504 dst_img.height = img_h; in g2d_blend_test()
505 dst_img.stride = dst_img.width * 4; in g2d_blend_test()
506 dst_img.buf_type = G2D_IMGBUF_GEM; in g2d_blend_test()
507 dst_img.select_mode = G2D_SELECT_MODE_NORMAL; in g2d_blend_test()
508 dst_img.color_mode = G2D_COLOR_FMT_ARGB8888 | G2D_ORDER_AXRGB; in g2d_blend_test()
509 dst_img.color = 0xffffffff; in g2d_blend_test()
510 ret = g2d_solid_fill(ctx, &dst_img, dst_x, dst_y, img_w, img_h); in g2d_blend_test()
514 dst_img.color = 0x77ff0000; in g2d_blend_test()
515 ret = g2d_solid_fill(ctx, &dst_img, 105, 105, 200, 200); in g2d_blend_test()
519 ret = g2d_blend(ctx, &src_img, &dst_img, 5, 5, 105, 105, 200, 200, in g2d_blend_test()