Home
last modified time | relevance | path

Searched refs:planeNdx (Results 1 – 12 of 12) sorted by relevance

/external/deqp/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrViewTests.cpp70 VkFormat getPlaneCompatibleFormat (VkFormat multiPlanarFormat, deUint32 planeNdx) in getPlaneCompatibleFormat() argument
77 if (de::inRange(planeNdx, 0u, 2u)) in getPlaneCompatibleFormat()
84 if (planeNdx == 0) in getPlaneCompatibleFormat()
86 else if (planeNdx == 1) in getPlaneCompatibleFormat()
94 if (de::inRange(planeNdx, 0u, 2u)) in getPlaneCompatibleFormat()
101 if (planeNdx == 0) in getPlaneCompatibleFormat()
103 else if (planeNdx == 1) in getPlaneCompatibleFormat()
111 if (de::inRange(planeNdx, 0u, 2u)) in getPlaneCompatibleFormat()
118 if (planeNdx == 0) in getPlaneCompatibleFormat()
120 else if (planeNdx == 1) in getPlaneCompatibleFormat()
[all …]
DvktYCbCrUtil.cpp69 for (deUint32 planeNdx = 0; planeNdx < m_description.numPlanes; ++planeNdx) in MultiPlaneImageData() local
71 const deUint32 planeW = size.x() / m_description.planes[planeNdx].widthDivisor; in MultiPlaneImageData()
72 const deUint32 planeH = size.y() / m_description.planes[planeNdx].heightDivisor; in MultiPlaneImageData()
73 const deUint32 planeSize = m_description.planes[planeNdx].elementSizeBytes * planeW * planeH; in MultiPlaneImageData()
75 m_planeData[planeNdx].resize(planeSize); in MultiPlaneImageData()
84 for (deUint32 planeNdx = 0; planeNdx < m_description.numPlanes; ++planeNdx) in MultiPlaneImageData() local
85 m_planeData[planeNdx] = other.m_planeData[planeNdx]; in MultiPlaneImageData()
97 for (deUint32 planeNdx = 0; planeNdx < m_description.numPlanes; ++planeNdx) in getChannelAccess() local
99 const deUint32 planeW = m_size.x() / m_description.planes[planeNdx].widthDivisor; in getChannelAccess()
101 planeRowPitches[planeNdx] = m_description.planes[planeNdx].elementSizeBytes * planeW; in getChannelAccess()
[all …]
DvktYCbCrCopyTests.cpp180 vk::VkFormat getPlaneCompatibleFormat (vk::VkFormat format, deUint32 planeNdx) in getPlaneCompatibleFormat() argument
182 DE_ASSERT(planeNdx < 3); in getPlaneCompatibleFormat()
191 DE_ASSERT(planeNdx < 2); in getPlaneCompatibleFormat()
193 if (planeNdx == 0) in getPlaneCompatibleFormat()
204 DE_ASSERT(planeNdx < 2); in getPlaneCompatibleFormat()
206 if (planeNdx == 0) in getPlaneCompatibleFormat()
220 DE_ASSERT(planeNdx < 2); in getPlaneCompatibleFormat()
222 if (planeNdx == 0) in getPlaneCompatibleFormat()
233 DE_ASSERT(planeNdx < 2); in getPlaneCompatibleFormat()
235 if (planeNdx == 0) in getPlaneCompatibleFormat()
[all …]
DvktYCbCrUtil.hpp65 size_t getPlaneSize (deUint32 planeNdx) const { return m_planeData[planeNdx].size(); } in getPlaneSize()
66 void* getPlanePtr (deUint32 planeNdx) { return &m_planeData[planeNdx][0]; } in getPlanePtr() argument
67 const void* getPlanePtr (deUint32 planeNdx) const { return &m_planeData[planeNdx][0]; } in getPlanePtr()
DvktYCbCrConversionTests.cpp648 for (deUint32 planeNdx = 0; planeNdx < planeInfo.numPlanes; planeNdx++) in textureConversionTest() local
649 deMemset(src.getPlanePtr(planeNdx), 0u, src.getPlaneSize(planeNdx)); in textureConversionTest()
/external/deqp/external/vulkancts/framework/vulkan/
DvkYCbCrImageWithMemory.cpp43 for (deUint32 planeNdx = 0; planeNdx < numPlanes; ++planeNdx) in YCbCrImageWithMemory() local
45 const VkImageAspectFlagBits planeAspect = getPlaneAspect(planeNdx); in YCbCrImageWithMemory()
DvkImageUtil.hpp103 deUint8 planeNdx; member
126 VkImageAspectFlagBits getPlaneAspect (deUint32 planeNdx);
DvkImageUtil.cpp1446 VkImageAspectFlagBits getPlaneAspect (deUint32 planeNdx) in getPlaneAspect() argument
1448 DE_ASSERT(de::inBounds(planeNdx, 0u, 3u)); in getPlaneAspect()
1449 return (VkImageAspectFlagBits)(VK_IMAGE_ASPECT_PLANE_0_BIT_KHR << planeNdx); in getPlaneAspect()
2167 const deUint32 planeNdx = formatInfo.channels[channelNdx].planeNdx; in getChannelAccess() local
2172 DE_ASSERT(size.x() % formatInfo.planes[planeNdx].widthDivisor == 0); in getChannelAccess()
2173 DE_ASSERT(size.y() % formatInfo.planes[planeNdx].heightDivisor == 0); in getChannelAccess()
2175 deUint32 accessWidth = size.x() / formatInfo.planes[planeNdx].widthDivisor; in getChannelAccess()
2176 const deUint32 accessHeight = size.y() / formatInfo.planes[planeNdx].heightDivisor; in getChannelAccess()
2177 const deUint32 elementSizeBytes = formatInfo.planes[planeNdx].elementSizeBytes; in getChannelAccess()
2179 const deUint32 rowPitch = planeRowPitches[planeNdx]; in getChannelAccess()
[all …]
DvkNullDriver.cpp1093 for (deUint32 planeNdx = 0; planeNdx < desc.numPlanes; ++planeNdx) in getYCbCrImageDataSize() local
1095 const deUint32 planeW = extent.width / desc.planes[planeNdx].widthDivisor; in getYCbCrImageDataSize()
1096 const deUint32 planeH = extent.height / desc.planes[planeNdx].heightDivisor; in getYCbCrImageDataSize()
1097 const deUint32 elementSize = desc.planes[planeNdx].elementSizeBytes; in getYCbCrImageDataSize()
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemYCbCrConversionTests.cpp331 for (deUint32 planeNdx = 0; planeNdx < imageData.getDescription().numPlanes; ++planeNdx) in uploadYCbCrImage() local
336 (deUint32)imageData.getPlaneSize(planeNdx), in uploadYCbCrImage()
350 (deUint32)imageData.getPlaneSize(planeNdx) in uploadYCbCrImage()
354 …r->getAllocation().getHostPtr(), imageData.getPlanePtr(planeNdx), imageData.getPlaneSize(planeNdx)… in uploadYCbCrImage()
355 …on().getMemory(), buffer->getAllocation().getOffset(), (deUint32)imageData.getPlaneSize(planeNdx)); in uploadYCbCrImage()
362 for (deUint32 planeNdx = 0; planeNdx < imageData.getDescription().numPlanes; ++planeNdx) in uploadYCbCrImage() local
365 ? vk::getPlaneAspect(planeNdx) in uploadYCbCrImage()
391 for (deUint32 planeNdx = 0; planeNdx < imageData.getDescription().numPlanes; ++planeNdx) in uploadYCbCrImage() local
394 ? vk::getPlaneAspect(planeNdx) in uploadYCbCrImage()
397 ? imageData.getSize().x() / formatDesc.planes[planeNdx].widthDivisor in uploadYCbCrImage()
[all …]
/external/deqp/framework/referencerenderer/
DrrRenderer.cpp549 for (int planeNdx = 0; planeNdx < numPlanes; ++planeNdx) in clipPrimitives() local
551 const ClipVolumePlane* plane = planes[planeNdx]; in clipPrimitives()
565 clippedByPlane[planeNdx] = true; in clipPrimitives()
570 clippedByPlane[planeNdx] = false; in clipPrimitives()
604 for (int planeNdx = 0; planeNdx < numPlanes; ++planeNdx) in clipPrimitives() local
608 if (!clippedByPlane[planeNdx]) in clipPrimitives()
616 clipTriangleToPlane(convexPrimitive, subTriangles[subTriangleNdx].vertices, *planes[planeNdx]); in clipPrimitives()
/external/deqp/external/vulkancts/modules/vulkan/memory/
DvktMemoryRequirementsTests.cpp1714 for (deUint32 planeNdx = 0; planeNdx < (deUint32)getPlaneCount(format); planeNdx++) in testMultiplaneImages() local
1716 const VkImageAspectFlagBits aspect = getPlaneAspect(planeNdx); in testMultiplaneImages()