Searched refs:planeLayouts (Results 1 – 5 of 5) sorted by relevance
/frameworks/native/libs/ui/ |
D | Gralloc4.cpp | 263 std::vector<ui::PlaneLayout> planeLayouts; in lock() local 264 status_t err = getPlaneLayouts(bufferHandle, &planeLayouts); in lock() 266 if (err == NO_ERROR && !planeLayouts.empty()) { in lock() 268 int32_t bitsPerPixel = planeLayouts.front().sampleIncrementInBits; in lock() 269 for (const auto& planeLayout : planeLayouts) { in lock() 281 int32_t bytesPerStride = planeLayouts.front().strideInBytes; in lock() 282 for (const auto& planeLayout : planeLayouts) { in lock() 336 std::vector<ui::PlaneLayout> planeLayouts; in lock() local 337 status_t error = getPlaneLayouts(bufferHandle, &planeLayouts); in lock() 357 for (const auto& planeLayout : planeLayouts) { in lock() [all …]
|
/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…
|