/external/OpenCL-CTS/test_conformance/images/clCopyImage/ |
D | test_copy_3D_2D_array.cpp | 27 …eneric( cl_context context, cl_command_queue queue, image_descriptor *srcImageInfo, image_descript… 57 …_array( cl_context context, cl_command_queue queue, image_descriptor *srcImageInfo, image_descript… in test_copy_image_size_3D_2D_array() argument 64 if( srcImageInfo->arraySize == 0 ) in test_copy_image_size_3D_2D_array() 66 threeImage = srcImageInfo; in test_copy_image_size_3D_2D_array() 72 twoImage = srcImageInfo; in test_copy_image_size_3D_2D_array() 105 if( srcImageInfo->type == CL_MEM_OBJECT_IMAGE3D ) in test_copy_image_size_3D_2D_array() 108 sourcePos[ 2 ] = (size_t)random_in_range( 0, (int)srcImageInfo->depth - 1, d ); in test_copy_image_size_3D_2D_array() 124 sourcePos[ 2 ] = (size_t)random_in_range( 0, (int)srcImageInfo->arraySize - 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() [all …]
|
D | test_copy_2D_2D_array.cpp | 27 …eneric( cl_context context, cl_command_queue queue, image_descriptor *srcImageInfo, image_descript… 60 …_array( cl_context context, cl_command_queue queue, image_descriptor *srcImageInfo, image_descript… in test_copy_image_size_2D_2D_array() argument 67 if( srcImageInfo->arraySize > 0 ) in test_copy_image_size_2D_2D_array() 69 threeImage = srcImageInfo; in test_copy_image_size_2D_2D_array() 75 twoImage = srcImageInfo; in test_copy_image_size_2D_2D_array() 110 if( srcImageInfo->arraySize == 0 ) in test_copy_image_size_2D_2D_array() 125 sourcePos[ 2 ] = (size_t)random_in_range( 0, (int)srcImageInfo->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() [all …]
|
D | test_copy_2D_3D.cpp | 27 …eneric( cl_context context, cl_command_queue queue, image_descriptor *srcImageInfo, image_descript… 56 …_2D_3D( cl_context context, cl_command_queue queue, image_descriptor *srcImageInfo, image_descript… in test_copy_image_size_2D_3D() argument 63 if( srcImageInfo->depth > 0 ) in test_copy_image_size_2D_3D() 65 threeImage = srcImageInfo; in test_copy_image_size_2D_3D() 71 twoImage = srcImageInfo; in test_copy_image_size_2D_3D() 107 if( srcImageInfo->depth == 0 ) in test_copy_image_size_2D_3D() 123 sourcePos[ 2 ] = (size_t)random_in_range( 0, (int)srcImageInfo->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() [all …]
|
D | test_copy_generic.cpp | 284 …eneric( cl_context context, cl_command_queue queue, image_descriptor *srcImageInfo, image_descript… in test_copy_image_generic() argument 298 srcBytes = (size_t)compute_mipmapped_image_size( *srcImageInfo ); in test_copy_image_generic() 302 switch (srcImageInfo->type) in test_copy_image_generic() 305 srcBytes = srcImageInfo->rowPitch; in test_copy_image_generic() 308 srcBytes = srcImageInfo->height * srcImageInfo->rowPitch; in test_copy_image_generic() 311 srcBytes = srcImageInfo->depth * srcImageInfo->slicePitch; in test_copy_image_generic() 314 srcBytes = srcImageInfo->arraySize * srcImageInfo->slicePitch; in test_copy_image_generic() 317 srcBytes = srcImageInfo->arraySize * srcImageInfo->slicePitch; in test_copy_image_generic() 327 generate_random_image_data( srcImageInfo, srcData, d ); in test_copy_image_generic() 342 srcImage = create_image( context, queue, srcData, srcImageInfo, &error ); in test_copy_image_generic() [all …]
|
D | test_copy_3D.cpp | 26 …eneric( cl_context context, cl_command_queue queue, image_descriptor *srcImageInfo, image_descript…
|
D | test_copy_1D.cpp | 26 …eneric( cl_context context, cl_command_queue queue, image_descriptor *srcImageInfo, image_descript…
|
D | test_copy_2D_array.cpp | 26 …eneric( cl_context context, cl_command_queue queue, image_descriptor *srcImageInfo, image_descript…
|
D | test_copy_1D_array.cpp | 26 …eneric( cl_context context, cl_command_queue queue, image_descriptor *srcImageInfo, image_descript…
|
D | test_copy_2D.cpp | 26 …eneric( cl_context context, cl_command_queue queue, image_descriptor *srcImageInfo, image_descript…
|
/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 3440 size_t pixelSize = get_pixel_size( srcImageInfo->format ); in copy_image_data() 3448 src_row_pitch_lod = srcImageInfo->rowPitch; in copy_image_data() 3450 src_slice_pitch_lod = srcImageInfo->slicePitch; in copy_image_data() 3453 if( srcImageInfo->num_mip_levels > 1) in copy_image_data() 3459 switch( srcImageInfo->type ) in copy_image_data() 3464 src_width_lod = (srcImageInfo->width >> src_lod ) ? ( srcImageInfo->width >> src_lod ): 1; in copy_image_data() 3471 src_width_lod = (srcImageInfo->width >> src_lod ) ? ( srcImageInfo->width >> src_lod ): 1; in copy_image_data() 3472 if( srcImageInfo->type == CL_MEM_OBJECT_IMAGE2D ) in copy_image_data() 3473 … src_height_lod = (srcImageInfo->height >> src_lod ) ? ( srcImageInfo->height >> src_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 | 1010 const ImageInfo& srcImageInfo, in copyImageData() argument 1019 const IVec3 srcTexelBlockPixelSize = getTexelBlockPixelSize(srcImageInfo.getFormat()); in copyImageData() 1020 const int srcTexelBlockSize = getTexelBlockSize(srcImageInfo.getFormat()); in copyImageData() 1022 const IVec3 srcTexelBlockStride = getTexelBlockStride(srcImageInfo, srcLevel); in copyImageData() 1110 const ImageInfo& srcImageInfo, in copyImage() argument 1116 …gl.copyImageSubData(srcName, srcImageInfo.getTarget(), srcLevel, srcPos.x(), srcPos.y(), srcPos.z(… in copyImage() 1123 srcImageData, srcImageInfo, srcLevel, srcPos, copySize); in copyImage() 1778 const ImageInfo& srcImageInfo, in logTestInfo() argument 1783 …log << TestLog::Message << "Testing copying from " << targetToName(srcImageInfo.getTarget()) << " … in logTestInfo() 1787 logTestImageInfo(log, srcImageInfo); in logTestInfo()
|
/external/deqp/external/vulkancts/modules/vulkan/synchronization/ |
D | vktSynchronizationOperation.cpp | 1746 …const VkDescriptorImageInfo srcImageInfo = makeDescriptorImageInfo(DE_NULL, *m_srcImageView, VK_IM… in ImageImplementation() local 1750 …DescriptorSetUpdateBuilder::Location::binding(0u), VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, &srcImageInfo) in ImageImplementation() 2460 …const VkDescriptorImageInfo srcImageInfo = makeDescriptorImageInfo(DE_NULL, *m_srcImageView, VK_IM… in CopyImageImplementation() local 2464 …DescriptorSetUpdateBuilder::Location::binding(0u), VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, &srcImageInfo) in CopyImageImplementation()
|
/external/pdfium/core/fxge/skia/ |
D | fx_skia_device.cpp | 2334 SkImageInfo srcImageInfo = SkImageInfo::Make( in GetDIBits() local 2337 skSrcBitmap.installPixels(srcImageInfo, srcBuffer, srcRowBytes); in GetDIBits()
|