Home
last modified time | relevance | path

Searched refs:dst_img (Results 1 – 16 of 16) sorted by relevance

/third_party/libdrm/tests/exynos/
Dexynos_fimg2d_test.c246 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()
[all …]
/third_party/pixman/test/
Dcover-test.c218 check_transform (pixman_image_t *dst_img, in check_transform() argument
230 v2.vector[0] = pixman_int_to_fixed (dst_img->bits.width) - in check_transform()
232 v2.vector[1] = pixman_int_to_fixed (dst_img->bits.height) - in check_transform()
265 pixman_image_t *src_img, *dst_img, *mask_img; in test_cover() local
310 dst_img = pixman_image_create_bits (dst_fmt, DST_WIDTH, DST_HEIGHT, in test_cover()
312 prng_randmemset (dst_img->bits.bits, in test_cover()
313 dst_img->bits.rowstride * DST_HEIGHT * sizeof (uint32_t), in test_cover()
315 image_endian_swap (dst_img); in test_cover()
322 src_transform.matrix[0][2] = calc_translate (dst_img->bits.width, in test_cover()
325 src_transform.matrix[1][2] = calc_translate (dst_img->bits.height, in test_cover()
[all …]
Dlowlevel-blt-bench.c174 pixman_image_t * dst_img, in bench_L() argument
204 call_func (func, op, src_img, mask_img, dst_img, x, 0, x, 0, 63 - x, 0, width, lines_count); in bench_L()
215 pixman_image_t * dst_img, in bench_M() argument
226 call_func (func, op, src_img, mask_img, dst_img, x, 0, x, 0, 1, 0, WIDTH - 64, HEIGHT); in bench_M()
237 pixman_image_t * dst_img, in bench_HT() argument
260 call_func (func, op, src_img, mask_img, dst_img, x, y, x, y, x, y, w, h); in bench_HT()
272 pixman_image_t * dst_img, in bench_VT() argument
295 call_func (func, op, src_img, mask_img, dst_img, x, y, x, y, x, y, w, h); in bench_VT()
307 pixman_image_t * dst_img, in bench_R() argument
331 call_func (func, op, src_img, mask_img, dst_img, sx, sy, sx, sy, dx, dy, w, h); in bench_R()
[all …]
Dfetch-test.c152 pixman_image_t *dst_img; in main() local
167 dst_img = pixman_image_create_bits (PIXMAN_a8r8g8b8, in main()
176 pixman_image_set_accessors (dst_img, reader, writer); in main()
179 pixman_image_composite (PIXMAN_OP_SRC, src_img, NULL, dst_img, in main()
183 pixman_image_unref (dst_img); in main()
Dcomposite-traps-test.c52 pixman_image_t * dst_img; in test_composite() local
171 dst_img = pixman_image_create_bits ( in test_composite()
174 image_endian_swap (dst_img); in test_composite()
222 pixman_image_set_clip_region (dst_img, &clip); in test_composite()
226 pixman_composite_trapezoids (op, src_img, dst_img, mask_format, in test_composite()
229 crc32 = compute_crc32_for_image (0, dst_img); in test_composite()
232 print_image (dst_img); in test_composite()
240 pixman_image_unref (dst_img); in test_composite()
Dthread-test.c92 pixman_image_t *dst_img, *src_img; in thread() local
109 dst_img = pixman_image_create_bits ( in thread()
114 image_endian_swap (dst_img); in thread()
122 src_img, NULL, dst_img, in thread()
125 crc32 = compute_crc32_for_image (crc32, dst_img); in thread()
128 pixman_image_unref (dst_img); in thread()
Daffine-test.c30 pixman_image_t * dst_img; in test_composite() local
104 dst_img = pixman_image_create_bits ( in test_composite()
108 image_endian_swap (dst_img); in test_composite()
281 pixman_image_set_clip_region (dst_img, &clip); in test_composite()
285 pixman_image_composite (op, src_img, NULL, dst_img, in test_composite()
288 crc32 = compute_crc32_for_image (0, dst_img); in test_composite()
291 print_image (dst_img); in test_composite()
294 pixman_image_unref (dst_img); in test_composite()
Dblitters-test.c236 pixman_image_t *dst_img = NULL; in test_composite() local
283 dst_img = create_random_image (img_fmt_list, max_width, max_height, in test_composite()
290 dst_width = pixman_image_get_width (dst_img); in test_composite()
291 dst_height = pixman_image_get_height (dst_img); in test_composite()
292 dst_stride = pixman_image_get_stride (dst_img); in test_composite()
362 pixman_image_composite (op, src_img, mask_img, dst_img, in test_composite()
366 print_image (dst_img); in test_composite()
369 crc32 = free_random_image (0, dst_img, dst_fmt); in test_composite()
Dscaling-test.c55 pixman_image_t * dst_img; in test_composite() local
175 dst_img = pixman_image_create_bits ( in test_composite()
179 image_endian_swap (dst_img); in test_composite()
336 pixman_image_set_clip_region (dst_img, &clip); in test_composite()
379 pixman_image_composite (op, src_img, mask_img, dst_img, in test_composite()
382 crc32 = compute_crc32_for_image (0, dst_img); in test_composite()
385 print_image (dst_img); in test_composite()
390 pixman_image_unref (dst_img); in test_composite()
Dsolid-test.c276 pixman_image_t *dst_img; in test_solid() local
286 dst_img = create_multi_pixel_image (img_fmt_list, dst_buf, &dst_fmt); in test_solid()
322 pixman_image_composite (op, src_img, mask_img, dst_img, in test_solid()
326 print_image (dst_img); in test_solid()
328 crc32 = compute_crc32_for_image (0, dst_img); in test_solid()
331 pixman_image_unref (dst_img); in test_solid()
Dscaling-crash-test.c31 pixman_image_t * dst_img; in run_test() local
70 dst_img = pixman_image_create_bits ( in run_test()
81 pixman_image_composite (PIXMAN_OP_SRC, src_img, NULL, dst_img, in run_test()
85 pixman_image_unref (dst_img); in run_test()
/third_party/pixman/demos/
Dclip-test.c28 pixman_image_t *src_img, *dst_img; in main() local
80 dst_img = create_solid_bits (0xffff0000); in main()
81 pixman_image_composite (PIXMAN_OP_OVER, src_img, NULL, dst_img, in main()
91 show_image (dst_img); in main()
/third_party/mesa3d/src/gallium/frontends/clover/api/
Dtransfer.cpp186 image &dst_img, const vector_t &dst_orig, in validate_copy() argument
189 if (dst_img.format() != src_img.format()) in validate_copy()
192 if (dst_img == src_img) { in validate_copy()
718 auto &dst_img = obj<image>(d_dst_mem); in clEnqueueCopyImage() local
725 validate_object(q, dst_img, dst_origin, region); in clEnqueueCopyImage()
727 validate_copy(q, dst_img, dst_origin, src_img, src_origin, region); in clEnqueueCopyImage()
731 hard_copy_op(q, &dst_img, dst_origin, in clEnqueueCopyImage()
787 auto &dst_img = obj<image>(d_dst_mem); in clEnqueueCopyBufferToImage() local
791 auto dst_pitch = pitch(region, {{ dst_img.pixel_size(), in clEnqueueCopyBufferToImage()
792 dst_img.row_pitch(), in clEnqueueCopyBufferToImage()
[all …]
/third_party/mesa3d/src/amd/vulkan/
Dradv_meta_resolve.c693 struct radv_image *dst_img = dest_iview->image; in radv_cmd_buffer_resolve_subpass_hw() local
696 uint32_t queue_mask = radv_image_queue_family_mask(dst_img, cmd_buffer->queue_family_index, in radv_cmd_buffer_resolve_subpass_hw()
699 if (radv_layout_dcc_compressed(cmd_buffer->device, dst_img, dest_iview->base_mip, in radv_cmd_buffer_resolve_subpass_hw()
709 cmd_buffer->state.flush_bits |= radv_init_dcc(cmd_buffer, dst_img, &range, 0xffffffff); in radv_cmd_buffer_resolve_subpass_hw()
729 emit_resolve(cmd_buffer, src_img, dst_img, dest_iview->vk_format, &(VkOffset2D){0, 0}, in radv_cmd_buffer_resolve_subpass_hw()
823 struct radv_image *dst_img = dst_iview->image; in radv_cmd_buffer_resolve_subpass() local
828 radv_pick_resolve_method_images(cmd_buffer->device, src_img, src_iview->vk_format, dst_img, in radv_cmd_buffer_resolve_subpass()
/third_party/flutter/skia/tests/
DSerialProcsTest.cpp78 auto dst_img = picture_to_image(new_pic); in DEF_TEST() local
79 REPORTER_ASSERT(reporter, ToolUtils::equal_pixels(src_img.get(), dst_img.get())); in DEF_TEST()
/third_party/skia/tests/
DSerialProcsTest.cpp78 auto dst_img = picture_to_image(new_pic); in DEF_TEST() local
79 REPORTER_ASSERT(reporter, ToolUtils::equal_pixels(src_img.get(), dst_img.get())); in DEF_TEST()