Home
last modified time | relevance | path

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

/frameworks/native/libs/ui/
DGraphicBuffer.cpp43 static void resolveLegacyByteLayoutFromPlaneLayout(const std::vector<ui::PlaneLayout>& planeLayouts, in resolveLegacyByteLayoutFromPlaneLayout() argument
46 if (planeLayouts.empty()) return; in resolveLegacyByteLayoutFromPlaneLayout()
48 int32_t bitsPerPixel = planeLayouts.front().sampleIncrementInBits; in resolveLegacyByteLayoutFromPlaneLayout()
49 for (const auto& planeLayout : planeLayouts) { in resolveLegacyByteLayoutFromPlaneLayout()
61 int32_t bytesPerStride = planeLayouts.front().strideInBytes; in resolveLegacyByteLayoutFromPlaneLayout()
62 for (const auto& planeLayout : planeLayouts) { in resolveLegacyByteLayoutFromPlaneLayout()
DGralloc5.cpp341 std::vector<ui::PlaneLayout> planeLayouts; member
372 DECODE_TO(PLANE_LAYOUTS, outResult->planeLayouts); in dumpBufferCommon()
409 for (const auto& planeLayout : bufferDump.planeLayouts) { in writeDumpToStream()
624 std::vector<ui::PlaneLayout> planeLayouts; in lock() local
625 status_t error = getPlaneLayouts(bufferHandle, &planeLayouts); in lock()
645 for (const auto &planeLayout : planeLayouts) { in lock()
DGralloc4.cpp309 std::vector<ui::PlaneLayout> planeLayouts; in lock() local
310 status_t error = getPlaneLayouts(bufferHandle, &planeLayouts); in lock()
330 for (const auto& planeLayout : planeLayouts) { in lock()
801 std::vector<ui::PlaneLayout> planeLayouts; in bufferDumpHelper() local
878 gralloc4::decodePlaneLayouts, &planeLayouts); in bufferDumpHelper()
905 for (const auto& planeLayout : planeLayouts) { in bufferDumpHelper()
/frameworks/native/libs/gralloc/types/tests/
DGralloc4_test.cpp311 std::vector<PlaneLayout> planeLayouts; in TEST_F() local
330 planeLayouts.push_back(planeLayoutA); in TEST_F()
347 planeLayouts.push_back(planeLayoutRGB); in TEST_F()
349 …ASSERT_NO_FATAL_FAILURE(testHelperStableAidlType(planeLayouts, gralloc4::encodePlaneLayouts, grall… in TEST_F()
558 std::vector<PlaneLayout> planeLayouts; in TEST_F() local
579 ASSERT_NE(NO_ERROR, gralloc4::decodePlaneLayouts(vec, &planeLayouts)); in TEST_F()
/frameworks/native/libs/gralloc/types/
DGralloc4.cpp781 status_t encodePlaneLayoutsHelper(const std::vector<PlaneLayout>& planeLayouts, OutputHidlVec* outO… in encodePlaneLayoutsHelper() argument
782 …status_t err = encodeInteger<int64_t>(static_cast<int64_t>(planeLayouts.size()), outOutputHidlVec); in encodePlaneLayoutsHelper()
787 for (const auto& planeLayout : planeLayouts) { in encodePlaneLayoutsHelper()
1069 status_t encodePlaneLayouts(const std::vector<PlaneLayout>& planeLayouts, hidl_vec<uint8_t>* outPla… in encodePlaneLayouts() argument
1070 return encodeMetadata(MetadataType_PlaneLayouts, planeLayouts, outPlaneLayouts, in encodePlaneLayouts()
1074 status_t decodePlaneLayouts(const hidl_vec<uint8_t>& planeLayouts, std::vector<PlaneLayout>* outPla… in decodePlaneLayouts() argument
1075 return decodeMetadata(MetadataType_PlaneLayouts, planeLayouts, outPlaneLayouts, in decodePlaneLayouts()
/frameworks/base/media/jni/
Dandroid_media_Utils.cpp480 std::vector<ui::PlaneLayout> planeLayouts; in extractP010Gralloc4PlaneLayout() local
481 status_t res = mapper.getPlaneLayouts(buffer->handle, &planeLayouts); in extractP010Gralloc4PlaneLayout()
493 for (const ui::PlaneLayout &layout : planeLayouts) { in extractP010Gralloc4PlaneLayout()
/frameworks/native/libs/gralloc/types/include/gralloctypes/
DGralloc4.h305 … std::vector<aidl::android::hardware::graphics::common::PlaneLayout>& planeLayouts, android::hardw…
306 status_t decodePlaneLayouts(const android::hardware::hidl_vec<uint8_t>& planeLayouts, std::vector<a…