Home
last modified time | relevance | path

Searched refs:src_image (Results 1 – 25 of 38) sorted by relevance

12

/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_copy_image.c70 struct gl_texture_image *src_image, in intel_copy_image_sub_data() argument
82 if (src_image) { in intel_copy_image_sub_data()
83 src_mt = intel_texture_image(src_image)->mt; in intel_copy_image_sub_data()
84 src_level = src_image->Level + src_image->TexObject->MinLevel; in intel_copy_image_sub_data()
87 if (src_image->TexObject->Target == GL_TEXTURE_CUBE_MAP) in intel_copy_image_sub_data()
88 src_z = src_image->Face; in intel_copy_image_sub_data()
90 src_z += src_image->TexObject->MinLayer; in intel_copy_image_sub_data()
94 src_image = src_renderbuffer->TexImage; in intel_copy_image_sub_data()
/external/mesa3d/src/amd/vulkan/
Dradv_meta_resolve.c354 struct radv_image *src_image, in radv_pick_resolve_method_images() argument
373 else if (src_image->info.array_size > 1 || in radv_pick_resolve_method_images()
381 src_image->planes[0].surface.micro_tile_mode) { in radv_pick_resolve_method_images()
385 if (src_image->info.array_size > 1 || in radv_pick_resolve_method_images()
425 struct radv_image *src_image, in radv_meta_resolve_hardware_image() argument
437 assert(src_image->info.samples > 1); in radv_meta_resolve_hardware_image()
438 if (src_image->info.samples <= 1) { in radv_meta_resolve_hardware_image()
445 if (src_image->info.array_size > 1) in radv_meta_resolve_hardware_image()
464 radv_meta_get_iview_layer(src_image, &region->srcSubresource, in radv_meta_resolve_hardware_image()
485 radv_sanitize_image_extent(src_image->type, region->extent); in radv_meta_resolve_hardware_image()
[all …]
Dradv_meta_copy.c420 RADV_FROM_HANDLE(radv_image, src_image, srcImage); in radv_CmdCopyImageToBuffer()
434 copy_image_to_buffer(cmd_buffer, dst_buffer, src_image, in radv_CmdCopyImageToBuffer()
444 RADV_FROM_HANDLE(radv_image, src_image, pCopyImageToBufferInfo->srcImage); in radv_CmdCopyImageToBuffer2KHR()
448 copy_image_to_buffer(cmd_buffer, dst_buffer, src_image, in radv_CmdCopyImageToBuffer2KHR()
456 struct radv_image *src_image, in copy_image() argument
471 assert(src_image->info.samples == dst_image->info.samples); in copy_image()
487 …unsigned aspect_count = region->srcSubresource.aspectMask == VK_IMAGE_ASPECT_COLOR_BIT ? src_image in copy_image()
496 blit_surf_for_image_level_layer(src_image, in copy_image()
511 uint32_t src_queue_mask = radv_image_queue_family_mask(src_image, in copy_image()
514 …bool src_compressed = radv_layout_dcc_compressed(cmd_buffer->device, src_image, src_image_layout, … in copy_image()
[all …]
Dradv_meta_blit.c299 struct radv_image *src_image, in meta_emit_blit() argument
319 assert(src_image->info.samples == dest_image->info.samples); in meta_emit_blit()
365 switch (src_image->type) { in meta_emit_blit()
394 switch (src_image->type) { in meta_emit_blit()
423 switch (src_image->type) { in meta_emit_blit()
446 …VkResult ret = build_pipeline(device, src_iview->aspect_mask, translate_sampler_dim(src_image->typ… in meta_emit_blit()
531 struct radv_image *src_image, in blit_image() argument
550 assert(src_image->info.samples == 1); in blit_image()
585 if (src_image->type == VK_IMAGE_TYPE_3D) { in blit_image()
601 if (src_image->type == VK_IMAGE_TYPE_3D) in blit_image()
[all …]
Dradv_meta_resolve_fs.c1026 struct radv_image *src_image, in radv_meta_resolve_fragment_image() argument
1034 const uint32_t samples = src_image->info.samples; in radv_meta_resolve_fragment_image()
1040 radv_decompress_resolve_src(cmd_buffer, src_image, src_image_layout, in radv_meta_resolve_fragment_image()
1063 radv_meta_get_iview_layer(src_image, &region->srcSubresource, in radv_meta_resolve_fragment_image()
1071 radv_sanitize_image_extent(src_image->type, region->extent); in radv_meta_resolve_fragment_image()
1073 radv_sanitize_image_offset(src_image->type, region->srcOffset); in radv_meta_resolve_fragment_image()
1084 .image = radv_image_to_handle(src_image), in radv_meta_resolve_fragment_image()
1085 .viewType = radv_meta_get_view_type(src_image), in radv_meta_resolve_fragment_image()
1086 .format = src_image->vk_format, in radv_meta_resolve_fragment_image()
1246 struct radv_image *src_image = src_iview->image; in radv_depth_stencil_resolve_subpass_fs() local
[all …]
Dradv_meta_resolve_cs.c808 struct radv_image *src_image, in radv_meta_resolve_compute_image() argument
818 radv_decompress_resolve_src(cmd_buffer, src_image, src_image_layout, in radv_meta_resolve_compute_image()
831 radv_meta_get_iview_layer(src_image, &region->srcSubresource, in radv_meta_resolve_compute_image()
839 radv_sanitize_image_extent(src_image->type, region->extent); in radv_meta_resolve_compute_image()
841 radv_sanitize_image_offset(src_image->type, region->srcOffset); in radv_meta_resolve_compute_image()
852 .image = radv_image_to_handle(src_image), in radv_meta_resolve_compute_image()
853 .viewType = radv_meta_get_view_type(src_image), in radv_meta_resolve_compute_image()
993 struct radv_image *src_image = src_iview->image; in radv_depth_stencil_resolve_subpass_cs() local
1001 .image = radv_image_to_handle(src_image), in radv_depth_stencil_resolve_subpass_cs()
1002 .viewType = radv_meta_get_view_type(src_image), in radv_depth_stencil_resolve_subpass_cs()
Dradv_meta.h216 struct radv_image *src_image,
225 struct radv_image *src_image,
234 struct radv_image *src_image,
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_copyimage.c542 struct gl_texture_image *src_image, in fallback_copy_image() argument
553 bool src_is_compressed = src_image && _mesa_is_format_compressed(src_image->TexFormat); in fallback_copy_image()
558 if (src_image) in fallback_copy_image()
559 _mesa_get_format_block_size(src_image->TexFormat, &src_blk_w, &src_blk_h); in fallback_copy_image()
576 if (src_image) in fallback_copy_image()
577 line_bytes = _mesa_format_row_stride(src_image->TexFormat, src_w); in fallback_copy_image()
594 if (src_image) { in fallback_copy_image()
596 st->ctx, src_image, src_z, in fallback_copy_image()
619 if (src_image) { in fallback_copy_image()
620 st->ctx->Driver.UnmapTextureImage(st->ctx, src_image, src_z); in fallback_copy_image()
[all …]
/external/OpenCL-CTS/test_conformance/basic/
Dtest_rw_image_access_qualifier.cpp83 cl_mem src_image; in test_rw_image_access_qualifier() local
125 src_image = create_image_2d(context, flags, &format, in test_rw_image_access_qualifier()
128 if (err != CL_SUCCESS || !src_image) { in test_rw_image_access_qualifier()
134 err = clSetKernelArg(kernel, 0, sizeof(src_image), &src_image); in test_rw_image_access_qualifier()
163 err |= clEnqueueReadImage(commands, src_image, CL_TRUE, origin, region, 0, 0, in test_rw_image_access_qualifier()
181 clReleaseMemObject(src_image); in test_rw_image_access_qualifier()
/external/libvpx/libvpx/test/
Dpp_filter_test.cc79 Buffer<uint8_t> src_image = Buffer<uint8_t>(block_width_, block_height_, 2); in TEST_P() local
80 ASSERT_TRUE(src_image.Init()); in TEST_P()
95 src_image.SetPadding(10); in TEST_P()
96 src_image.Set(1); in TEST_P()
102 src_image.TopLeftPixel(), dst_image.TopLeftPixel(), src_image.stride(), in TEST_P()
129 Buffer<uint8_t> src_image = in TEST_P() local
131 ASSERT_TRUE(src_image.Init()); in TEST_P()
156 src_image.SetPadding(10); in TEST_P()
157 src_image.Set(&rnd, &ACMRandom::Rand8); in TEST_P()
168 src_image.TopLeftPixel(), dst_image_ref.TopLeftPixel(), in TEST_P()
[all …]
/external/mesa3d/src/intel/vulkan/
Danv_blorp.c297 struct anv_image *src_image, in copy_image() argument
304 anv_sanitize_image_offset(src_image->type, region->srcOffset); in copy_image()
308 anv_sanitize_image_extent(src_image->type, region->extent); in copy_image()
323 if (src_image->type == VK_IMAGE_TYPE_3D) { in copy_image()
328 anv_get_layerCount(src_image, &region->srcSubresource)); in copy_image()
338 anv_foreach_image_aspect_bit(aspect_bit, src_image, src_mask) { in copy_image()
341 src_image, 1UL << aspect_bit, in copy_image()
379 get_blorp_surf_for_anv_image(cmd_buffer->device, src_image, src_mask, in copy_image()
425 ANV_FROM_HANDLE(anv_image, src_image, srcImage); in anv_CmdCopyImage()
442 src_image, srcImageLayout, in anv_CmdCopyImage()
[all …]
/external/vboot_reference/scripts/image_signing/
Dalign_rootfs.sh24 DEFINE_string src_image "" \
31 local src_image=$1
37 mount_image_partition_ro "${src_image}" 3 "${src_root_fs_dir}"
Dswap_rootfs.sh13 Usage: $PROG dst_image src_image
14 This will put the root file system from src_image into dst_image.
/external/tensorflow/tensorflow/compiler/jit/
Dencapsulate_subgraphs_pass.cc328 const Node* original_src_node, Node** src_image);
507 Node* src_image = node_images.at(src_node); in RecordControlResult() local
508 control_output_nodes_.insert(src_image->name()); in RecordControlResult()
516 Node* src_image = node_images.at(src_node); in RecordResult() local
531 builder.Input(src_image->name(), src_slot, dtype); in RecordResult()
537 graph_->AddEdge(src_image, src_slot, ret, 0); in RecordResult()
714 Node* src_image = gtl::FindWithDefault(node_images, edge->src(), nullptr); in CopySubgraphEdges() local
722 g->AddControlEdge(src_image, dst_image, in CopySubgraphEdges()
725 g->AddEdge(src_image, edge->src_output(), dst_image, edge->dst_input()); in CopySubgraphEdges()
852 const Node* original_src_node, Node** src_image) { in FindOutputImageOfEdgeSrc() argument
[all …]
/external/mesa3d/src/freedreno/vulkan/
Dtu_clear_blit.c995 struct tu_image *src_image, in tu6_blit_image() argument
1043 src_image->vk_format == VK_FORMAT_BC1_RGB_UNORM_BLOCK || in tu6_blit_image()
1044 src_image->vk_format == VK_FORMAT_BC1_RGB_SRGB_BLOCK || in tu6_blit_image()
1086 tu_image_view_blit(&src, src_image, &info->srcSubresource, info->srcOffsets[0].z); in tu6_blit_image()
1109 TU_FROM_HANDLE(tu_image, src_image, srcImage); in tu_CmdBlitImage()
1116 if (src_image->vk_format == VK_FORMAT_D32_SFLOAT_S8_UINT || in tu_CmdBlitImage()
1123 tu6_blit_image(cmd, src_image, dst_image, &region, filter); in tu_CmdBlitImage()
1127 tu6_blit_image(cmd, src_image, dst_image, pRegions + i, filter); in tu_CmdBlitImage()
1238 struct tu_image *src_image, in tu_copy_image_to_buffer() argument
1245 copy_format(src_image->vk_format, info->imageSubresource.aspectMask, true); in tu_copy_image_to_buffer()
[all …]
/external/tensorflow/tensorflow/tools/android/test/jni/object_tracking/
Dtracked_object.cc22 static void InitNormalized(const Image<uint8_t>& src_image, in InitNormalized() argument
26 CopyArea(src_image, scaled_box, dst_image); in InitNormalized()
/external/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_cmd_buffer.c960 LVP_FROM_HANDLE(lvp_image, src_image, srcImage); in lvp_CmdCopyImageToBuffer()
969 cmd->u.img_to_buffer.src = src_image; in lvp_CmdCopyImageToBuffer()
995 LVP_FROM_HANDLE(lvp_image, src_image, srcImage); in lvp_CmdCopyImage()
1004 cmd->u.copy_image.src = src_image; in lvp_CmdCopyImage()
1065 LVP_FROM_HANDLE(lvp_image, src_image, srcImage); in lvp_CmdBlitImage()
1074 cmd->u.blit_image.src = src_image; in lvp_CmdBlitImage()
1232 LVP_FROM_HANDLE(lvp_image, src_image, srcImage); in lvp_CmdResolveImage()
1241 cmd->u.resolve_image.src = src_image; in lvp_CmdResolveImage()
/external/angle/src/libGLESv2/
Dcl_stubs.cpp870 cl_mem src_image, in EnqueueCopyImage() argument
880 src_image, dst_image, src_origin, dst_origin, region, num_events_in_wait_list, in EnqueueCopyImage()
885 cl_mem src_image, in EnqueueCopyImageToBuffer() argument
895 src_image, dst_buffer, src_origin, region, dst_offset, num_events_in_wait_list, in EnqueueCopyImageToBuffer()
Dentry_points_cl_autogen.cpp889 cl_mem src_image, in clEnqueueCopyImage() argument
904 (uintptr_t)command_queue, (uintptr_t)src_image, (uintptr_t)dst_image, in clEnqueueCopyImage()
908 ANGLE_CL_VALIDATE_ERROR(EnqueueCopyImage, command_queue, src_image, dst_image, src_origin, in clEnqueueCopyImage()
911 return EnqueueCopyImage(command_queue, src_image, dst_image, src_origin, dst_origin, region, in clEnqueueCopyImage()
916 cl_mem src_image, in clEnqueueCopyImageToBuffer() argument
931 (uintptr_t)command_queue, (uintptr_t)src_image, (uintptr_t)dst_buffer, in clEnqueueCopyImageToBuffer()
935 ANGLE_CL_VALIDATE_ERROR(EnqueueCopyImageToBuffer, command_queue, src_image, dst_buffer, in clEnqueueCopyImageToBuffer()
939 return EnqueueCopyImageToBuffer(command_queue, src_image, dst_buffer, src_origin, region, in clEnqueueCopyImageToBuffer()
/external/vulkan-validation-layers/tests/
Dvkrenderframework.cpp1281 VkResult VkImageObj::CopyImage(VkImageObj &src_image) { in CopyImage() argument
1291 src_image_layout = src_image.Layout(); in CopyImage()
1292 src_image.SetLayout(&cmd_buf, VK_IMAGE_ASPECT_COLOR_BIT, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL); in CopyImage()
1312 copy_region.extent = src_image.extent(); in CopyImage()
1314 …vkCmdCopyImage(cmd_buf.handle(), src_image.handle(), src_image.Layout(), handle(), Layout(), 1, &c… in CopyImage()
1316 src_image.SetLayout(&cmd_buf, VK_IMAGE_ASPECT_COLOR_BIT, src_image_layout); in CopyImage()
Dvklayertests_buffer_image_memory_sampler.cpp1444 VkImageObj src_image(m_device); in TEST_F() local
1445 src_image.init(&image_create_info); in TEST_F()
1446 src_image.SetLayout(VK_IMAGE_ASPECT_COLOR_BIT, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL); in TEST_F()
1456 …vkCmdBlitImage(m_commandBuffer->handle(), src_image.handle(), VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL… in TEST_F()
1467 VkImageObj src_image(m_device); in TEST_F() local
1468 src_image.init(&image_create_info); in TEST_F()
1469 src_image.SetLayout(VK_IMAGE_ASPECT_COLOR_BIT, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL); in TEST_F()
1479 …vkCmdBlitImage(m_commandBuffer->handle(), src_image.handle(), VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL… in TEST_F()
1521 vk_testing::Image src_image; in TEST_F() local
1522 src_image.init(*m_device, (const VkImageCreateInfo &)image_create_info, reqs); in TEST_F()
[all …]
Dvklayertests_command.cpp2703 VkImageObj src_image(m_device); in TEST_F() local
2704 src_image.init(&ci); in TEST_F()
2705 ASSERT_TRUE(src_image.initialized()); in TEST_F()
2731 …m_commandBuffer->CopyImage(src_image.image(), VK_IMAGE_LAYOUT_GENERAL, dst_image.image(), VK_IMAGE… in TEST_F()
2740 …m_commandBuffer->CopyImage(src_image.image(), VK_IMAGE_LAYOUT_GENERAL, dst_image.image(), VK_IMAGE… in TEST_F()
2749 …m_commandBuffer->CopyImage(src_image.image(), VK_IMAGE_LAYOUT_GENERAL, dst_image.image(), VK_IMAGE… in TEST_F()
2758 …m_commandBuffer->CopyImage(src_image.image(), VK_IMAGE_LAYOUT_GENERAL, dst_image.image(), VK_IMAGE… in TEST_F()
2795 VkImageObj src_image(m_device); in TEST_F() local
2796 src_image.init(&ci); in TEST_F()
2797 ASSERT_TRUE(src_image.initialized()); in TEST_F()
[all …]
/external/angle/src/libOpenCL/
DlibOpenCL_autogen.cpp435 cl_mem src_image, in clEnqueueCopyImage() argument
444 return cl::GetDispatch().clEnqueueCopyImage(command_queue, src_image, dst_image, src_origin, in clEnqueueCopyImage()
450 cl_mem src_image, in clEnqueueCopyImageToBuffer() argument
460 command_queue, src_image, dst_buffer, src_origin, region, dst_offset, in clEnqueueCopyImageToBuffer()
/external/angle/src/libANGLE/
DvalidationCL_autogen.h212 cl_mem src_image,
221 cl_mem src_image,
DvalidationCL.cpp1738 cl_mem src_image, in ValidateEnqueueCopyImage() argument
1751 ANGLE_CL_TRY(ValidateEnqueueImage(queue, src_image, false, false)); in ValidateEnqueueCopyImage()
1752 const Image &src = src_image->cast<Image>(); in ValidateEnqueueCopyImage()
1801 cl_mem src_image, in ValidateEnqueueCopyImageToBuffer() argument
1814 ANGLE_CL_TRY(ValidateEnqueueImage(queue, src_image, false, false)); in ValidateEnqueueCopyImageToBuffer()
1815 const Image &src = src_image->cast<Image>(); in ValidateEnqueueCopyImageToBuffer()

12