Home
last modified time | relevance | path

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

/external/OpenCL-CTS/test_conformance/images/clCopyImage/
Dtest_copy_3D_2D_array.cpp20 … const size_t sourcePos[], const size_t destPos[], const size_t regionSize[], MTdata d );
51 size_t sourcePos[ 4 ], destPos[ 4 ], regionSize[ 3 ]; in test_copy_image_size_3D_2D_array() local
93 regionSize[ 0 ] = ( threeImage->width < twoImage->width ) ? threeImage->width : twoImage->width; in test_copy_image_size_3D_2D_array()
94regionSize[ 1 ] = ( threeImage->height < twoImage->height ) ? threeImage->height : twoImage->heigh… in test_copy_image_size_3D_2D_array()
95 regionSize[ 2 ] = 1; in test_copy_image_size_3D_2D_array()
108 regionSize[ 0 ] = width_lod; in test_copy_image_size_3D_2D_array()
109 regionSize[ 1 ] = height_lod; in test_copy_image_size_3D_2D_array()
110 regionSize[ 2 ] = depth_lod; in test_copy_image_size_3D_2D_array()
124 regionSize[ 0 ] = width_lod; in test_copy_image_size_3D_2D_array()
125 regionSize[ 1 ] = height_lod; in test_copy_image_size_3D_2D_array()
[all …]
Dtest_copy_2D_3D.cpp20 … const size_t sourcePos[], const size_t destPos[], const size_t regionSize[], MTdata d );
50 size_t sourcePos[ 4 ] = { 0 }, destPos[ 4 ] = { 0 }, regionSize[ 3 ]; in test_copy_image_size_2D_3D() local
95 regionSize[ 0 ] = width_lod; in test_copy_image_size_2D_3D()
96 regionSize[ 1 ] = height_lod; in test_copy_image_size_2D_3D()
97 regionSize[ 2 ] = 1; in test_copy_image_size_2D_3D()
108 regionSize[ 0 ] = width_lod; in test_copy_image_size_2D_3D()
109 regionSize[ 1 ] = height_lod; in test_copy_image_size_2D_3D()
121 regionSize[ 0 ] = width_lod; in test_copy_image_size_2D_3D()
122 regionSize[ 1 ] = height_lod; in test_copy_image_size_2D_3D()
126 …opy_image_generic( context, queue, srcImageInfo, dstImageInfo, sourcePos, destPos, regionSize, d ); in test_copy_image_size_2D_3D()
[all …]
Dtest_copy_2D_2D_array.cpp20 … const size_t sourcePos[], const size_t destPos[], const size_t regionSize[], MTdata d );
54 size_t sourcePos[ 4 ] = { 0 }, destPos[ 4 ] = { 0 }, regionSize[ 3 ]; in test_copy_image_size_2D_2D_array() local
98 regionSize[ 0 ] = width_lod; in test_copy_image_size_2D_2D_array()
99 regionSize[ 1 ] = height_lod; in test_copy_image_size_2D_2D_array()
100 regionSize[ 2 ] = 1; in test_copy_image_size_2D_2D_array()
110 regionSize[ 0 ] = width_lod; in test_copy_image_size_2D_2D_array()
111 regionSize[ 1 ] = height_lod; in test_copy_image_size_2D_2D_array()
122 regionSize[ 0 ] = width_lod; in test_copy_image_size_2D_2D_array()
123 regionSize[ 1 ] = height_lod; in test_copy_image_size_2D_2D_array()
127 …opy_image_generic( context, queue, srcImageInfo, dstImageInfo, sourcePos, destPos, regionSize, d ); in test_copy_image_size_2D_2D_array()
[all …]
Dtest_copy_2D.cpp19 … const size_t sourcePos[], const size_t destPos[], const size_t regionSize[], MTdata d );
23 size_t sourcePos[ 3 ], destPos[ 3 ], regionSize[ 3 ]; in test_copy_image_size_2D() local
51 regionSize[ 0 ] = imageInfo->width; in test_copy_image_size_2D()
52 regionSize[ 1 ] = imageInfo->height; in test_copy_image_size_2D()
53 regionSize[ 2 ] = 1; in test_copy_image_size_2D()
59 regionSize[ 0 ] = width_lod; in test_copy_image_size_2D()
60 regionSize[ 1 ] = height_lod; in test_copy_image_size_2D()
63 …test_copy_image_generic( context, queue, imageInfo, imageInfo, sourcePos, destPos, regionSize, d ); in test_copy_image_size_2D()
87regionSize[ 0 ] = ( width_lod > 8 ) ? (size_t)random_in_range( 8, (int)width_lod - 1, d ) : width_… in test_copy_image_size_2D()
88regionSize[ 1 ] = ( height_lod > 8 ) ? (size_t)random_in_range( 8, (int)height_lod - 1, d ) : heig… in test_copy_image_size_2D()
[all …]
Dtest_copy_1D_array.cpp19 … const size_t sourcePos[], const size_t destPos[], const size_t regionSize[], MTdata d );
23 size_t sourcePos[ 3 ], destPos[ 3 ], regionSize[ 3 ]; in test_copy_image_size_1D_array() local
46 regionSize[ 0 ] = imageInfo->width; in test_copy_image_size_1D_array()
47 regionSize[ 1 ] = imageInfo->arraySize; in test_copy_image_size_1D_array()
48 regionSize[ 2 ] = 1; in test_copy_image_size_1D_array()
54 regionSize[ 0 ] = width_lod; in test_copy_image_size_1D_array()
57 …test_copy_image_generic( context, queue, imageInfo, imageInfo, sourcePos, destPos, regionSize, d ); in test_copy_image_size_1D_array()
78regionSize[ 0 ] = ( width_lod > 8 ) ? (size_t)random_in_range( 8, (int)width_lod - 1, d ) : (int)w… in test_copy_image_size_1D_array()
79regionSize[ 1 ] = ( imageInfo->arraySize > 8 ) ? (size_t)random_in_range( 8, (int)imageInfo->array… in test_copy_image_size_1D_array()
82 …sourcePos[ 0 ] = ( width_lod > regionSize[ 0 ] ) ? (size_t)random_in_range( 0, (int)( width_lod - in test_copy_image_size_1D_array()
[all …]
Dtest_copy_1D.cpp19 … const size_t sourcePos[], const size_t destPos[], const size_t regionSize[], MTdata d );
23 size_t sourcePos[ 3 ], destPos[ 3 ], regionSize[ 3 ]; in test_copy_image_size_1D() local
46 regionSize[ 0 ] = imageInfo->width; in test_copy_image_size_1D()
47 regionSize[ 1 ] = 1; in test_copy_image_size_1D()
48 regionSize[ 2 ] = 1; in test_copy_image_size_1D()
54 regionSize[ 0 ] = width_lod; in test_copy_image_size_1D()
57 …test_copy_image_generic( context, queue, imageInfo, imageInfo, sourcePos, destPos, regionSize, d ); in test_copy_image_size_1D()
78regionSize[ 0 ] = ( width_lod > 8 ) ? (size_t)random_in_range( 8, (int)width_lod - 1, d ) : width_… in test_copy_image_size_1D()
81 …sourcePos[ 0 ] = ( width_lod > regionSize[ 0 ] ) ? (size_t)random_in_range( 0, (int)( width_lod - in test_copy_image_size_1D()
82 …destPos[ 0 ] = ( width_lod > regionSize[ 0 ] ) ? (size_t)random_in_range( 0, (int)( width_lod - re… in test_copy_image_size_1D()
[all …]
Dtest_copy_generic.cpp294 … const size_t sourcePos[], const size_t destPos[], const size_t regionSize[], MTdata d ) in test_copy_image_generic() argument
453 (int)regionSize[ 0 ], (int)regionSize[ 1 ], (int)regionSize[ 2 ] ); in test_copy_image_generic()
459 (int)regionSize[ 0 ], (int)regionSize[ 1 ], (int)regionSize[ 2 ] ); in test_copy_image_generic()
463 …error = clEnqueueCopyImage( queue, srcImage, dstImage, sourcePos, destPos, regionSize, 0, NULL, NU… in test_copy_image_generic()
468 … (int)regionSize[ 0 ], (int)regionSize[ 1 ], (int)regionSize[ 2 ], IGetErrorString( error ) ); in test_copy_image_generic()
476 copy_image_data( srcImageInfo, dstImageInfo, srcHost, dstHost, sourcePos, destPos, regionSize ); in test_copy_image_generic()
Dtest_copy_3D.cpp20 … const size_t sourcePos[], const size_t destPos[], const size_t regionSize[], MTdata d );
Dtest_copy_2D_array.cpp20 … const size_t sourcePos[], const size_t destPos[], const size_t regionSize[], MTdata d );
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DCastSizeChecker.cpp120 CharUnits regionSize = CharUnits::fromQuantity(SizeInt->getZExtValue()); in checkPreStmt() local
127 if (regionSize % typeSize == 0) in checkPreStmt()
130 if (evenFlexibleArraySize(Ctx, regionSize, typeSize, ToPointeeTy)) in checkPreStmt()
/external/clang/lib/StaticAnalyzer/Checkers/
DCastSizeChecker.cpp118 CharUnits regionSize = CharUnits::fromQuantity(extentInt->getSExtValue()); in checkPreStmt() local
125 if (regionSize % typeSize == 0) in checkPreStmt()
128 if (evenFlexibleArraySize(Ctx, regionSize, typeSize, ToPointeeTy)) in checkPreStmt()
/external/deqp/external/vulkancts/modules/vulkan/clipping/
DvktClippingTests.cpp247 …ConstPixelBufferAccess pixels, const IVec2& regionOffset, const IVec2& regionSize, const Vec4& col… in countPixels() argument
251 const int xEnd = regionOffset.x() + regionSize.x(); in countPixels()
252 const int yEnd = regionOffset.y() + regionSize.y(); in countPixels()
537 const IVec2 regionSize = IVec2(RENDER_SIZE/2, RENDER_SIZE); //! size of the clamped region in testPrimitivesDepthClamp() local
538 const int regionPixels = regionSize.x() * regionSize.y(); in testPrimitivesDepthClamp()
609 …countPixels(drawContext.getColorPixels(), cases[caseNdx].regionOffset, regionSize, cases[caseNdx].… in testPrimitivesDepthClamp()
629 const IVec2 regionSize = IVec2(RENDER_SIZE/2, RENDER_SIZE); //! size of the clamped region in testPrimitivesDepthClip() local
630 const int regionPixels = regionSize.x() * regionSize.y(); in testPrimitivesDepthClip()
701 …countPixels(drawContext.getColorPixels(), cases[caseNdx].regionOffset, regionSize, cases[caseNdx].… in testPrimitivesDepthClip()
731 …countPixels(drawContext.getColorPixels(), cases[caseNdx].regionOffset, regionSize, cases[caseNdx].… in testPrimitivesDepthClip()
/external/angle/src/libANGLE/renderer/metal/
DTextureMtl.mm178 void ConvertDepthStencilData(const MTLSize &regionSize,
192 for (NSUInteger d = 0; d < regionSize.depth; ++d)
194 for (NSUInteger r = 0; r < regionSize.height; ++r)
216 for (NSUInteger d = 0; d < regionSize.depth; ++d)
218 for (NSUInteger r = 0; r < regionSize.height; ++r)
220 for (NSUInteger c = 0; c < regionSize.width; ++c)
241 const MTLSize &regionSize,
249 size_t stagingBufferRowPitch = regionSize.width * stagingAngleFormat.pixelBytes;
250 size_t stagingBuffer2DImageSize = stagingBufferRowPitch * regionSize.height;
251 size_t stagingBufferSize = stagingBuffer2DImageSize * regionSize.depth;
[all …]
/external/angle/src/libANGLE/renderer/vulkan/
DSecondaryCommandBuffer.h1055 size_t regionSize = regionCount * sizeof(VkBufferCopy); in copyBuffer() local
1057 initCommand<CopyBufferParams>(CommandID::CopyBuffer, regionSize, &writePtr); in copyBuffer()
1062 storePointerParameter(writePtr, regions, regionSize); in copyBuffer()
/external/OpenCL-CTS/test_common/harness/
DimageHelpers.cpp3479 const size_t destPos[], const size_t regionSize[]) in copy_image_data() argument
3612 for (size_t z = 0; z < (regionSize[2] > 0 ? regionSize[2] : 1); z++) in copy_image_data()
3616 for (size_t y = 0; y < regionSize[1]; y++) in copy_image_data()
3618 memcpy(rowDestPtr, rowSourcePtr, pixelSize * regionSize[0]); in copy_image_data()
DimageHelpers.h179 const size_t destPos[], const size_t regionSize[]);