Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/state_tracker/
Dst_cb_copyimage.c541 struct gl_texture_image *src_image, in fallback_copy_image() argument
552 bool src_is_compressed = src_image && _mesa_is_format_compressed(src_image->TexFormat); in fallback_copy_image()
569 if (src_image) in fallback_copy_image()
570 line_bytes = _mesa_format_row_stride(src_image->TexFormat, src_w); in fallback_copy_image()
587 if (src_image) { in fallback_copy_image()
589 st->ctx, src_image, src_z, in fallback_copy_image()
612 if (src_image) { in fallback_copy_image()
613 st->ctx->Driver.UnmapTextureImage(st->ctx, src_image, src_z); in fallback_copy_image()
621 struct gl_texture_image *src_image, in st_CopyImageSubData() argument
639 if (src_image) { in st_CopyImageSubData()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_copy_image.c174 struct gl_texture_image *src_image, in intel_copy_image_sub_data() argument
186 if (src_image) { in intel_copy_image_sub_data()
187 src_mt = intel_texture_image(src_image)->mt; in intel_copy_image_sub_data()
188 src_level = src_image->Level + src_image->TexObject->MinLevel; in intel_copy_image_sub_data()
191 if (src_image->TexObject->Target == GL_TEXTURE_CUBE_MAP) in intel_copy_image_sub_data()
192 src_z = src_image->Face; in intel_copy_image_sub_data()
194 src_z += src_image->TexObject->MinLayer; in intel_copy_image_sub_data()
198 src_image = src_renderbuffer->TexImage; in intel_copy_image_sub_data()
/external/mesa3d/src/amd/vulkan/
Dradv_meta_resolve.c378 RADV_FROM_HANDLE(radv_image, src_image, src_image_h); in radv_CmdResolveImage()
396 if (regions[0].extent.width != src_image->extent.width || in radv_CmdResolveImage()
397 regions[0].extent.height != src_image->extent.height || in radv_CmdResolveImage()
398 regions[0].extent.depth != src_image->extent.depth) in radv_CmdResolveImage()
405 radv_fast_clear_flush_image_inplace(cmd_buffer, src_image); in radv_CmdResolveImage()
407 src_image, in radv_CmdResolveImage()
417 assert(src_image->samples > 1); in radv_CmdResolveImage()
420 if (src_image->samples >= 16) { in radv_CmdResolveImage()
428 if (src_image->array_size > 1) in radv_CmdResolveImage()
448 radv_meta_get_iview_layer(src_image, &region->srcSubresource, in radv_CmdResolveImage()
[all …]
Dradv_meta_copy.c314 RADV_FROM_HANDLE(radv_image, src_image, srcImage); in radv_CmdCopyImageToBuffer()
317 meta_copy_image_to_buffer(cmd_buffer, dst_buffer, src_image, in radv_CmdCopyImageToBuffer()
323 struct radv_image *src_image, in meta_copy_image() argument
336 assert(src_image->samples == dest_image->samples); in meta_copy_image()
348 blit_surf_for_image_level_layer(src_image, in meta_copy_image()
370 meta_region_offset_el(src_image, &pRegions[r].srcOffset); in meta_copy_image()
372 meta_region_extent_el(src_image, &pRegions[r].extent); in meta_copy_image()
424 RADV_FROM_HANDLE(radv_image, src_image, srcImage); in radv_CmdCopyImage()
427 meta_copy_image(cmd_buffer, src_image, dest_image, in radv_CmdCopyImage()
Dradv_meta_resolve_cs.c318 struct radv_image *src_image, in radv_meta_resolve_compute_image() argument
327 const uint32_t samples = src_image->samples; in radv_meta_resolve_compute_image()
339 radv_meta_get_iview_layer(src_image, &region->srcSubresource, in radv_meta_resolve_compute_image()
347 radv_sanitize_image_extent(src_image->type, region->extent); in radv_meta_resolve_compute_image()
349 radv_sanitize_image_offset(src_image->type, region->srcOffset); in radv_meta_resolve_compute_image()
361 .image = radv_image_to_handle(src_image), in radv_meta_resolve_compute_image()
362 .viewType = radv_meta_get_view_type(src_image), in radv_meta_resolve_compute_image()
363 .format = src_image->vk_format, in radv_meta_resolve_compute_image()
437 if (vk_format_is_int(src_image->vk_format)) in radv_meta_resolve_compute_image()
Dradv_meta_blit.c227 struct radv_image *src_image, in meta_emit_blit() argument
245 assert(src_image->samples == dest_image->samples); in meta_emit_blit()
364 switch (src_image->type) { in meta_emit_blit()
392 switch (src_image->type) { in meta_emit_blit()
419 switch (src_image->type) { in meta_emit_blit()
496 RADV_FROM_HANDLE(radv_image, src_image, srcImage); in radv_CmdBlitImage()
505 assert(src_image->samples == 1); in radv_CmdBlitImage()
518 .viewType = radv_meta_get_view_type(src_image), in radv_CmdBlitImage()
519 .format = src_image->vk_format, in radv_CmdBlitImage()
541 if (src_image->type == VK_IMAGE_TYPE_3D) { in radv_CmdBlitImage()
[all …]
Dradv_meta.h203 struct radv_image *src_image,
/external/libvpx/libvpx/test/
Dpp_filter_test.cc59 Buffer<uint8_t> src_image = Buffer<uint8_t>(block_width, block_height, 2); in TEST_P() local
74 src_image.SetPadding(10); in TEST_P()
75 src_image.Set(1); in TEST_P()
81 src_image.TopLeftPixel(), dst_image.TopLeftPixel(), src_image.stride(), in TEST_P()
109 Buffer<uint8_t> src_image = in TEST_P() local
133 src_image.SetPadding(10); in TEST_P()
134 src_image.Set(&rnd, &ACMRandom::Rand8); in TEST_P()
146 src_image.TopLeftPixel(), dst_image_ref.TopLeftPixel(), in TEST_P()
147 src_image.stride(), dst_image_ref.stride(), block_width, flimits, in TEST_P()
150 GetParam()(src_image.TopLeftPixel(), dst_image.TopLeftPixel(), in TEST_P()
[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/mesa3d/src/intel/vulkan/
Danv_blorp.c210 ANV_FROM_HANDLE(anv_image, src_image, srcImage); in anv_CmdCopyImage()
218 anv_sanitize_image_offset(src_image->type, pRegions[r].srcOffset); in anv_CmdCopyImage()
222 anv_sanitize_image_extent(src_image->type, pRegions[r].extent); in anv_CmdCopyImage()
235 if (src_image->type == VK_IMAGE_TYPE_3D) { in anv_CmdCopyImage()
240 anv_get_layerCount(src_image, &pRegions[r].srcSubresource)); in anv_CmdCopyImage()
251 get_blorp_surf_for_anv_image(src_image, aspect, src_image->aux_usage, in anv_CmdCopyImage()
384 ANV_FROM_HANDLE(anv_image, src_image, srcImage); in anv_CmdCopyImageToBuffer()
387 copy_buffer_to_image(cmd_buffer, dst_buffer, src_image, in anv_CmdCopyImageToBuffer()
424 ANV_FROM_HANDLE(anv_image, src_image, srcImage); in anv_CmdBlitImage()
448 get_blorp_surf_for_anv_image(src_image, src_res->aspectMask, in anv_CmdBlitImage()
[all …]
/external/vulkan-validation-layers/tests/
Dvkrenderframework.cpp751 VkResult VkImageObj::CopyImage(VkImageObj &src_image) { in CopyImage() argument
768 src_image_layout = src_image.layout(); in CopyImage()
769 src_image.SetLayout(&cmd_buf, VK_IMAGE_ASPECT_COLOR_BIT, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL); in CopyImage()
789 copy_region.extent = src_image.extent(); in CopyImage()
791 …vkCmdCopyImage(cmd_buf.handle(), src_image.handle(), src_image.layout(), handle(), layout(), 1, &c… in CopyImage()
793 src_image.SetLayout(&cmd_buf, VK_IMAGE_ASPECT_COLOR_BIT, src_image_layout); in CopyImage()
Dvkrenderframework.h272 VkResult CopyImage(VkImageObj &src_image);
Dlayer_validation_tests.cpp2444 vk_testing::Image src_image; in TEST_F() local
2445 src_image.init(*m_device, (const VkImageCreateInfo &)image_create_info, reqs); in TEST_F()
2454 …vkCmdBlitImage(m_commandBuffer->GetBufferHandle(), src_image.handle(), VK_IMAGE_LAYOUT_COLOR_ATTAC… in TEST_F()
2465 vk_testing::Image src_image; in TEST_F() local
2466 src_image.init(*m_device, (const VkImageCreateInfo &)image_create_info, reqs); in TEST_F()
2475 …vkCmdBlitImage(m_commandBuffer->GetBufferHandle(), src_image.handle(), VK_IMAGE_LAYOUT_COLOR_ATTAC… in TEST_F()
2517 vk_testing::Image src_image; in TEST_F() local
2518 src_image.init(*m_device, (const VkImageCreateInfo &)image_create_info, reqs); in TEST_F()
2523 …vkCmdCopyImageToBuffer(m_commandBuffer->GetBufferHandle(), src_image.handle(), VK_IMAGE_LAYOUT_TRA… in TEST_F()
2539 VkImageObj src_image(m_device); in TEST_F() local
[all …]
/external/mesa3d/src/gallium/state_trackers/clover/api/
Ddispatch.hpp372 cl_mem src_image,
383 cl_mem src_image,
/external/vulkan-validation-layers/layers/
Dimage.cpp759 bool PreCallValidateCmdCopyImage(VkCommandBuffer command_buffer, VkImage src_image, VkImage dst_ima… in PreCallValidateCmdCopyImage() argument
763 auto src_image_entry = getImageState(device_data, src_image); in PreCallValidateCmdCopyImage()
901 if (src_image == dst_image) { in PreCallValidateCmdCopyImage()