Searched refs:planeLayouts (Results 1 – 7 of 7) sorted by relevance
/frameworks/native/libs/ui/ |
D | GraphicBuffer.cpp | 43 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()
|
D | Gralloc5.cpp | 341 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()
|
D | Gralloc4.cpp | 309 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/ |
D | Gralloc4_test.cpp | 311 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/ |
D | Gralloc4.cpp | 781 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/ |
D | android_media_Utils.cpp | 480 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/ |
D | Gralloc4.h | 305 … 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…
|