Home
last modified time | relevance | path

Searched refs:srcOffsets (Results 1 – 25 of 31) sorted by relevance

12

/external/mesa3d/src/gallium/drivers/zink/
Dzink_blit.c126 region.srcOffsets[0].x = info->src.box.x; in blit_native()
127 region.srcOffsets[0].y = info->src.box.y; in blit_native()
128 region.srcOffsets[1].x = info->src.box.x + info->src.box.width; in blit_native()
129 region.srcOffsets[1].y = info->src.box.y + info->src.box.height; in blit_native()
132 region.srcOffsets[0].z = 0; in blit_native()
133 region.srcOffsets[1].z = 1; in blit_native()
137 region.srcOffsets[0].z = info->src.box.z; in blit_native()
138 region.srcOffsets[1].z = info->src.box.z + info->src.box.depth; in blit_native()
/external/swiftshader/src/Device/
DBlitter.cpp1764 std::swap(region.srcOffsets[0].x, region.srcOffsets[1].x); in blit()
1770 std::swap(region.srcOffsets[0].y, region.srcOffsets[1].y); in blit()
1776 std::swap(region.srcOffsets[0].z, region.srcOffsets[1].z); in blit()
1784 float widthRatio = static_cast<float>(region.srcOffsets[1].x - region.srcOffsets[0].x) / in blit()
1786 float heightRatio = static_cast<float>(region.srcOffsets[1].y - region.srcOffsets[0].y) / in blit()
1788 float depthRatio = static_cast<float>(region.srcOffsets[1].z - region.srcOffsets[0].z) / in blit()
1790 float x0 = region.srcOffsets[0].x + (0.5f - region.dstOffsets[0].x) * widthRatio; in blit()
1791 float y0 = region.srcOffsets[0].y + (0.5f - region.dstOffsets[0].y) * heightRatio; in blit()
1792 float z0 = region.srcOffsets[0].z + (0.5f - region.dstOffsets[0].z) * depthRatio; in blit()
1805 state.clampToEdge = (region.srcOffsets[0].x < 0) || in blit()
[all …]
/external/mesa3d/src/freedreno/vulkan/
Dtu_clear_blit.c1010 bool mirror_x = (info->srcOffsets[1].x < info->srcOffsets[0].x) != in tu6_blit_image()
1012 bool mirror_y = (info->srcOffsets[1].y < info->srcOffsets[0].y) != in tu6_blit_image()
1014 bool mirror_z = (info->srcOffsets[1].z < info->srcOffsets[0].z) != in tu6_blit_image()
1022 if (info->srcOffsets[1].z - info->srcOffsets[0].z != in tu6_blit_image()
1028 layers = info->srcOffsets[1].z - info->srcOffsets[0].z; in tu6_blit_image()
1067 info->srcOffsets[0].x, info->srcOffsets[0].y, in tu6_blit_image()
1069 info->srcOffsets[1].x, info->srcOffsets[1].y in tu6_blit_image()
1078 A6XX_GRAS_2D_SRC_TL_X(MIN2(info->srcOffsets[0].x, info->srcOffsets[1].x)), in tu6_blit_image()
1079 A6XX_GRAS_2D_SRC_BR_X(MAX2(info->srcOffsets[0].x, info->srcOffsets[1].x) - 1), in tu6_blit_image()
1080 A6XX_GRAS_2D_SRC_TL_Y(MIN2(info->srcOffsets[0].y, info->srcOffsets[1].y)), in tu6_blit_image()
[all …]
/external/mesa3d/src/amd/vulkan/
Dradv_meta_blit.c587 src_start = region->srcOffsets[0].z; in blit_image()
588 src_end = region->srcOffsets[1].z; in blit_image()
610 unsigned src_x0 = region->srcOffsets[0].x; in blit_image()
611 unsigned src_x1 = region->srcOffsets[1].x; in blit_image()
615 unsigned src_y0 = region->srcOffsets[0].y; in blit_image()
616 unsigned src_y1 = region->srcOffsets[1].y; in blit_image()
719 .srcOffsets = { in radv_CmdBlitImage()
720 pRegions[r].srcOffsets[0], in radv_CmdBlitImage()
721 pRegions[r].srcOffsets[1], in radv_CmdBlitImage()
/external/libjpeg-turbo/
Dturbojpeg-jni.c331 int *srcOffsetsTmp = NULL, srcOffsets[3] = { 0, 0, 0 }; in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII() local
358 for (i = 0; i < nc; i++) srcOffsets[i] = srcOffsetsTmp[i]; in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII()
373 if (srcOffsets[i] < 0) in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII()
375 if (srcStrides[i] < 0 && srcOffsets[i] - planeSize + pw < 0) in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII()
380 srcOffsets[i] + planeSize) in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII()
385 srcPlanes[i] = &srcPlanesTmp[i][srcOffsets[i]]; in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII()
912 int *srcOffsetsTmp = NULL, srcOffsets[3] = { 0, 0, 0 }; in TJDecompressor_decodeYUV() local
940 for (i = 0; i < nc; i++) srcOffsets[i] = srcOffsetsTmp[i]; in TJDecompressor_decodeYUV()
955 if (srcOffsets[i] < 0) in TJDecompressor_decodeYUV()
957 if (srcStrides[i] < 0 && srcOffsets[i] - planeSize + pw < 0) in TJDecompressor_decodeYUV()
[all …]
/external/swiftshader/src/Pipeline/
DSpirvShaderMemory.cpp255 std::unordered_map<uint32_t, uint32_t> srcOffsets; in EmitCopyMemory() local
257 VisitMemoryObject(srcPtrId, [&](const MemoryElement &el) { srcOffsets[el.index] = el.offset; }); in EmitCopyMemory()
260 auto it = srcOffsets.find(el.index); in EmitCopyMemory()
261 ASSERT(it != srcOffsets.end()); in EmitCopyMemory()
/external/vulkan-validation-layers/layers/
Dbuffer_validation.cpp3214 …if ((rgn.srcOffsets[0].x == rgn.srcOffsets[1].x) || (rgn.srcOffsets[0].y == rgn.srcOffsets[1].y) || in PreCallValidateCmdBlitImage()
3215 (rgn.srcOffsets[0].z == rgn.srcOffsets[1].z)) { in PreCallValidateCmdBlitImage()
3264 if ((0 != rgn.srcOffsets[0].y) || (1 != rgn.srcOffsets[1].y)) { in PreCallValidateCmdBlitImage()
3270 i, rgn.srcOffsets[0].y, rgn.srcOffsets[1].y); in PreCallValidateCmdBlitImage()
3275 if ((0 != rgn.srcOffsets[0].z) || (1 != rgn.srcOffsets[1].z)) { in PreCallValidateCmdBlitImage()
3280 i, rgn.srcOffsets[0].z, rgn.srcOffsets[1].z); in PreCallValidateCmdBlitImage()
3285 … if ((rgn.srcOffsets[0].x < 0) || (rgn.srcOffsets[0].x > static_cast<int32_t>(src_extent.width)) || in PreCallValidateCmdBlitImage()
3286 … (rgn.srcOffsets[1].x < 0) || (rgn.srcOffsets[1].x > static_cast<int32_t>(src_extent.width))) { in PreCallValidateCmdBlitImage()
3292 rgn.srcOffsets[0].x, rgn.srcOffsets[1].x, src_extent.width); in PreCallValidateCmdBlitImage()
3294 …if ((rgn.srcOffsets[0].y < 0) || (rgn.srcOffsets[0].y > static_cast<int32_t>(src_extent.height)) || in PreCallValidateCmdBlitImage()
[all …]
/external/mesa3d/src/intel/vulkan/
Danv_blorp.c814 src_start = region->srcOffsets[0].z; in blit_image()
815 src_end = region->srcOffsets[1].z; in blit_image()
837 unsigned src_x0 = region->srcOffsets[0].x; in blit_image()
838 unsigned src_x1 = region->srcOffsets[1].x; in blit_image()
843 unsigned src_y0 = region->srcOffsets[0].y; in blit_image()
844 unsigned src_y1 = region->srcOffsets[1].y; in blit_image()
891 .srcOffsets = { in anv_CmdBlitImage()
892 pRegions[r].srcOffsets[0], in anv_CmdBlitImage()
893 pRegions[r].srcOffsets[1], in anv_CmdBlitImage()
Danv_dump.c158 .srcOffsets = { in dump_image_do_blit()
/external/vulkan-validation-layers/tests/
Dvklayertests_buffer_image_memory_sampler.cpp1434 blit_region.srcOffsets[0] = {0, 0, 0}; in TEST_F()
1435 blit_region.srcOffsets[1] = {256, 256, 1}; in TEST_F()
1601 blitRegion.srcOffsets[0] = {0, 0, 0}; in TEST_F()
1602 blitRegion.srcOffsets[1] = {64, 64, 1}; in TEST_F()
1721 blitRegion.srcOffsets[0] = {0, 0, 0}; in TEST_F()
1722 blitRegion.srcOffsets[1] = {48, 48, 1}; in TEST_F()
1803 blit_region.srcOffsets[0] = {0, 0, 0}; in TEST_F()
1804 blit_region.srcOffsets[1] = {48, 48, 1}; in TEST_F()
1967 blit_region.srcOffsets[0] = {0, 1, 0}; in TEST_F()
1968 blit_region.srcOffsets[1] = {30, 1, 1}; in TEST_F()
[all …]
Dvklayertests_command.cpp2006 blitRegion.srcOffsets[0] = {128, 0, 0}; in TEST_F()
2007 blitRegion.srcOffsets[1] = {128, 128, 1}; in TEST_F()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiCopiesAndBlittingTests.cpp173 imageBlit.srcOffsets[0].x, // VkOffset3D srcOffsets[0].x; in convertvkImageBlitTovkImageBlit2KHR()
174 imageBlit.srcOffsets[0].y, // VkOffset3D srcOffsets[0].y; in convertvkImageBlitTovkImageBlit2KHR()
175 imageBlit.srcOffsets[0].z // VkOffset3D srcOffsets[0].z; in convertvkImageBlitTovkImageBlit2KHR()
178 imageBlit.srcOffsets[1].x, // VkOffset3D srcOffsets[1].x; in convertvkImageBlitTovkImageBlit2KHR()
179 imageBlit.srcOffsets[1].y, // VkOffset3D srcOffsets[1].y; in convertvkImageBlitTovkImageBlit2KHR()
180 imageBlit.srcOffsets[1].z // VkOffset3D srcOffsets[1].z; in convertvkImageBlitTovkImageBlit2KHR()
2869 …const float xScale = static_cast<float>(blit.srcOffsets[1].x - blit.srcOffsets[0].x) / static_cast… in forEach()
2870 …const float yScale = static_cast<float>(blit.srcOffsets[1].y - blit.srcOffsets[0].y) / static_cast… in forEach()
2871 …const float zScale = static_cast<float>(blit.srcOffsets[1].z - blit.srcOffsets[0].z) / static_cast… in forEach()
2882 …ast<float>(x - blit.dstOffsets[0].x) + 0.5f) + static_cast<float>(blit.srcOffsets[0].x)) * srcInvW, in forEach()
[all …]
/external/mesa3d/src/broadcom/vulkan/
Dv3dv_meta_copy.c1031 .srcOffsets = { in copy_image_to_buffer_blit()
1529 .srcOffsets = { src_start, src_end }, in copy_image_blit()
2758 .srcOffsets = { in copy_buffer_to_image_blit()
3020 if (region->srcOffsets[0].x != 0 || region->srcOffsets[0].y != 0) in blit_tfu()
3035 if (region->srcOffsets[1].x != region->dstOffsets[1].x || in blit_tfu()
3036 region->srcOffsets[1].y != region->dstOffsets[1].y) { in blit_tfu()
3041 region->srcOffsets[1].z != region->dstOffsets[1].z) { in blit_tfu()
3069 compute_blit_3d_layers(region->srcOffsets, in blit_tfu()
4142 compute_blit_box(region.srcOffsets, in blit_shader()
4166 compute_blit_3d_layers(region.srcOffsets, in blit_shader()
[all …]
/external/skqp/src/gpu/vk/
DGrVkGpu.cpp1258 blitRegion.srcOffsets[0] = { 0, 0, 0 }; in onRegenerateMipMapLevels()
1259 blitRegion.srcOffsets[1] = { prevWidth, prevHeight, 1 }; in onRegenerateMipMapLevels()
1932 blitRegion.srcOffsets[0] = { srcVkRect.fLeft, srcVkRect.fTop, 0 }; in copySurfaceAsBlit()
1933 blitRegion.srcOffsets[1] = { srcVkRect.fRight, srcVkRect.fBottom, 1 }; in copySurfaceAsBlit()
/external/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_execute.c1739 srcX0 = blitcmd->regions[i].srcOffsets[0].x; in handle_blit_image()
1740 srcX1 = blitcmd->regions[i].srcOffsets[1].x; in handle_blit_image()
1741 srcY0 = blitcmd->regions[i].srcOffsets[0].y; in handle_blit_image()
1742 srcY1 = blitcmd->regions[i].srcOffsets[1].y; in handle_blit_image()
1743 srcZ0 = blitcmd->regions[i].srcOffsets[0].z; in handle_blit_image()
1744 srcZ1 = blitcmd->regions[i].srcOffsets[1].z; in handle_blit_image()
/external/skia/src/gpu/vk/
DGrVkGpu.cpp1439 blitRegion.srcOffsets[0] = { 0, 0, 0 }; in onRegenerateMipMapLevels()
1440 blitRegion.srcOffsets[1] = { prevWidth, prevHeight, 1 }; in onRegenerateMipMapLevels()
2220 blitRegion.srcOffsets[0] = { srcRect.fLeft, srcRect.fTop, 0 }; in copySurfaceAsBlit()
2221 blitRegion.srcOffsets[1] = { srcRect.fRight, srcRect.fBottom, 1 }; in copySurfaceAsBlit()
/external/angle/src/libANGLE/renderer/vulkan/
DFramebufferVk.cpp882 blit.srcOffsets[0] = {sourceArea.x0(), sourceArea.y0(), 0}; in blitWithCommand()
883 blit.srcOffsets[1] = {sourceArea.x1(), sourceArea.y1(), 1}; in blitWithCommand()
Dvk_helpers.cpp5277 blit.srcOffsets[0] = {0, 0, 0}; in generateMipmapsWithBlit()
5278 blit.srcOffsets[1] = {mipWidth, mipHeight, mipDepth}; in generateMipmapsWithBlit()
/external/deqp/external/vulkancts/framework/vulkan/
DvkStructTypes.inl1164 VkOffset3D srcOffsets[2]; member
3107 VkOffset3D srcOffsets[2]; member
/external/vulkan-headers/include/vulkan/
Dvulkan_core.h3077 VkOffset3D srcOffsets[2]; member
7536 VkOffset3D srcOffsets[2]; member
/external/swiftshader/include/vulkan/
Dvulkan_core.h3081 VkOffset3D srcOffsets[2]; member
7542 VkOffset3D srcOffsets[2]; member
/external/mesa3d/include/vulkan/
Dvulkan_core.h3077 VkOffset3D srcOffsets[2]; member
7536 VkOffset3D srcOffsets[2]; member
/external/deqp/external/vulkancts/scripts/src/
Dvulkan_core.h3387 VkOffset3D srcOffsets[2]; member
8189 VkOffset3D srcOffsets[2]; member
/external/angle/third_party/vulkan-deps/vulkan-headers/src/include/vulkan/
Dvulkan_structs.hpp7261 , srcOffsets( srcOffsets_ )
7297 srcOffsets = srcOffsets_; in setSrcOffsets()
7331 ( srcOffsets == rhs.srcOffsets ) && ( dstSubresource == rhs.dstSubresource ) && in operator ==()
7345 VULKAN_HPP_NAMESPACE::ArrayWrapper1D<VULKAN_HPP_NAMESPACE::Offset3D, 2> srcOffsets = {}; member
26689 , srcOffsets( srcOffsets_ )
26717 srcOffsets = srcOffsets_; in setSrcOffsets()
26749 return ( srcSubresource == rhs.srcSubresource ) && ( srcOffsets == rhs.srcOffsets ) && in operator ==()
26761 VULKAN_HPP_NAMESPACE::ArrayWrapper1D<VULKAN_HPP_NAMESPACE::Offset3D, 2> srcOffsets = {}; member
Dvulkan_core.h3421 VkOffset3D srcOffsets[2]; member
8235 VkOffset3D srcOffsets[2]; member

12