Home
last modified time | relevance | path

Searched refs:planeLayouts (Results 1 – 4 of 4) sorted by relevance

/hardware/google/gfxstream/host/vulkan/
DVkFormatUtils.cpp35 std::vector<FormatPlaneLayout> planeLayouts; member
44 .planeLayouts = in getFormatPlaneLayoutsMap()
63 .planeLayouts = in getFormatPlaneLayoutsMap()
82 .planeLayouts = in getFormatPlaneLayoutsMap()
109 .planeLayouts = \ in getFormatPlaneLayoutsMap()
156 for (const FormatPlaneLayout& planeInfo : formatInfo->planeLayouts) { in getFormatTransferInfo()
/hardware/interfaces/camera/common/default/
DHandleImporter.cpp83 std::vector<PlaneLayout> planeLayouts; in getPlaneLayouts() local
84 status_t status = GraphicBufferMapper::get().getPlaneLayouts(buf, &planeLayouts); in getPlaneLayouts()
89 return planeLayouts; in getPlaneLayouts()
185 std::vector<PlaneLayout> planeLayouts = getPlaneLayouts(buf); in getMonoPlanarStrideBytes() local
186 if (planeLayouts.size() != 1) { in getMonoPlanarStrideBytes()
187 ALOGE("%s: Unexpected number of planes %zu!", __FUNCTION__, planeLayouts.size()); in getMonoPlanarStrideBytes()
191 *stride = planeLayouts[0].strideInBytes; in getMonoPlanarStrideBytes()
/hardware/interfaces/graphics/mapper/4.0/vts/functional/
DVtsHalGraphicsMapperV4_0TargetTest.cpp132 void verifyRGBA8888PlaneLayouts(const std::vector<PlaneLayout>& planeLayouts) { in verifyRGBA8888PlaneLayouts() argument
133 ASSERT_EQ(1, planeLayouts.size()); in verifyRGBA8888PlaneLayouts()
135 const auto& planeLayout = planeLayouts.front(); in verifyRGBA8888PlaneLayouts()
220 std::vector<PlaneLayout> planeLayouts; in getAndroidYCbCr() local
221 ASSERT_EQ(NO_ERROR, gralloc4::decodePlaneLayouts(vec, &planeLayouts)); in getAndroidYCbCr()
230 for (const auto& planeLayout : planeLayouts) { in getAndroidYCbCr()
298 std::vector<PlaneLayout> planeLayouts; in getAndroidYCbCr_P010() local
299 EXPECT_EQ(NO_ERROR, gralloc4::decodePlaneLayouts(vec, &planeLayouts)); in getAndroidYCbCr_P010()
300 EXPECT_EQ(2, planeLayouts.size()); in getAndroidYCbCr_P010()
301 EXPECT_EQ(1, planeLayouts[0].components.size()); in getAndroidYCbCr_P010()
[all …]
/hardware/interfaces/graphics/mapper/stable-c/vts/
DVtsHalGraphicsMapperStableC_TargetTest.cpp271 void verifyRGBA8888PlaneLayouts(const std::vector<PlaneLayout>& planeLayouts) { in verifyRGBA8888PlaneLayouts() argument
272 ASSERT_EQ(1, planeLayouts.size()); in verifyRGBA8888PlaneLayouts()
274 const auto& planeLayout = planeLayouts.front(); in verifyRGBA8888PlaneLayouts()
327 const auto& planeLayouts = *decodeResult; in verifyRGBA8888() local
328 ASSERT_TRUE(planeLayouts.size() > 0); in verifyRGBA8888()
330 verifyRGBA8888PlaneLayouts(planeLayouts); in verifyRGBA8888()
390 const auto& planeLayouts = *decodeResult; in getAndroidYCbCr() local
391 ASSERT_TRUE(planeLayouts.size() > 0); in getAndroidYCbCr()
400 for (const auto& planeLayout : planeLayouts) { in getAndroidYCbCr()
470 const auto& planeLayouts = *decodeResult; in getAndroidYCbCr_P010() local
[all …]