Home
last modified time | relevance | path

Searched refs:dst_image (Results 1 – 25 of 36) sorted by relevance

12

/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_copy_image.c73 struct gl_texture_image *dst_image, in intel_copy_image_sub_data() argument
98 if (dst_image) { in intel_copy_image_sub_data()
99 dst_mt = intel_texture_image(dst_image)->mt; in intel_copy_image_sub_data()
101 dst_level = dst_image->Level + dst_image->TexObject->MinLevel; in intel_copy_image_sub_data()
104 if (dst_image->TexObject->Target == GL_TEXTURE_CUBE_MAP) in intel_copy_image_sub_data()
105 dst_z = dst_image->Face; in intel_copy_image_sub_data()
107 dst_z += dst_image->TexObject->MinLayer; in intel_copy_image_sub_data()
111 dst_image = dst_renderbuffer->TexImage; in intel_copy_image_sub_data()
Dbrw_blorp.c705 struct gl_texture_image *dst_image, in brw_blorp_copytexsubimage() argument
713 struct intel_texture_image *intel_image = intel_texture_image(dst_image); in brw_blorp_copytexsubimage()
734 if (!brw_blorp_supports_dst_format(brw, dst_image->TexFormat)) in brw_blorp_copytexsubimage()
760 int dst_slice = slice + dst_image->TexObject->MinLayer + dst_image->Face; in brw_blorp_copytexsubimage()
761 int dst_level = dst_image->Level + dst_image->TexObject->MinLevel; in brw_blorp_copytexsubimage()
767 dst_image->TexFormat, in brw_blorp_copytexsubimage()
778 if (_mesa_get_format_bits(dst_image->TexFormat, GL_STENCIL_BITS) > 0 && in brw_blorp_copytexsubimage()
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_copyimage.c539 struct gl_texture_image *dst_image, in fallback_copy_image() argument
552 bool dst_is_compressed = dst_image && _mesa_is_format_compressed(dst_image->TexFormat); in fallback_copy_image()
556 if (dst_image) in fallback_copy_image()
557 _mesa_get_format_block_size(dst_image->TexFormat, &dst_blk_w, &dst_blk_h); in fallback_copy_image()
579 line_bytes = _mesa_format_row_stride(dst_image->TexFormat, dst_w); in fallback_copy_image()
581 if (dst_image) { in fallback_copy_image()
583 st->ctx, dst_image, dst_z, in fallback_copy_image()
613 if (dst_image) { in fallback_copy_image()
614 st->ctx->Driver.UnmapTextureImage(st->ctx, dst_image, dst_z); in fallback_copy_image()
631 struct gl_texture_image *dst_image, in st_CopyImageSubData() argument
[all …]
/external/mesa3d/src/amd/vulkan/
Dradv_meta_copy.c263 RADV_FROM_HANDLE(radv_image, dst_image, dstImage); in radv_CmdCopyBufferToImage()
277 copy_buffer_to_image(cmd_buffer, src_buffer, dst_image, in radv_CmdCopyBufferToImage()
288 RADV_FROM_HANDLE(radv_image, dst_image, pCopyBufferToImageInfo->dstImage); in radv_CmdCopyBufferToImage2KHR()
291 copy_buffer_to_image(cmd_buffer, src_buffer, dst_image, in radv_CmdCopyBufferToImage2KHR()
458 struct radv_image *dst_image, in copy_image() argument
471 assert(src_image->info.samples == dst_image->info.samples); in copy_image()
502 blit_surf_for_image_level_layer(dst_image, in copy_image()
507 uint32_t dst_queue_mask = radv_image_queue_family_mask(dst_image, in copy_image()
510 …bool dst_compressed = radv_layout_dcc_compressed(cmd_buffer->device, dst_image, dst_image_layout, … in copy_image()
521 radv_decompress_dcc(cmd_buffer, dst_image, &(VkImageSubresourceRange) { in copy_image()
[all …]
Dradv_meta_resolve.c427 struct radv_image *dst_image, in radv_meta_resolve_hardware_image() argument
443 assert(dst_image->info.samples == 1); in radv_meta_resolve_hardware_image()
448 unsigned fs_key = radv_format_meta_fs_key(dst_image->vk_format); in radv_meta_resolve_hardware_image()
468 radv_meta_get_iview_layer(dst_image, &region->dstSubresource, in radv_meta_resolve_hardware_image()
487 radv_sanitize_image_offset(dst_image->type, region->dstOffset); in radv_meta_resolve_hardware_image()
489 if (radv_dcc_enabled(dst_image, region->dstSubresource.mipLevel)) { in radv_meta_resolve_hardware_image()
498 radv_initialize_dcc(cmd_buffer, dst_image, &range, 0xffffffff); in radv_meta_resolve_hardware_image()
530 .image = radv_image_to_handle(dst_image), in radv_meta_resolve_hardware_image()
531 .viewType = radv_meta_get_view_type(dst_image), in radv_meta_resolve_hardware_image()
532 .format = dst_image->vk_format, in radv_meta_resolve_hardware_image()
[all …]
Dradv_meta_blit.c533 struct radv_image *dst_image, in blit_image() argument
551 assert(dst_image->info.samples == 1); in blit_image()
575 if (dst_image->type == VK_IMAGE_TYPE_3D) { in blit_image()
657 .image = radv_image_to_handle(dst_image), in blit_image()
658 .viewType = radv_meta_get_view_type(dst_image), in blit_image()
659 .format = dst_image->vk_format, in blit_image()
685 dst_image, &dst_iview, dst_image_layout, in blit_image()
713 RADV_FROM_HANDLE(radv_image, dst_image, dstImage); in radv_CmdBlitImage()
732 dst_image, dstImageLayout, in radv_CmdBlitImage()
743 RADV_FROM_HANDLE(radv_image, dst_image, pBlitImageInfo->dstImage); in radv_CmdBlitImage2KHR()
[all …]
Dradv_meta_resolve_cs.c994 struct radv_image *dst_image = dst_iview->image; in radv_depth_stencil_resolve_subpass_cs() local
1017 .image = radv_image_to_handle(dst_image), in radv_depth_stencil_resolve_subpass_cs()
1018 .viewType = radv_meta_get_view_type(dst_image), in radv_depth_stencil_resolve_subpass_cs()
1040 if (radv_image_has_htile(dst_image)) { in radv_depth_stencil_resolve_subpass_cs()
1051 if (vk_format_is_stencil(dst_image->vk_format) && in radv_depth_stencil_resolve_subpass_cs()
1061 radv_clear_htile(cmd_buffer, dst_image, &range, in radv_depth_stencil_resolve_subpass_cs()
/external/libvpx/libvpx/test/
Dpp_filter_test.cc85 Buffer<uint8_t> dst_image = in TEST_P() local
87 ASSERT_TRUE(dst_image.Init()); in TEST_P()
99 dst_image.Set(99); in TEST_P()
102 src_image.TopLeftPixel(), dst_image.TopLeftPixel(), src_image.stride(), in TEST_P()
103 dst_image.stride(), block_width_, flimits_, 16)); in TEST_P()
108 uint8_t *pixel_ptr = dst_image.TopLeftPixel(); in TEST_P()
114 pixel_ptr += dst_image.stride(); in TEST_P()
138 Buffer<uint8_t> dst_image = in TEST_P() local
140 ASSERT_TRUE(dst_image.Init()); in TEST_P()
164 dst_image.Set(0); in TEST_P()
[all …]
/external/mesa3d/src/intel/vulkan/
Danv_blorp.c299 struct anv_image *dst_image, in copy_image() argument
306 anv_sanitize_image_offset(dst_image->type, region->dstOffset); in copy_image()
312 if (dst_image->type == VK_IMAGE_TYPE_3D) { in copy_image()
318 anv_get_layerCount(dst_image, &region->dstSubresource); in copy_image()
346 dst_image, 1UL << aspect_bit, in copy_image()
350 anv_cmd_buffer_mark_image_written(cmd_buffer, dst_image, in copy_image()
365 dst_image, in copy_image()
383 get_blorp_surf_for_anv_image(cmd_buffer->device, dst_image, dst_mask, in copy_image()
387 anv_cmd_buffer_mark_image_written(cmd_buffer, dst_image, dst_mask, in copy_image()
401 dst_image, dst_mask, in copy_image()
[all …]
/external/vboot_reference/scripts/image_signing/
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/tools/android/test/jni/object_tracking/
Dtracked_object.cc24 Image<float>* const dst_image) { in InitNormalized() argument
26 CopyArea(src_image, scaled_box, dst_image); in InitNormalized()
27 NormalizeImage(dst_image); in InitNormalized()
/external/mesa3d/src/freedreno/vulkan/
Dtu_clear_blit.c996 struct tu_image *dst_image, in tu6_blit_image() argument
1042 if (dst_image->layout[0].nr_samples > 1 || in tu6_blit_image()
1051 VkFormat format = dst_image->vk_format; in tu6_blit_image()
1062 rotate[mirror_y][mirror_x], false, dst_image->layout[0].ubwc); in tu6_blit_image()
1085 tu_image_view_blit(&dst, dst_image, &info->dstSubresource, info->dstOffsets[0].z); in tu6_blit_image()
1110 TU_FROM_HANDLE(tu_image, dst_image, dstImage); in tu_CmdBlitImage()
1117 dst_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()
1160 struct tu_image *dst_image, in tu_copy_buffer_to_image() argument
[all …]
/external/tensorflow/tensorflow/compiler/jit/
Dencapsulate_subgraphs_pass.cc343 const Node* original_dst_node, Node** dst_image);
496 Node* dst_image = node_images.at(dst_node); in RecordArg() local
499 graph_->AddEdge(args_[arg_index], 0, dst_image, dst_slot); in RecordArg()
715 Node* dst_image = gtl::FindWithDefault(node_images, edge->dst(), 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()
883 const Node* original_dst_node, Node** dst_image) { in FindOutputImageOfEdgeDst() argument
887 *dst_image = subgraphs_.at(dst_func_id).GetCallNode(); in FindOutputImageOfEdgeDst()
891 *dst_image = node_images.at(original_dst_node); in FindOutputImageOfEdgeDst()
919 Node* dst_image; in CopyEdgeToOutputGraph() local
[all …]
/external/vulkan-validation-layers/tests/
Dvklayertests_buffer_image_memory_sampler.cpp1449 VkImageObj dst_image(m_device); in TEST_F() local
1450 dst_image.init(&image_create_info); in TEST_F()
1451 dst_image.SetLayout(VK_IMAGE_ASPECT_COLOR_BIT, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL); in TEST_F()
1456 …mandBuffer->handle(), src_image.handle(), VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, dst_image.handle(), in TEST_F()
1472 VkImageObj dst_image(m_device); in TEST_F() local
1473 dst_image.init(&image_create_info); in TEST_F()
1474 dst_image.SetLayout(VK_IMAGE_ASPECT_COLOR_BIT, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL); in TEST_F()
1479 …mandBuffer->handle(), src_image.handle(), VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, dst_image.handle(), in TEST_F()
1501 VkImageObj dst_image(m_device); in TEST_F() local
1502 dst_image.init(&image_create_info); in TEST_F()
[all …]
Dvkrenderframework.cpp1328 VkResult VkImageObj::CopyImageOut(VkImageObj &dst_image) { in CopyImageOut() argument
1339 …dest_image_layout = (dst_image.Layout() == VK_IMAGE_LAYOUT_UNDEFINED) ? VK_IMAGE_LAYOUT_GENERAL : in CopyImageOut()
1340 dst_image.SetLayout(&cmd_buf, VK_IMAGE_ASPECT_COLOR_BIT, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL); in CopyImageOut()
1357 copy_region.extent = dst_image.extent(); in CopyImageOut()
1359 …vkCmdCopyImage(cmd_buf.handle(), handle(), Layout(), dst_image.handle(), dst_image.Layout(), 1, &c… in CopyImageOut()
1363 dst_image.SetLayout(&cmd_buf, VK_IMAGE_ASPECT_COLOR_BIT, dest_image_layout); in CopyImageOut()
Dvklayertests_command.cpp2711 VkImageObj dst_image(m_device); in TEST_F() local
2712 dst_image.init(&ci); in TEST_F()
2713 ASSERT_TRUE(dst_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()
2787 VkImageObj dst_image(m_device); in TEST_F() local
2788 dst_image.init(&ci); in TEST_F()
2789 ASSERT_TRUE(dst_image.initialized()); in TEST_F()
[all …]
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shaderlib_tgsi.c760 struct ureg_dst dst_image = ureg_dst(image); in si_create_fmask_expand_cs() local
762 ureg_memory_insn(ureg, TGSI_OPCODE_STORE, &dst_image, 1, srcs, 2, TGSI_MEMORY_RESTRICT, in si_create_fmask_expand_cs()
/external/angle/src/libGLESv2/
Dcl_stubs.cpp871 cl_mem dst_image, in EnqueueCopyImage() argument
880 src_image, dst_image, src_origin, dst_origin, region, num_events_in_wait_list, in EnqueueCopyImage()
901 cl_mem dst_image, in EnqueueCopyBufferToImage() argument
910 src_buffer, dst_image, src_offset, dst_origin, region, num_events_in_wait_list, in EnqueueCopyBufferToImage()
Dentry_points_cl_autogen.cpp890 cl_mem dst_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()
945 cl_mem dst_image, in clEnqueueCopyBufferToImage() argument
959 (uintptr_t)command_queue, (uintptr_t)src_buffer, (uintptr_t)dst_image, src_offset, in clEnqueueCopyBufferToImage()
963 ANGLE_CL_VALIDATE_ERROR(EnqueueCopyBufferToImage, command_queue, src_buffer, dst_image, in clEnqueueCopyBufferToImage()
967 return EnqueueCopyBufferToImage(command_queue, src_buffer, dst_image, src_offset, dst_origin, in clEnqueueCopyBufferToImage()
Dcl_stubs_autogen.h397 cl_mem dst_image,
415 cl_mem dst_image,
Dentry_points_cl_autogen.h222 cl_mem dst_image,
240 cl_mem dst_image,
/external/angle/src/libOpenCL/
DlibOpenCL_autogen.cpp436 cl_mem dst_image, in clEnqueueCopyImage() argument
444 return cl::GetDispatch().clEnqueueCopyImage(command_queue, src_image, dst_image, src_origin, in clEnqueueCopyImage()
466 cl_mem dst_image, in clEnqueueCopyBufferToImage() argument
475 command_queue, src_buffer, dst_image, src_offset, dst_origin, region, in clEnqueueCopyBufferToImage()
/external/angle/src/libANGLE/
DvalidationCL_autogen.h213 cl_mem dst_image,
231 cl_mem dst_image,
DvalidationCL.cpp1739 cl_mem dst_image, in ValidateEnqueueCopyImage() argument
1754 ANGLE_CL_TRY(ValidateEnqueueImage(queue, dst_image, false, false)); in ValidateEnqueueCopyImage()
1755 const Image &dst = dst_image->cast<Image>(); in ValidateEnqueueCopyImage()
1850 cl_mem dst_image, in ValidateEnqueueCopyBufferToImage() argument
1865 ANGLE_CL_TRY(ValidateEnqueueImage(queue, dst_image, false, false)); in ValidateEnqueueCopyBufferToImage()
1866 const Image &dst = dst_image->cast<Image>(); in ValidateEnqueueCopyBufferToImage()
/external/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_cmd_buffer.c927 LVP_FROM_HANDLE(lvp_image, dst_image, destImage); in lvp_CmdCopyBufferToImage()
936 cmd->u.buffer_to_img.dst = dst_image; in lvp_CmdCopyBufferToImage()
1233 LVP_FROM_HANDLE(lvp_image, dst_image, destImage); in lvp_CmdResolveImage()
1242 cmd->u.resolve_image.dst = dst_image; in lvp_CmdResolveImage()

12