Home
last modified time | relevance | path

Searched refs:planeInfo (Results 1 – 11 of 11) sorted by relevance

/external/skia/tests/
DYUVTest.cpp52 const SkImageInfo& planeInfo = yuvaPixmapInfo.planeInfo(i); in codec_yuv() local
53 SkColorType planeCT = planeInfo.colorType(); in codec_yuv()
54 REPORTER_ASSERT(reporter, !planeInfo.isEmpty()); in codec_yuv()
56 REPORTER_ASSERT(reporter, planeInfo.validRowBytes(yuvaPixmapInfo.rowBytes(i))); in codec_yuv()
62 const SkImageInfo& planeInfo = yuvaPixmapInfo.planeInfo(i); in codec_yuv() local
63 REPORTER_ASSERT(reporter, planeInfo.dimensions().isEmpty()); in codec_yuv()
64 REPORTER_ASSERT(reporter, planeInfo.colorType() == kUnknown_SkColorType); in codec_yuv()
73 REPORTER_ASSERT(reporter, pixmaps.plane(i).info() == yuvaPixmapInfo.planeInfo(i)); in codec_yuv()
/external/deqp/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrFilteringTests.cpp373 const vk::PlanarFormatDescription planeInfo = imageData.getDescription(); in iterate() local
378 …ChannelAccess rChannelAccess (planeInfo.hasChannelNdx(0) ? getChannelAccess(imageData, plan… in iterate()
379 …ChannelAccess gChannelAccess (planeInfo.hasChannelNdx(1) ? getChannelAccess(imageData, plan… in iterate()
380 …ChannelAccess bChannelAccess (planeInfo.hasChannelNdx(2) ? getChannelAccess(imageData, plan… in iterate()
381 …ChannelAccess aChannelAccess (planeInfo.hasChannelNdx(3) ? getChannelAccess(imageData, plan… in iterate()
DvktYCbCrConversionTests.cpp699 const vk::PlanarFormatDescription planeInfo (vk::getPlanarFormatDescription(config.format)); in textureConversionTest() local
706 …ChannelAccess rChannelAccess (planeInfo.hasChannelNdx(0) ? getChannelAccess(src, planeInfo,… in textureConversionTest()
707 …ChannelAccess gChannelAccess (planeInfo.hasChannelNdx(1) ? getChannelAccess(src, planeInfo,… in textureConversionTest()
708 …ChannelAccess bChannelAccess (planeInfo.hasChannelNdx(2) ? getChannelAccess(src, planeInfo,… in textureConversionTest()
709 …ChannelAccess aChannelAccess (planeInfo.hasChannelNdx(3) ? getChannelAccess(src, planeInfo,… in textureConversionTest()
722 for (deUint32 planeNdx = 0; planeNdx < planeInfo.numPlanes; planeNdx++) in textureConversionTest()
726 if (planeInfo.hasChannelNdx(0)) in textureConversionTest()
733 if (planeInfo.hasChannelNdx(1)) in textureConversionTest()
740 if (planeInfo.hasChannelNdx(2)) in textureConversionTest()
747 if (planeInfo.hasChannelNdx(3)) in textureConversionTest()
DvktYCbCrViewTests.cpp406 VkBindImagePlaneMemoryInfo planeInfo = in testPlaneView() local
416 &planeInfo, in testPlaneView()
/external/deqp/external/vulkancts/framework/vulkan/
DvkQueryUtil.cpp327 VkImagePlaneMemoryRequirementsInfo planeInfo; in getImagePlaneMemoryRequirements() local
331 deMemset(&planeInfo, 0, sizeof(planeInfo)); in getImagePlaneMemoryRequirements()
335 coreInfo.pNext = &planeInfo; in getImagePlaneMemoryRequirements()
338 planeInfo.sType = VK_STRUCTURE_TYPE_IMAGE_PLANE_MEMORY_REQUIREMENTS_INFO; in getImagePlaneMemoryRequirements()
339 planeInfo.planeAspect = planeAspect; in getImagePlaneMemoryRequirements()
DvkMemUtil.cpp392 VkBindImagePlaneMemoryInfo planeInfo = in bindImagePlanesMemory() local
398 planeInfos.push_back(planeInfo); in bindImagePlanesMemory()
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemYCbCrConversionTests.cpp1013 const vk::PlanarFormatDescription planeInfo (vk::getPlanarFormatDescription(config.format)); in generateYCbCrImage() local
1019 …ycbcr::ChannelAccess rChannelAccess (planeInfo.hasChannelNdx(0) ? getChannelAccess(ycbcrSrc, in generateYCbCrImage()
1020 …ycbcr::ChannelAccess gChannelAccess (planeInfo.hasChannelNdx(1) ? getChannelAccess(ycbcrSrc, in generateYCbCrImage()
1021 …ycbcr::ChannelAccess bChannelAccess (planeInfo.hasChannelNdx(2) ? getChannelAccess(ycbcrSrc, in generateYCbCrImage()
1022 …ycbcr::ChannelAccess aChannelAccess (planeInfo.hasChannelNdx(3) ? getChannelAccess(ycbcrSrc, in generateYCbCrImage()
1026 for (deUint32 planeNdx = 0; planeNdx < planeInfo.numPlanes; planeNdx++) in generateYCbCrImage()
1030 if (planeInfo.hasChannelNdx(0)) in generateYCbCrImage()
1037 if (planeInfo.hasChannelNdx(1)) in generateYCbCrImage()
1044 if (planeInfo.hasChannelNdx(2)) in generateYCbCrImage()
1051 if (planeInfo.hasChannelNdx(3)) in generateYCbCrImage()
/external/angle/src/tests/egl_tests/
DEGLIOSurfaceClientBufferTest.cpp97 CFMutableDictionaryRef planeInfo = in CreateIOSurface() local
100 AddIntegerValue(planeInfo, kIOSurfacePlaneWidth, plane.width); in CreateIOSurface()
101 AddIntegerValue(planeInfo, kIOSurfacePlaneHeight, plane.height); in CreateIOSurface()
102 AddIntegerValue(planeInfo, kIOSurfacePlaneBytesPerElement, plane.bytesPerElement); in CreateIOSurface()
104 CFArrayAppendValue(planesInfo, planeInfo); in CreateIOSurface()
105 CFRelease(planeInfo); in CreateIOSurface()
/external/skia/include/core/
DSkYUVAPixmaps.h134 const SkImageInfo& planeInfo(int i) const { return fPlaneInfos[static_cast<size_t>(i)]; } in planeInfo() function
/external/angle/src/tests/gl_tests/
DImageTest.cpp503 AHardwareBuffer_Planes planeInfo; in writeAHBData() local
505 aHardwareBuffer, AHARDWAREBUFFER_USAGE_CPU_WRITE_RARELY, -1, nullptr, &planeInfo); in writeAHBData()
507 EXPECT_EQ(data.size(), planeInfo.planeCount); in writeAHBData()
512 const AHardwareBuffer_Plane &plane = planeInfo.planes[planeIdx]; in writeAHBData()
776 AHardwareBuffer_Planes planeInfo; in verifyResultAHB() local
778 nullptr, &planeInfo)); in verifyResultAHB()
779 ASSERT_EQ(data.size(), planeInfo.planeCount); in verifyResultAHB()
784 const AHardwareBuffer_Plane &plane = planeInfo.planes[planeIdx]; in verifyResultAHB()
/external/skia/src/codec/
DSkJpegCodec.cpp875 SkASSERT(info.planeInfo(i) == planes[i].info()); in onGetYUVAPlanes()