/external/OpenCL-CTS/test_conformance/images/clCopyImage/ |
D | test_copy_2D_2D_array.cpp | 27 …xt context, cl_command_queue queue, image_descriptor *srcImageInfo, image_descriptor *dstImageInfo, 60 … cl_command_queue queue, image_descriptor *srcImageInfo, image_descriptor *dstImageInfo, MTdata d ) in test_copy_image_size_2D_2D_array() argument 70 twoImage = dstImageInfo; in test_copy_image_size_2D_2D_array() 74 threeImage = dstImageInfo; in test_copy_image_size_2D_2D_array() 113 destPos[ 2 ] = (size_t)random_in_range( 0, (int)dstImageInfo->arraySize - 1, d ); in test_copy_image_size_2D_2D_array() 135 …retCode = test_copy_image_generic( context, queue, srcImageInfo, dstImageInfo, sourcePos, destPos,… in test_copy_image_size_2D_2D_array() 157 regionSize[ 0 ] = random_in_ranges( 8, srcImageInfo->width, dstImageInfo->width, d ); in test_copy_image_size_2D_2D_array() 158 regionSize[ 1 ] = random_in_ranges( 8, srcImageInfo->height, dstImageInfo->height, d ); in test_copy_image_size_2D_2D_array() 185 …destPos[ 0 ] = ( dstImageInfo->width > regionSize[ 0 ] ) ? (size_t)random_in_range( 0, (int)( dstI… in test_copy_image_size_2D_2D_array() 186 …destPos[ 1 ] = ( dstImageInfo->height > regionSize[ 1 ] ) ? (size_t)random_in_range( 0, (int)( dst… in test_copy_image_size_2D_2D_array() [all …]
|
D | test_copy_3D_2D_array.cpp | 27 …xt context, cl_command_queue queue, image_descriptor *srcImageInfo, image_descriptor *dstImageInfo, 57 … cl_command_queue queue, image_descriptor *srcImageInfo, image_descriptor *dstImageInfo, MTdata d ) in test_copy_image_size_3D_2D_array() argument 67 twoImage = dstImageInfo; in test_copy_image_size_3D_2D_array() 71 threeImage = dstImageInfo; in test_copy_image_size_3D_2D_array() 109 destPos[ 2 ] = (size_t)random_in_range( 0, (int)dstImageInfo->arraySize - 1, d ); in test_copy_image_size_3D_2D_array() 125 destPos[ 2 ] = (size_t)random_in_range( 0, (int)dstImageInfo->depth - 1, d ); in test_copy_image_size_3D_2D_array() 138 …retCode = test_copy_image_generic( context, queue, srcImageInfo, dstImageInfo, sourcePos, destPos,… in test_copy_image_size_3D_2D_array() 164 regionSize[ 0 ] = random_in_ranges( 8, srcImageInfo->width, dstImageInfo->width, d ); in test_copy_image_size_3D_2D_array() 165 regionSize[ 1 ] = random_in_ranges( 8, srcImageInfo->height, dstImageInfo->height, d ); in test_copy_image_size_3D_2D_array() 200 …destPos[ 0 ] = ( dstImageInfo->width > regionSize[ 0 ] ) ? (size_t)random_in_range( 0, (int)( dstI… in test_copy_image_size_3D_2D_array() [all …]
|
D | test_copy_2D_3D.cpp | 27 …xt context, cl_command_queue queue, image_descriptor *srcImageInfo, image_descriptor *dstImageInfo, 56 … cl_command_queue queue, image_descriptor *srcImageInfo, image_descriptor *dstImageInfo, MTdata d ) in test_copy_image_size_2D_3D() argument 66 twoImage = dstImageInfo; in test_copy_image_size_2D_3D() 70 threeImage = dstImageInfo; in test_copy_image_size_2D_3D() 110 destPos[ 2 ] = (size_t)random_in_range( 0, (int)dstImageInfo->depth - 1, d ); in test_copy_image_size_2D_3D() 134 …retCode = test_copy_image_generic( context, queue, srcImageInfo, dstImageInfo, sourcePos, destPos,… in test_copy_image_size_2D_3D() 157 regionSize[ 0 ] = random_in_ranges( 8, srcImageInfo->width, dstImageInfo->width, d ); in test_copy_image_size_2D_3D() 158 regionSize[ 1 ] = random_in_ranges( 8, srcImageInfo->height, dstImageInfo->height, d ); in test_copy_image_size_2D_3D() 187 …destPos[ 0 ] = ( dstImageInfo->width > regionSize[ 0 ] ) ? (size_t)random_in_range( 0, (int)( dstI… in test_copy_image_size_2D_3D() 188 …destPos[ 1 ] = ( dstImageInfo->height > regionSize[ 1 ] ) ? (size_t)random_in_range( 0, (int)( dst… in test_copy_image_size_2D_3D() [all …]
|
D | test_copy_generic.cpp | 284 …xt context, cl_command_queue queue, image_descriptor *srcImageInfo, image_descriptor *dstImageInfo, in test_copy_image_generic() argument 351 destImageSize = (size_t)compute_mipmapped_image_size( *dstImageInfo ); in test_copy_image_generic() 355 switch (dstImageInfo->type) in test_copy_image_generic() 358 destImageSize = dstImageInfo->rowPitch; in test_copy_image_generic() 361 destImageSize = dstImageInfo->height * dstImageInfo->rowPitch; in test_copy_image_generic() 364 destImageSize = dstImageInfo->depth * dstImageInfo->slicePitch; in test_copy_image_generic() 367 destImageSize = dstImageInfo->arraySize * dstImageInfo->slicePitch; in test_copy_image_generic() 370 destImageSize = dstImageInfo->arraySize * dstImageInfo->slicePitch; in test_copy_image_generic() 398 dstImage = create_image( context, queue, dstData, dstImageInfo, &error ); in test_copy_image_generic() 402 size_t dstRegion[ 3 ] = { dstImageInfo->width, 1, 1}; in test_copy_image_generic() [all …]
|
D | test_copy_3D.cpp | 26 …xt context, cl_command_queue queue, image_descriptor *srcImageInfo, image_descriptor *dstImageInfo,
|
D | test_copy_1D.cpp | 26 …xt context, cl_command_queue queue, image_descriptor *srcImageInfo, image_descriptor *dstImageInfo,
|
D | test_copy_2D_array.cpp | 26 …xt context, cl_command_queue queue, image_descriptor *srcImageInfo, image_descriptor *dstImageInfo,
|
D | test_copy_1D_array.cpp | 26 …xt context, cl_command_queue queue, image_descriptor *srcImageInfo, image_descriptor *dstImageInfo,
|
D | test_copy_2D.cpp | 26 …xt context, cl_command_queue queue, image_descriptor *srcImageInfo, image_descriptor *dstImageInfo,
|
/external/OpenCL-CTS/test_common/harness/ |
D | imageHelpers.cpp | 3430 void copy_image_data( image_descriptor *srcImageInfo, image_descriptor *dstImageInfo, void *imageVa… in copy_image_data() argument 3449 dst_row_pitch_lod = dstImageInfo->rowPitch; in copy_image_data() 3451 dst_slice_pitch_lod = dstImageInfo->slicePitch; in copy_image_data() 3492 if( dstImageInfo->num_mip_levels > 1) in copy_image_data() 3497 switch( dstImageInfo->type ) in copy_image_data() 3502 dst_width_lod = (dstImageInfo->width >> dst_lod ) ? ( dstImageInfo->width >> dst_lod ): 1; in copy_image_data() 3509 dst_width_lod = (dstImageInfo->width >> dst_lod ) ? ( dstImageInfo->width >> dst_lod ): 1; in copy_image_data() 3510 if( dstImageInfo->type == CL_MEM_OBJECT_IMAGE2D ) in copy_image_data() 3511 … dst_height_lod = (dstImageInfo->height >> dst_lod ) ? ( dstImageInfo->height >> dst_lod ): 1; in copy_image_data() 3518 dst_width_lod = (dstImageInfo->width >> dst_lod ) ? ( dstImageInfo->width >> dst_lod ): 1; in copy_image_data() [all …]
|
D | imageHelpers.h | 141 extern void copy_image_data( image_descriptor *srcImageInfo, image_descriptor *dstImageInfo, void *…
|
/external/deqp/modules/gles31/functional/ |
D | es31fCopyImageTests.cpp | 1005 const ImageInfo& dstImageInfo, in copyImageData() argument 1024 const IVec3 dstTexelBlockPixelSize = getTexelBlockPixelSize(dstImageInfo.getFormat()); in copyImageData() 1025 const int dstTexelBlockSize = getTexelBlockSize(dstImageInfo.getFormat()); in copyImageData() 1027 const IVec3 dstTexelBlockStride = getTexelBlockStride(dstImageInfo, dstLevel); in copyImageData() 1104 const ImageInfo& dstImageInfo, in copyImage() argument 1117 dstName, dstImageInfo.getTarget(), dstLevel, dstPos.x(), dstPos.y(), dstPos.z(), in copyImage() 1122 copyImageData(dstImageData, dstImageInfo, dstLevel, dstPos, in copyImage() 1779 const ImageInfo& dstImageInfo) in logTestInfo() argument 1783 …" << targetToName(srcImageInfo.getTarget()) << " to " << targetToName(dstImageInfo.getTarget()) <<… in logTestInfo() 1792 logTestImageInfo(log, dstImageInfo); in logTestInfo()
|
/external/deqp/external/vulkancts/modules/vulkan/synchronization/ |
D | vktSynchronizationOperation.cpp | 1747 …const VkDescriptorImageInfo dstImageInfo = makeDescriptorImageInfo(DE_NULL, *m_dstImageView, VK_IM… in ImageImplementation() local 1751 …DescriptorSetUpdateBuilder::Location::binding(1u), VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, &dstImageInfo) in ImageImplementation() 2461 …const VkDescriptorImageInfo dstImageInfo = makeDescriptorImageInfo(DE_NULL, *m_dstImageView, VK_IM… in CopyImageImplementation() local 2465 …DescriptorSetUpdateBuilder::Location::binding(1u), VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, &dstImageInfo) in CopyImageImplementation()
|
/external/pdfium/core/fxge/skia/ |
D | fx_skia_device.cpp | 2343 SkImageInfo dstImageInfo = SkImageInfo::Make( in GetDIBits() local 2346 skDstBitmap.installPixels(dstImageInfo, dstBuffer, dstRowBytes); in GetDIBits()
|