Home
last modified time | relevance | path

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

/third_party/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()
/third_party/vk-gl-cts/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.cpp448 VkBindImagePlaneMemoryInfo planeInfo = in testPlaneView() local
458 &planeInfo, in testPlaneView()
/third_party/flutter/skia/tools/gpu/
DYUVUtils.cpp64 auto planeInfo = SkImageInfo::Make(fSizeInfo.fSizes[i].fWidth, in reset() local
67 fPlanes[i].reset(planeInfo, planes[i], fSizeInfo.fWidthBytes[i]); in reset()
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/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()
/third_party/skia/third_party/externals/angle2/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()
/third_party/skia/include/core/
DSkYUVAPixmaps.h134 const SkImageInfo& planeInfo(int i) const { return fPlaneInfos[static_cast<size_t>(i)]; } in planeInfo() function
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DImageTest.cpp490 AHardwareBuffer_Planes planeInfo; in writeAHBData() local
492 aHardwareBuffer, AHARDWAREBUFFER_USAGE_CPU_WRITE_RARELY, -1, nullptr, &planeInfo); in writeAHBData()
494 EXPECT_EQ(data.size(), planeInfo.planeCount); in writeAHBData()
499 const AHardwareBuffer_Plane &plane = planeInfo.planes[planeIdx]; in writeAHBData()
800 AHardwareBuffer_Planes planeInfo; in verifyResultAHB() local
802 nullptr, &planeInfo)); in verifyResultAHB()
803 ASSERT_EQ(data.size(), planeInfo.planeCount); in verifyResultAHB()
808 const AHardwareBuffer_Plane &plane = planeInfo.planes[planeIdx]; in verifyResultAHB()
/third_party/skia/src/codec/
DSkJpegCodec.cpp874 SkASSERT(info.planeInfo(i) == planes[i].info()); in onGetYUVAPlanes()