Home | History | Annotate | Download | only in ycbcr

Lines Matching refs:planeNdx

179 vk::VkFormat getPlaneCompatibleFormat (vk::VkFormat format, deUint32 planeNdx)
181 DE_ASSERT(planeNdx < 3);
190 DE_ASSERT(planeNdx < 2);
192 if (planeNdx == 0)
203 DE_ASSERT(planeNdx < 2);
205 if (planeNdx == 0)
219 DE_ASSERT(planeNdx < 2);
221 if (planeNdx == 0)
232 DE_ASSERT(planeNdx < 2);
234 if (planeNdx == 0)
248 DE_ASSERT(planeNdx < 2);
250 if (planeNdx == 0)
261 DE_ASSERT(planeNdx < 2);
263 if (planeNdx == 0)
277 DE_ASSERT(planeNdx < 2);
279 if (planeNdx == 0)
290 DE_ASSERT(planeNdx < 2);
292 if (planeNdx == 0)
302 DE_ASSERT(planeNdx == 0);
593 deUint32 planeNdx,
597 return UVec2(size.x() / info.planes[planeNdx].widthDivisor, size.y() / info.planes[planeNdx].heightDivisor);
920 for (deUint32 planeNdx = 0; planeNdx < result.getDescription().numPlanes; ++planeNdx)
922 for (size_t byteNdx = 0; byteNdx < result.getPlaneSize(planeNdx); byteNdx++)
924 const deUint8 res = ((const deUint8*)result.getPlanePtr(planeNdx))[byteNdx];
925 const deUint8 ref = ((const deUint8*)reference.getPlanePtr(planeNdx))[byteNdx];
929 log << TestLog::Message << "Plane: " << planeNdx << ", Offset: " << byteNdx << ", Expected: " << (deUint32)ref << ", Got: " << (deUint32)res << TestLog::EndMessage;