• Home
  • Raw
  • Download

Lines Matching refs:planeNdx

2518 							  const deUint32					planeNdx,  in getPlaneSizeInBytes()  argument
2522 VkExtent3D imageExtent = getPlaneExtent(formatInfo, baseExtents, planeNdx, mipmapLevel); in getPlaneSizeInBytes()
2525 …return deAlign32( formatInfo.planes[planeNdx].elementSizeBytes * imageExtent.width * imageExtent.h… in getPlaneSizeInBytes()
2530 const deUint32 planeNdx, in getPlaneSizeInBytes() argument
2534 …tcu::UVec2 mipExtents = getPlaneExtent(formatInfo, baseExtents, planeNdx, mipmapLevel) / tcu::UVec… in getPlaneSizeInBytes()
2535 …return deAlign32( formatInfo.planes[planeNdx].elementSizeBytes * mipExtents.x() * mipExtents.y(), … in getPlaneSizeInBytes()
2540 const deUint32 planeNdx, in getPlaneExtent() argument
2543 deUint32 widthDivisor = formatInfo.planes[planeNdx].widthDivisor; in getPlaneExtent()
2544 deUint32 heightDivisor = formatInfo.planes[planeNdx].heightDivisor; in getPlaneExtent()
2553 const deUint32 planeNdx, in getPlaneExtent() argument
2556 deUint32 widthDivisor = formatInfo.planes[planeNdx].widthDivisor; in getPlaneExtent()
2557 deUint32 heightDivisor = formatInfo.planes[planeNdx].heightDivisor; in getPlaneExtent()
2575 for (deUint32 planeNdx = 0; planeNdx < formatInfo.numPlanes; ++planeNdx) in getImageSizeAlignment() local
2577 …imgAlignment.x() = std::max(imgAlignment.x(), static_cast<deUint32>(formatInfo.planes[planeNdx].wi… in getImageSizeAlignment()
2578 …imgAlignment.y() = std::max(imgAlignment.y(), static_cast<deUint32>(formatInfo.planes[planeNdx].he… in getImageSizeAlignment()
2593 VkFormat getPlaneCompatibleFormat(VkFormat format, deUint32 planeNdx) in getPlaneCompatibleFormat() argument
2595 return getPlaneCompatibleFormat(getPlanarFormatDescription(format), planeNdx); in getPlaneCompatibleFormat()
2598 VkFormat getPlaneCompatibleFormat(const PlanarFormatDescription& formatInfo, deUint32 planeNdx) in getPlaneCompatibleFormat() argument
2600 DE_ASSERT(planeNdx < formatInfo.numPlanes); in getPlaneCompatibleFormat()
2601 return formatInfo.planes[planeNdx].planeCompatibleFormat; in getPlaneCompatibleFormat()
2604 VkImageAspectFlagBits getPlaneAspect (deUint32 planeNdx) in getPlaneAspect() argument
2606 DE_ASSERT(de::inBounds(planeNdx, 0u, 3u)); in getPlaneAspect()
2607 return (VkImageAspectFlagBits)(VK_IMAGE_ASPECT_PLANE_0_BIT << planeNdx); in getPlaneAspect()
3390 const deUint32 planeNdx = formatInfo.channels[channelNdx].planeNdx; in getChannelAccess() local
3395 DE_ASSERT(size.x() % (formatInfo.blockWidth * formatInfo.planes[planeNdx].widthDivisor) == 0); in getChannelAccess()
3396 DE_ASSERT(size.y() % (formatInfo.blockHeight * formatInfo.planes[planeNdx].heightDivisor) == 0); in getChannelAccess()
3398 …const deUint32 accessHeight = size.y() / ( formatInfo.blockHeight * formatInfo.planes[planeNdx].h… in getChannelAccess()
3399 const deUint32 elementSizeBytes = formatInfo.planes[planeNdx].elementSizeBytes; in getChannelAccess()
3400 const deUint32 rowPitch = planeRowPitches[planeNdx]; in getChannelAccess()
3405 …std::max(formatInfo.blockWidth * formatInfo.planes[planeNdx].widthDivisor * pixelStrideBytes / ele… in getChannelAccess()
3406 …std::max(formatInfo.blockHeight * formatInfo.planes[planeNdx].heightDivisor * pixelStrideBytes / e… in getChannelAccess()
3415 (deUint8*)planePtrs[planeNdx] + planeOffsetBytes); in getChannelAccess()
3435 const deUint32 planeNdx = formatInfo.channels[channelNdx].planeNdx; in getChannelAccess() local
3440 DE_ASSERT(size.x() % (formatInfo.blockWidth * formatInfo.planes[planeNdx].widthDivisor) == 0); in getChannelAccess()
3441 DE_ASSERT(size.y() % (formatInfo.blockHeight * formatInfo.planes[planeNdx].heightDivisor) == 0); in getChannelAccess()
3443 …const deUint32 accessHeight = size.y() / ( formatInfo.blockHeight * formatInfo.planes[planeNdx].h… in getChannelAccess()
3444 const deUint32 elementSizeBytes = formatInfo.planes[planeNdx].elementSizeBytes; in getChannelAccess()
3445 const deUint32 rowPitch = planeRowPitches[planeNdx]; in getChannelAccess()
3450 …std::max(formatInfo.blockWidth * formatInfo.planes[planeNdx].widthDivisor * pixelStrideBytes / ele… in getChannelAccess()
3451 …std::max(formatInfo.blockHeight * formatInfo.planes[planeNdx].heightDivisor * pixelStrideBytes / e… in getChannelAccess()
3460 (deUint8*)planePtrs[planeNdx] + planeOffsetBytes); in getChannelAccess()