Home
last modified time | relevance | path

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

/external/swiftshader/src/Vulkan/
DVkImage.cpp461 int32_t numSlices = (region.srcOffsets[1].z - region.srcOffsets[0].z); in blit()
467 …sw::SliceRectF sRect(static_cast<float>(region.srcOffsets[0].x), static_cast<float>(region.srcOffs… in blit()
468 … static_cast<float>(region.srcOffsets[1].x), static_cast<float>(region.srcOffsets[1].y), in blit()
469 region.srcOffsets[0].z); in blit()
/external/libjpeg-turbo/
Dturbojpeg-jni.c323 int *srcOffsets = NULL, *srcStrides = NULL; in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII() local
346 BAILIF0(srcOffsets = (*env)->GetPrimitiveArrayCritical(env, jSrcOffsets, 0)); in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII()
355 if (srcOffsets[i] < 0) in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII()
357 if (srcStrides[i] < 0 && srcOffsets[i] - planeSize + pw < 0) in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII()
361 if ((*env)->GetArrayLength(env, jSrcPlanes[i]) < srcOffsets[i] + planeSize) in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII()
366 srcPlanes[i] = &srcPlanes[i][srcOffsets[i]]; in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII()
384 if (srcOffsets) in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII()
385 (*env)->ReleasePrimitiveArrayCritical(env, jSrcOffsets, srcOffsets, 0); in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII()
877 int *srcOffsets = NULL, *srcStrides = NULL; in TJDecompressor_decodeYUV() local
901 BAILIF0(srcOffsets = (*env)->GetPrimitiveArrayCritical(env, jSrcOffsets, 0)); in TJDecompressor_decodeYUV()
[all …]
/external/vulkan-validation-layers/layers/
Dbuffer_validation.cpp3171 …if ((rgn.srcOffsets[0].x == rgn.srcOffsets[1].x) || (rgn.srcOffsets[0].y == rgn.srcOffsets[1].y) || in PreCallValidateCmdBlitImage()
3172 (rgn.srcOffsets[0].z == rgn.srcOffsets[1].z)) { in PreCallValidateCmdBlitImage()
3221 if ((0 != rgn.srcOffsets[0].y) || (1 != rgn.srcOffsets[1].y)) { in PreCallValidateCmdBlitImage()
3227 i, rgn.srcOffsets[0].y, rgn.srcOffsets[1].y); in PreCallValidateCmdBlitImage()
3232 if ((0 != rgn.srcOffsets[0].z) || (1 != rgn.srcOffsets[1].z)) { in PreCallValidateCmdBlitImage()
3237 i, rgn.srcOffsets[0].z, rgn.srcOffsets[1].z); in PreCallValidateCmdBlitImage()
3242 … if ((rgn.srcOffsets[0].x < 0) || (rgn.srcOffsets[0].x > static_cast<int32_t>(src_extent.width)) || in PreCallValidateCmdBlitImage()
3243 … (rgn.srcOffsets[1].x < 0) || (rgn.srcOffsets[1].x > static_cast<int32_t>(src_extent.width))) { in PreCallValidateCmdBlitImage()
3249 rgn.srcOffsets[0].x, rgn.srcOffsets[1].x, src_extent.width); in PreCallValidateCmdBlitImage()
3251 …if ((rgn.srcOffsets[0].y < 0) || (rgn.srcOffsets[0].y > static_cast<int32_t>(src_extent.height)) || in PreCallValidateCmdBlitImage()
[all …]
/external/mesa3d/src/amd/vulkan/
Dradv_meta_blit.c542 src_start = pRegions[r].srcOffsets[0].z; in radv_CmdBlitImage()
543 src_end = pRegions[r].srcOffsets[1].z; in radv_CmdBlitImage()
558 unsigned src_x0 = pRegions[r].srcOffsets[0].x; in radv_CmdBlitImage()
559 unsigned src_x1 = pRegions[r].srcOffsets[1].x; in radv_CmdBlitImage()
563 unsigned src_y0 = pRegions[r].srcOffsets[0].y; in radv_CmdBlitImage()
564 unsigned src_y1 = pRegions[r].srcOffsets[1].y; in radv_CmdBlitImage()
/external/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/
DTJDecompressor.java910 private native void decodeYUV(byte[][] srcPlanes, int[] srcOffsets, in decodeYUV() argument
914 private native void decodeYUV(byte[][] srcPlanes, int[] srcOffsets, in decodeYUV() argument
DTJCompressor.java618 private native int compressFromYUV(byte[][] srcPlanes, int[] srcOffsets, in compressFromYUV() argument
/external/mesa3d/src/intel/vulkan/
Danv_blorp.c520 src_start = pRegions[r].srcOffsets[0].z; in anv_CmdBlitImage()
521 src_end = pRegions[r].srcOffsets[1].z; in anv_CmdBlitImage()
536 unsigned src_x0 = pRegions[r].srcOffsets[0].x; in anv_CmdBlitImage()
537 unsigned src_x1 = pRegions[r].srcOffsets[1].x; in anv_CmdBlitImage()
542 unsigned src_y0 = pRegions[r].srcOffsets[0].y; in anv_CmdBlitImage()
543 unsigned src_y1 = pRegions[r].srcOffsets[1].y; in anv_CmdBlitImage()
Danv_dump.c158 .srcOffsets = { in dump_image_do_blit()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiCopiesAndBlittingTests.cpp2057 …const float xScale = static_cast<float>(blit.srcOffsets[1].x - blit.srcOffsets[0].x) / static_cast… in forEach()
2058 …const float yScale = static_cast<float>(blit.srcOffsets[1].y - blit.srcOffsets[0].y) / static_cast… in forEach()
2068 …ast<float>(x - blit.dstOffsets[0].x) + 0.5f) + static_cast<float>(blit.srcOffsets[0].x)) * srcInvW, in forEach()
2069 …cast<float>(y - blit.dstOffsets[0].y) + 0.5f) + static_cast<float>(blit.srcOffsets[0].y)) * srcInvH in forEach()
2420 const VkOffset3D srcOffset0 = region.imageBlit.srcOffsets[0]; in flipCoordinates()
2421 const VkOffset3D srcOffset1 = region.imageBlit.srcOffsets[1]; in flipCoordinates()
2426 region.imageBlit.srcOffsets[0].x = std::min(srcOffset0.x, srcOffset1.x); in flipCoordinates()
2427 region.imageBlit.srcOffsets[0].y = std::min(srcOffset0.y, srcOffset1.y); in flipCoordinates()
2429 region.imageBlit.srcOffsets[1].x = std::max(srcOffset0.x, srcOffset1.x); in flipCoordinates()
2430 region.imageBlit.srcOffsets[1].y = std::max(srcOffset0.y, srcOffset1.y); in flipCoordinates()
[all …]
/external/skqp/src/gpu/vk/
DGrVkGpu.cpp1250 blitRegion.srcOffsets[0] = { 0, 0, 0 }; in onRegenerateMipMapLevels()
1251 blitRegion.srcOffsets[1] = { prevWidth, prevHeight, 1 }; in onRegenerateMipMapLevels()
1924 blitRegion.srcOffsets[0] = { srcVkRect.fLeft, srcVkRect.fTop, 0 }; in copySurfaceAsBlit()
1925 blitRegion.srcOffsets[1] = { srcVkRect.fRight, srcVkRect.fBottom, 1 }; in copySurfaceAsBlit()
/external/skia/src/gpu/vk/
DGrVkGpu.cpp1262 blitRegion.srcOffsets[0] = { 0, 0, 0 }; in onRegenerateMipMapLevels()
1263 blitRegion.srcOffsets[1] = { prevWidth, prevHeight, 1 }; in onRegenerateMipMapLevels()
1966 blitRegion.srcOffsets[0] = { srcVkRect.fLeft, srcVkRect.fTop, 0 }; in copySurfaceAsBlit()
1967 blitRegion.srcOffsets[1] = { srcVkRect.fRight, srcVkRect.fBottom, 1 }; in copySurfaceAsBlit()
/external/vulkan-validation-layers/tests/
Dlayer_validation_tests.cpp3845 blit_region.srcOffsets[0] = {0, 0, 0}; in TEST_F()
3846 blit_region.srcOffsets[1] = {256, 256, 1}; in TEST_F()
4012 blitRegion.srcOffsets[0] = {0, 0, 0}; in TEST_F()
4013 blitRegion.srcOffsets[1] = {64, 64, 1}; in TEST_F()
4132 blitRegion.srcOffsets[0] = {0, 0, 0}; in TEST_F()
4133 blitRegion.srcOffsets[1] = {48, 48, 1}; in TEST_F()
4214 blit_region.srcOffsets[0] = {0, 0, 0}; in TEST_F()
4215 blit_region.srcOffsets[1] = {48, 48, 1}; in TEST_F()
4378 blit_region.srcOffsets[0] = {0, 1, 0}; in TEST_F()
4379 blit_region.srcOffsets[1] = {30, 1, 1}; in TEST_F()
[all …]
/external/deqp/external/vulkancts/framework/vulkan/
DvkStructTypes.inl1059 VkOffset3D srcOffsets[2]; member
DvkStrUtilImpl.inl3702 …s = " << '\n' << tcu::formatArray(DE_ARRAY_BEGIN(value.srcOffsets), DE_ARRAY_END(value.srcOffsets)…
DvkVulkan_c.inl2513 VkOffset3D srcOffsets[2]; member
/external/mesa3d/include/vulkan/
Dvulkan.h2440 VkOffset3D srcOffsets[2]; member
/external/skia/include/third_party/vulkan/vulkan/
Dvulkan_core.h2610 VkOffset3D srcOffsets[2]; member
/external/skqp/include/third_party/vulkan/vulkan/
Dvulkan_core.h2610 VkOffset3D srcOffsets[2]; member
/external/vulkan-headers/include/vulkan/
Dvulkan_core.h2775 VkOffset3D srcOffsets[2]; member
Dvulkan.hpp30624 memcpy( &srcOffsets, srcOffsets_.data(), 2 * sizeof( Offset3D ) );
30647 memcpy( srcOffsets, srcOffsets_.data(), 2 * sizeof( Offset3D ) ); in setSrcOffsets()
30676 && ( memcmp( srcOffsets, rhs.srcOffsets, 2 * sizeof( Offset3D ) ) == 0 ) in operator ==()
30687 Offset3D srcOffsets[2]; member
/external/swiftshader/include/vulkan/
Dvulkan_core.h2728 VkOffset3D srcOffsets[2]; member
Dvulkan.hpp25311 memcpy( &srcOffsets, srcOffsets_.data(), 2 * sizeof( Offset3D ) );
25333 memcpy( &srcOffsets, srcOffsets_.data(), 2 * sizeof( Offset3D ) ); in setSrcOffsets()
25362 && ( memcmp( srcOffsets, rhs.srcOffsets, 2 * sizeof( Offset3D ) ) == 0 ) in operator ==()
25373 Offset3D srcOffsets[2]; member
/external/deqp/external/vulkancts/scripts/src/
Dvulkan.h.in2510 VkOffset3D srcOffsets[2]; member