Home
last modified time | relevance | path

Searched refs:dstOffsets (Results 1 – 25 of 50) sorted by relevance

12

/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_blit.c220 region.dstOffsets[0].x = info->dst.box.x; in blit_native()
221 region.dstOffsets[0].y = info->dst.box.y; in blit_native()
222 region.dstOffsets[1].x = info->dst.box.x + info->dst.box.width; in blit_native()
223 region.dstOffsets[1].y = info->dst.box.y + info->dst.box.height; in blit_native()
224 assert(region.dstOffsets[0].x != region.dstOffsets[1].x); in blit_native()
225 assert(region.dstOffsets[0].y != region.dstOffsets[1].y); in blit_native()
238 region.dstOffsets[0].z = 0; in blit_native()
239 region.dstOffsets[1].z = 1; in blit_native()
245 region.dstOffsets[0].z = info->dst.box.z; in blit_native()
246 region.dstOffsets[1].z = info->dst.box.z + info->dst.box.depth; in blit_native()
[all …]
/third_party/vk-gl-cts/external/vulkan-docs/src/chapters/commonvalidity/
Dblit_image_common.adoc172 For each element of pname:pRegions, pname:dstOffsets[0].x and
173 pname:dstOffsets[1].x must: both be greater than or equal to `0` and
177 For each element of pname:pRegions, pname:dstOffsets[0].y and
178 pname:dstOffsets[1].y must: both be greater than or equal to `0` and
183 element of pname:pRegions, pname:dstOffsets[0].y must: be `0` and
184 pname:dstOffsets[1].y must: be `1`
186 For each element of pname:pRegions, pname:dstOffsets[0].z and
187 pname:dstOffsets[1].z must: both be greater than or equal to `0` and
193 pname:dstOffsets[0].z must: be `0` and pname:dstOffsets[1].z must: be
Dblit_image_common.txt172 For each element of pname:pRegions, pname:dstOffsets[0].x and
173 pname:dstOffsets[1].x must: both be greater than or equal to `0` and
177 For each element of pname:pRegions, pname:dstOffsets[0].y and
178 pname:dstOffsets[1].y must: both be greater than or equal to `0` and
183 element of pname:pRegions, pname:dstOffsets[0].y must: be `0` and
184 pname:dstOffsets[1].y must: be `1`
186 For each element of pname:pRegions, pname:dstOffsets[0].z and
187 pname:dstOffsets[1].z must: both be greater than or equal to `0` and
193 pname:dstOffsets[0].z must: be `0` and pname:dstOffsets[1].z must: be
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_meta_blit.c164 region->dstOffsets[0].x, in panvk_per_arch()
165 region->dstOffsets[0].y, in panvk_per_arch()
166 region->dstOffsets[0].z, in panvk_per_arch()
170 region->dstOffsets[1].x, in panvk_per_arch()
171 region->dstOffsets[1].y, in panvk_per_arch()
172 region->dstOffsets[1].z, in panvk_per_arch()
/third_party/skia/third_party/externals/swiftshader/src/Device/
DBlitter.cpp1846 if(region.dstOffsets[0].x > region.dstOffsets[1].x) in blit()
1849 std::swap(region.dstOffsets[0].x, region.dstOffsets[1].x); in blit()
1852 if(region.dstOffsets[0].y > region.dstOffsets[1].y) in blit()
1855 std::swap(region.dstOffsets[0].y, region.dstOffsets[1].y); in blit()
1858 if(region.dstOffsets[0].z > region.dstOffsets[1].z) in blit()
1861 std::swap(region.dstOffsets[0].z, region.dstOffsets[1].z); in blit()
1869 static_cast<float>(region.dstOffsets[1].x - region.dstOffsets[0].x); in blit()
1871 static_cast<float>(region.dstOffsets[1].y - region.dstOffsets[0].y); in blit()
1873 static_cast<float>(region.dstOffsets[1].z - region.dstOffsets[0].z); in blit()
1874 float x0 = region.srcOffsets[0].x + (0.5f - region.dstOffsets[0].x) * widthRatio; in blit()
[all …]
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/
Dturbojpeg-jni.c398 int *dstOffsets = NULL, *dstStrides = NULL; in TJCompressor_encodeYUV() local
423 bailif0(dstOffsets = (*env)->GetPrimitiveArrayCritical(env, jDstOffsets, 0)); in TJCompressor_encodeYUV()
432 if (dstOffsets[i] < 0) in TJCompressor_encodeYUV()
434 if (dstStrides[i] < 0 && dstOffsets[i] - planeSize + pw < 0) in TJCompressor_encodeYUV()
438 if ((*env)->GetArrayLength(env, jDstPlanes[i]) < dstOffsets[i] + planeSize) in TJCompressor_encodeYUV()
443 dstPlanes[i] = &dstPlanes[i][dstOffsets[i]]; in TJCompressor_encodeYUV()
461 if (dstOffsets) in TJCompressor_encodeYUV()
462 (*env)->ReleasePrimitiveArrayCritical(env, jDstOffsets, dstOffsets, 0); in TJCompressor_encodeYUV()
755 int *dstOffsets = NULL, *dstStrides = NULL; in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III() local
789 bailif0(dstOffsets = (*env)->GetPrimitiveArrayCritical(env, jDstOffsets, 0)); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III()
[all …]
/third_party/mesa3d/src/vulkan/runtime/
Dvk_cmd_copy.c214 .dstOffsets = { in vk_common_CmdBlitImage()
215 pRegions[r].dstOffsets[0], in vk_common_CmdBlitImage()
216 pRegions[r].dstOffsets[1], in vk_common_CmdBlitImage()
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_clear_blit.c1515 uint32_t layers = info->dstOffsets[1].z - info->dstOffsets[0].z; in tu6_blit_image()
1524 (info->dstOffsets[1].x < info->dstOffsets[0].x); in tu6_blit_image()
1526 (info->dstOffsets[1].y < info->dstOffsets[0].y); in tu6_blit_image()
1532 info->dstOffsets[1].z - info->dstOffsets[0].z) || in tu6_blit_image()
1537 if (info->dstOffsets[1].z < info->dstOffsets[0].z) { in tu6_blit_image()
1538 layers = info->dstOffsets[0].z - info->dstOffsets[1].z; in tu6_blit_image()
1585 info->dstOffsets[0].x, info->dstOffsets[0].y, in tu6_blit_image()
1587 info->dstOffsets[1].x, info->dstOffsets[1].y, in tu6_blit_image()
1592 A6XX_GRAS_2D_DST_TL(.x = MIN2(info->dstOffsets[0].x, info->dstOffsets[1].x), in tu6_blit_image()
1593 .y = MIN2(info->dstOffsets[0].y, info->dstOffsets[1].y)), in tu6_blit_image()
[all …]
/third_party/libjpeg-turbo/
Dturbojpeg-jni.c422 int dstOffsets[3] = { 0, 0, 0 }, dstStrides[3] = { 0, 0, 0 }; in TJCompressor_encodeYUV() local
450 dstOffsets[i] = dstOffsetsTmp[i]; in TJCompressor_encodeYUV()
464 if (dstOffsets[i] < 0) in TJCompressor_encodeYUV()
466 if (dstStrides[i] < 0 && dstOffsets[i] - planeSize + pw < 0) in TJCompressor_encodeYUV()
471 dstOffsets[i] + planeSize) in TJCompressor_encodeYUV()
477 dstPlanes[i] = &dstPlanesTmp[i][dstOffsets[i]]; in TJCompressor_encodeYUV()
796 int dstOffsets[3] = { 0, 0, 0 }, dstStrides[3] = { 0, 0, 0 }; in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III() local
833 dstOffsets[i] = dstOffsetsTmp[i]; in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III()
848 if (dstOffsets[i] < 0) in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III()
850 if (dstStrides[i] < 0 && dstOffsets[i] - planeSize + pw < 0) in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III()
[all …]
/third_party/skia/third_party/externals/libjpeg-turbo/
Dturbojpeg-jni.c413 int *dstOffsetsTmp = NULL, dstOffsets[3] = { 0, 0, 0 }; in TJCompressor_encodeYUV() local
441 for (i = 0; i < nc; i++) dstOffsets[i] = dstOffsetsTmp[i]; in TJCompressor_encodeYUV()
456 if (dstOffsets[i] < 0) in TJCompressor_encodeYUV()
458 if (dstStrides[i] < 0 && dstOffsets[i] - planeSize + pw < 0) in TJCompressor_encodeYUV()
463 dstOffsets[i] + planeSize) in TJCompressor_encodeYUV()
468 dstPlanes[i] = &dstPlanesTmp[i][dstOffsets[i]]; in TJCompressor_encodeYUV()
783 int *dstOffsetsTmp = NULL, dstOffsets[3] = { 0, 0, 0 }; in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III() local
820 for (i = 0; i < nc; i++) dstOffsets[i] = dstOffsetsTmp[i]; in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III()
836 if (dstOffsets[i] < 0) in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III()
838 if (dstStrides[i] < 0 && dstOffsets[i] - planeSize + pw < 0) in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III()
[all …]
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkStructConversion.hpp113 { pRegions[i].dstOffsets[0], pRegions[i].dstOffsets[1] }
/third_party/mesa3d/src/amd/vulkan/
Dradv_meta_blit.c498 dst_start = region->dstOffsets[0].z; in blit_image()
499 dst_end = region->dstOffsets[1].z; in blit_image()
532 unsigned dst_x0 = region->dstOffsets[0].x; in blit_image()
533 unsigned dst_x1 = region->dstOffsets[1].x; in blit_image()
537 unsigned dst_y0 = region->dstOffsets[0].y; in blit_image()
538 unsigned dst_y1 = region->dstOffsets[1].y; in blit_image()
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/
DTJCompressor.java632 int[] dstOffsets, int[] dstStrides, int subsamp, int flags) in encodeYUV() argument
644 int[] dstOffsets, int[] dstStrides, int subsamp, int flags) in encodeYUV() argument
DTJDecompressor.java907 byte[][] dstPlanes, int[] dstOffsets, int desiredWidth, int[] dstStrides, in decompressToYUV() argument
/third_party/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/
DTJCompressor.java639 int[] dstOffsets, int[] dstStrides, int subsamp, int flags) in encodeYUV() argument
651 int[] dstOffsets, int[] dstStrides, int subsamp, int flags) in encodeYUV() argument
DTJDecompressor.java916 byte[][] dstPlanes, int[] dstOffsets, int desiredWidth, int[] dstStrides, in decompressToYUV() argument
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_meta_copy.c715 .dstOffsets = { in copy_image_to_buffer_blit()
1152 .dstOffsets = { dst_start, dst_end }, in copy_image_blit()
2489 .dstOffsets = { in copy_buffer_to_image_blit()
2831 if (region->dstOffsets[0].x != 0 || region->dstOffsets[0].y != 0) in blit_tfu()
2837 if (region->dstOffsets[1].x < dst_width - 1|| in blit_tfu()
2838 region->dstOffsets[1].y < dst_height - 1) { in blit_tfu()
2843 if (region->srcOffsets[1].x != region->dstOffsets[1].x || in blit_tfu()
2844 region->srcOffsets[1].y != region->dstOffsets[1].y) { in blit_tfu()
2875 compute_blit_3d_layers(region->dstOffsets, in blit_tfu()
3891 compute_blit_box(region->dstOffsets, in blit_shader()
[all …]
/third_party/mesa3d/src/intel/vulkan/
Danv_blorp.c690 dst_start = region->dstOffsets[0].z; in blit_image()
691 dst_end = region->dstOffsets[1].z; in blit_image()
727 unsigned dst_x0 = region->dstOffsets[0].x; in blit_image()
728 unsigned dst_x1 = region->dstOffsets[1].x; in blit_image()
733 unsigned dst_y0 = region->dstOffsets[0].y; in blit_image()
734 unsigned dst_y1 = region->dstOffsets[1].y; in blit_image()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
DvktApiCopiesAndBlittingTests.cpp211 imageBlit.dstOffsets[0].x, // VkOffset3D dstOffsets[0].x; in convertvkImageBlitTovkImageBlit2KHR()
212 imageBlit.dstOffsets[0].y, // VkOffset3D dstOffsets[0].y; in convertvkImageBlitTovkImageBlit2KHR()
213 imageBlit.dstOffsets[0].z // VkOffset3D dstOffsets[0].z; in convertvkImageBlitTovkImageBlit2KHR()
216 imageBlit.dstOffsets[1].x, // VkOffset3D dstOffsets[1].x; in convertvkImageBlitTovkImageBlit2KHR()
217 imageBlit.dstOffsets[1].y, // VkOffset3D dstOffsets[1].y; in convertvkImageBlitTovkImageBlit2KHR()
218 imageBlit.dstOffsets[1].z // VkOffset3D dstOffsets[1].z; in convertvkImageBlitTovkImageBlit2KHR()
3791 const int xStart = deMin32(blit.dstOffsets[0].x, blit.dstOffsets[1].x); in forEach()
3792 const int yStart = deMin32(blit.dstOffsets[0].y, blit.dstOffsets[1].y); in forEach()
3793 const int zStart = deMin32(blit.dstOffsets[0].z, blit.dstOffsets[1].z); in forEach()
3794 const int xEnd = deMax32(blit.dstOffsets[0].x, blit.dstOffsets[1].x); in forEach()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiCopiesAndBlittingTests.cpp211 imageBlit.dstOffsets[0].x, // VkOffset3D dstOffsets[0].x; in convertvkImageBlitTovkImageBlit2KHR()
212 imageBlit.dstOffsets[0].y, // VkOffset3D dstOffsets[0].y; in convertvkImageBlitTovkImageBlit2KHR()
213 imageBlit.dstOffsets[0].z // VkOffset3D dstOffsets[0].z; in convertvkImageBlitTovkImageBlit2KHR()
216 imageBlit.dstOffsets[1].x, // VkOffset3D dstOffsets[1].x; in convertvkImageBlitTovkImageBlit2KHR()
217 imageBlit.dstOffsets[1].y, // VkOffset3D dstOffsets[1].y; in convertvkImageBlitTovkImageBlit2KHR()
218 imageBlit.dstOffsets[1].z // VkOffset3D dstOffsets[1].z; in convertvkImageBlitTovkImageBlit2KHR()
3791 const int xStart = deMin32(blit.dstOffsets[0].x, blit.dstOffsets[1].x); in forEach()
3792 const int yStart = deMin32(blit.dstOffsets[0].y, blit.dstOffsets[1].y); in forEach()
3793 const int zStart = deMin32(blit.dstOffsets[0].z, blit.dstOffsets[1].z); in forEach()
3794 const int xEnd = deMax32(blit.dstOffsets[0].x, blit.dstOffsets[1].x); in forEach()
[all …]
/third_party/mesa3d/src/microsoft/vulkan/
Ddzn_cmd_buffer.c2133 dst, &region->dstSubresource, region->dstOffsets, in dzn_cmd_buffer_blit_region()
2137 region->dstOffsets[1].z > region->dstOffsets[0].z ? in dzn_cmd_buffer_blit_region()
2138 region->dstOffsets[1].z - region->dstOffsets[0].z : in dzn_cmd_buffer_blit_region()
2139 region->dstOffsets[0].z - region->dstOffsets[1].z; in dzn_cmd_buffer_blit_region()
2155 dst_is_3d ? region->dstOffsets[0].z : region->dstSubresource.baseArrayLayer; in dzn_cmd_buffer_blit_region()
2156 if (region->dstOffsets[0].z > region->dstOffsets[1].z) in dzn_cmd_buffer_blit_region()
2159 uint32_t dst_slice_step = region->dstOffsets[0].z < region->dstOffsets[1].z ? in dzn_cmd_buffer_blit_region()
3075 .dstOffsets = { in dzn_CmdCopyImage2()
3084 blit_regions[r].dstOffsets[1].x += info->pRegions[r].extent.width; in dzn_CmdCopyImage2()
3085 blit_regions[r].dstOffsets[1].y += info->pRegions[r].extent.height; in dzn_CmdCopyImage2()
[all …]
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DSwapChainVk.cpp492 region.dstOffsets[0] = {0, 0, 0}; in PresentImpl()
493 region.dstOffsets[1] = {static_cast<int32_t>(mTexture->GetWidth()), in PresentImpl()
/third_party/skia/src/gpu/vk/
DGrVkGpu.cpp1463 blitRegion.dstOffsets[0] = { 0, 0, 0 }; in onRegenerateMipMapLevels()
1464 blitRegion.dstOffsets[1] = { width, height, 1 }; in onRegenerateMipMapLevels()
2262 blitRegion.dstOffsets[0] = { dstRect.fLeft, dstRect.fTop, 0 }; in copySurfaceAsBlit()
2263 blitRegion.dstOffsets[1] = { dstRect.fRight, dstRect.fBottom, 1 }; in copySurfaceAsBlit()
/third_party/flutter/skia/src/gpu/vk/
DGrVkGpu.cpp1430 blitRegion.dstOffsets[0] = { 0, 0, 0 }; in onRegenerateMipMapLevels()
1431 blitRegion.dstOffsets[1] = { width, height, 1 }; in onRegenerateMipMapLevels()
2178 blitRegion.dstOffsets[0] = { dstRect.fLeft, dstRect.fTop, 0 }; in copySurfaceAsBlit()
2179 blitRegion.dstOffsets[1] = { dstRect.fRight, dstRect.fBottom, 1 }; in copySurfaceAsBlit()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DFramebufferVk.cpp590 blit.dstOffsets[0] = {destArea.x0(), destArea.y0(), 0}; in blitWithCommand()
591 blit.dstOffsets[1] = {destArea.x1(), destArea.y1(), 1}; in blitWithCommand()

12