/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/ |
D | vktYCbCrStorageImageWriteTests.cpp | 178 const PlanarFormatDescription formatDescription = getPlanarFormatDescription(params.format); in testStorageImageWrite() local 200 VkFormat planeCompatibleFormat0 = getPlaneCompatibleFormatForWriting(formatDescription, 0); in testStorageImageWrite() 201 if (planeCompatibleFormat0 != getPlaneCompatibleFormat(formatDescription, 0)) in testStorageImageWrite() 239 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in testStorageImageWrite() 241 …const VkImageAspectFlags aspect = (formatDescription.numPlanes > 1) ? getPlaneAspect(planeNd… in testStorageImageWrite() 243 …VkFormat planeCompatibleFormat = getPlaneCompatibleFormatForWriting(formatDescription, plane… in testStorageImageWrite() 244 … getPlaneCompatibleFormat(formatDescription, planeNdx)) ? getPlanarFormatDescription(planeCompatib… in testStorageImageWrite() 245 …ompatibleShaderGridSize ( params.size.x() / formatDescription.blockWidth, params.size.y() / format… in testStorageImageWrite() 300 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in testStorageImageWrite() 303 … deUint32 planeW = imageCreateInfo.extent.width / (formatDescription.blockWidth * formatDescripti… in testStorageImageWrite() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/ |
D | vktSparseResourcesImageSparseResidency.cpp | 169 const PlanarFormatDescription formatDescription = getPlanarFormatDescription(m_format); in initPrograms() local 170 const std::string imageTypeStr = getShaderImageType(formatDescription, m_imageType); in initPrograms() 171 const std::string formatDataStr = getShaderImageDataType(formatDescription); in initPrograms() 175 switch (formatDescription.channels[0].type) in initPrograms() 199 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in initPrograms() 201 …VkFormat planeCompatibleFormat = getPlaneCompatibleFormatForWriting(formatDescription, plane… in initPrograms() 202 … getPlaneCompatibleFormat(formatDescription, planeNdx)) ? getPlanarFormatDescription(planeCompatib… in initPrograms() 203 …ibleShaderGridSize { shaderGridSize.x() / formatDescription.blockWidth, shaderGridSize.y() / forma… in initPrograms() 208 if (!formatDescription.hasChannelNdx(channelNdx)) in initPrograms() 210 if (formatDescription.channels[channelNdx].planeNdx != planeNdx) in initPrograms() [all …]
|
D | vktSparseResourcesImageMemoryAliasing.cpp | 224 const PlanarFormatDescription formatDescription = getPlanarFormatDescription(m_format); in iterate() local 272 …imageSparseInfo.mipLevels = getMipmapCount(m_format, formatDescription, imageFormatProperties, ima… in iterate() 325 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() 327 …const VkImageAspectFlags aspect = (formatDescription.numPlanes > 1) ? getPlaneAspect(planeNdx)… in iterate() 344 …const VkExtent3D mipExtent = getPlaneExtent(formatDescription, imageSparseInfo.extent, planeNd… in iterate() 458 planeOffsets[mipmapNdx].resize(formatDescription.numPlanes, 0); in iterate() 459 planeRowPitches[mipmapNdx].resize(formatDescription.numPlanes, 0); in iterate() 462 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() 468 …const deUint32 planeW = gridSize.x() / (formatDescription.blockWidth * formatDescription.plane… in iterate() 469 …planeRowPitches[mipmapNdx][planeNdx] = formatDescription.planes[planeNdx].elementSizeBytes * plane… in iterate() [all …]
|
D | vktSparseResourcesShaderIntrinsicsBase.cpp | 449 const PlanarFormatDescription formatDescription = getPlanarFormatDescription(m_format); in iterate() local 487 …imageSparseInfo.mipLevels = getMipmapCount(m_format, formatDescription, imageFormatProperties, ima… in iterate() 515 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() 519 …velSizeInBytes(imageSparseInfo.extent, imageSparseInfo.arrayLayers, formatDescription, planeNdx, m… in iterate() 520 …parseInfo.extent, imageSparseInfo.arrayLayers, formatDescription, planeNdx, mipmapNdx) / formatDes… in iterate() 551 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() 553 …const VkImageAspectFlags aspect = (formatDescription.numPlanes > 1) ? getPlaneAspect(planeNdx)… in iterate() 568 …parseInfo.extent, imageSparseInfo.arrayLayers, formatDescription, planeNdx, mipmapNdx) / formatDes… in iterate() 585 …const VkExtent3D mipExtent = getPlaneExtent(formatDescription, imageSparseInfo.extent, planeNdx… in iterate() 752 …std::vector <VkBufferImageCopy> bufferImageSparseCopy(formatDescription.numPlanes * imageSparseInf… in iterate() [all …]
|
D | vktSparseResourcesMipmapSparseResidency.cpp | 169 const PlanarFormatDescription formatDescription = getPlanarFormatDescription(m_format); in iterate() local 215 …imageSparseInfo.mipLevels = getMipmapCount(m_format, formatDescription, imageFormatProperties, ima… in iterate() 263 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() 265 …const VkImageAspectFlags aspect = (formatDescription.numPlanes > 1) ? getPlaneAspect(planeNdx)… in iterate() 282 …const VkExtent3D mipExtent = getPlaneExtent(formatDescription, imageSparseInfo.extent, planeNd… in iterate() 405 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() 407 …velSizeInBytes(imageSparseInfo.extent, imageSparseInfo.arrayLayers, formatDescription, planeNdx, m… in iterate() 409 …std::vector <VkBufferImageCopy> bufferImageCopy(formatDescription.numPlanes*imageSparseInfo.mipLev… in iterate() 413 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() 415 …const VkImageAspectFlags aspect = (formatDescription.numPlanes > 1) ? getPlaneAspect(planeNdx) : V… in iterate() [all …]
|
D | vktSparseResourcesImageSparseBinding.cpp | 165 const PlanarFormatDescription formatDescription = getPlanarFormatDescription(m_format); in iterate() local 207 …imageSparseInfo.mipLevels = getMipmapCount(m_format, formatDescription, imageFormatProperties, ima… in iterate() 288 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() 290 …velSizeInBytes(imageSparseInfo.extent, imageSparseInfo.arrayLayers, formatDescription, planeNdx, m… in iterate() 292 …std::vector<VkBufferImageCopy> bufferImageCopy(formatDescription.numPlanes * imageSparseInfo.mipLe… in iterate() 295 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() 297 …const VkImageAspectFlags aspect = (formatDescription.numPlanes > 1) ? getPlaneAspect(planeNdx) : V… in iterate() 308 …vk::getPlaneExtent(formatDescription, imageSparseInfo.extent, planeNdx, mipmapNdx) // VkExtent3D … in iterate() 310 …velSizeInBytes(imageSparseInfo.extent, imageSparseInfo.arrayLayers, formatDescription, planeNdx, m… in iterate() 349 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() [all …]
|
D | vktSparseResourcesShaderIntrinsicsStorage.cpp | 49 const PlanarFormatDescription formatDescription = getPlanarFormatDescription(m_format); in initPrograms() local 50 const std::string imageTypeStr = getShaderImageType(formatDescription, m_imageType); in initPrograms() 51 const std::string formatDataStr = getShaderImageDataType(formatDescription); in initPrograms() 60 const std::string typeImgComp = getImageComponentTypeName(formatDescription); in initPrograms() 61 const std::string typeImgCompVec4 = getImageComponentVec4TypeName(formatDescription); in initPrograms()
|
D | vktSparseResourcesShaderIntrinsicsSampled.cpp | 146 const PlanarFormatDescription formatDescription = getPlanarFormatDescription(m_format); in initPrograms() local 214 const std::string typeImgComp = getImageComponentTypeName(formatDescription); in initPrograms() 215 const std::string typeImgCompVec4 = getImageComponentVec4TypeName(formatDescription); in initPrograms() 434 const PlanarFormatDescription formatDescription = getPlanarFormatDescription(m_format); in sparseImageOpString() local 435 const std::string typeImgComp = getImageComponentTypeName(formatDescription); in sparseImageOpString() 436 const std::string typeImgCompVec4 = getImageComponentVec4TypeName(formatDescription); in sparseImageOpString()
|
D | vktSparseResourcesImageBlockShapes.cpp | 156 const PlanarFormatDescription formatDescription = getPlanarFormatDescription(m_format); in iterate() local 220 for (deUint32 planeNdx = 0; planeNdx < formatDescription.numPlanes; ++planeNdx) in iterate() 222 …const VkImageAspectFlags aspect = (formatDescription.numPlanes > 1) ? getPlaneAspect(planeNdx)… in iterate() 230 …deUint32 pixelSize = static_cast<deUint32>(formatDescription.planes[planeNdx].elementSizeBy… in iterate()
|
D | vktSparseResourcesImageAlignedMipSize.cpp | 149 const PlanarFormatDescription formatDescription = getPlanarFormatDescription(m_format); in iterate() local 191 …imageCreateInfo.mipLevels = getMipmapCount(m_format, formatDescription, imageFormatProperties, ima… in iterate()
|
D | vktSparseResourcesTestsUtil.hpp | 159 const vk::PlanarFormatDescription& formatDescription, 166 const vk::PlanarFormatDescription& formatDescription,
|
D | vktSparseResourcesTestsUtil.cpp | 842 …nts, const deUint32 layersCount, const vk::PlanarFormatDescription& formatDescription, const deUin… in getImageMipLevelSizeInBytes() argument 844 …return layersCount * getPlaneSizeInBytes(formatDescription, baseExtents, planeNdx, mipmapLevel, mi… in getImageMipLevelSizeInBytes() 847 …nts, const deUint32 layersCount, const vk::PlanarFormatDescription& formatDescription, const deUin… in getImageSizeInBytes() argument 852 …imageSizeInBytes += getImageMipLevelSizeInBytes(baseExtents, layersCount, formatDescription, plane… in getImageSizeInBytes()
|
/third_party/ffmpeg/libavdevice/ |
D | avfoundation.m | 351 CMFormatDescriptionRef formatDescription; 354 …formatDescription = (CMFormatDescriptionRef) [format performSelector:@selector(formatDescription)]; 355 dimensions = CMVideoFormatDescriptionGetDimensions(formatDescription); 413 CMFormatDescriptionRef formatDescription; 416 …formatDescription = (CMFormatDescriptionRef) [format performSelector:@selector(formatDescription)]; 417 dimensions = CMVideoFormatDescriptionGetDimensions(formatDescription);
|
/third_party/gstreamer/gstplugins_bad/sys/applemedia/ |
D | avfvideosrc.m | 636 …CMFormatDescriptionRef formatDescription = (__bridge CMFormatDescriptionRef) [f performSelector:@s… 637 CMVideoDimensions dimensions = CMVideoFormatDescriptionGetDimensions(formatDescription); 1603 /* formatDescription can't be retrieved with valueForKey so use a selector here */ 1604 …CMFormatDescriptionRef formatDescription = (__bridge CMFormatDescriptionRef) [f performSelector:@s… 1605 CMVideoDimensions dimensions = CMVideoFormatDescriptionGetDimensions (formatDescription);
|
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
D | vkImageUtil.hpp | 142 const vk::PlanarFormatDescription& formatDescription,
|
D | vkImageUtil.cpp | 2501 deUint32 getMipmapCount(VkFormat format, const vk::PlanarFormatDescription& formatDescription, cons… in getMipmapCount() argument 2505 tcu::UVec3 imageAlignment = getImageSizeAlignment(formatDescription); in getMipmapCount()
|