Home
last modified time | relevance | path

Searched refs:getFlattenedSize (Results 1 – 25 of 47) sorted by relevance

12

/frameworks/native/libs/gui/
DIGraphicBufferProducerFlattenables.cpp34 size_t IGraphicBufferProducer::QueueBufferInput::getFlattenedSize() const { in getFlattenedSize() function in android::IGraphicBufferProducer::QueueBufferInput
36 fence->getFlattenedSize() + in getFlattenedSize()
37 surfaceDamage.getFlattenedSize() + in getFlattenedSize()
38 hdrMetadata.getFlattenedSize(); in getFlattenedSize()
48 if (size < getFlattenedSize()) { in flatten()
69 FlattenableUtils::advance(buffer, size, surfaceDamage.getFlattenedSize()); in flatten()
74 FlattenableUtils::advance(buffer, size, hdrMetadata.getFlattenedSize()); in flatten()
104 FlattenableUtils::advance(buffer, size, surfaceDamage.getFlattenedSize()); in unflatten()
109 FlattenableUtils::advance(buffer, size, hdrMetadata.getFlattenedSize()); in unflatten()
120 size_t IGraphicBufferProducer::QueueBufferOutput::getFlattenedSize() const { in getFlattenedSize() function in android::IGraphicBufferProducer::QueueBufferOutput
[all …]
DBufferItem.cpp92 size_t BufferItem::getFlattenedSize() const { in getFlattenedSize() function in android::BufferItem
95 size += mGraphicBuffer->getFlattenedSize(); in getFlattenedSize()
99 size += mFence->getFlattenedSize(); in getFlattenedSize()
102 size += mSurfaceDamage.getFlattenedSize(); in getFlattenedSize()
103 size += mHdrMetadata.getFlattenedSize(); in getFlattenedSize()
129 if (size < BufferItem::getFlattenedSize()) { in flatten()
155 FlattenableUtils::advance(buffer, size, mSurfaceDamage.getFlattenedSize()); in flatten()
159 FlattenableUtils::advance(buffer, size, mHdrMetadata.getFlattenedSize()); in flatten()
221 FlattenableUtils::advance(buffer, size, mSurfaceDamage.getFlattenedSize()); in unflatten()
225 FlattenableUtils::advance(buffer, size, mHdrMetadata.getFlattenedSize()); in unflatten()
DHdrMetadata.cpp22 size_t HdrMetadata::getFlattenedSize() const { in getFlattenedSize() function in android::HdrMetadata
38 if (size < getFlattenedSize()) { in flatten()
DFrameTimestamps.cpp609 size_t FrameEventsDelta::getFlattenedSize() const { in getFlattenedSize() function in android::FrameEventsDelta
614 return a + fence->getFlattenedSize(); in getFlattenedSize()
628 if (size < getFlattenedSize() || count < getFdCount()) { in flatten()
740 size_t FrameEventHistoryDelta::getFlattenedSize() const { in getFlattenedSize() function in android::FrameEventHistoryDelta
744 return a + delta.getFlattenedSize(); in getFlattenedSize()
760 if (size < getFlattenedSize()) { in flatten()
/frameworks/native/libs/ui/include_private/ui/
DFlattenableHelpers.h37 static constexpr size_t getFlattenedSize(const T&) { in getFlattenedSize() function
62 static size_t getFlattenedSize(const std::string& str) { in getFlattenedSize() function
67 if (*size < getFlattenedSize(str)) return NO_MEMORY; in flatten()
85 static size_t getFlattenedSize(const LightFlattenable<T>& value) { in getFlattenedSize() function
86 return value.getFlattenedSize(); in getFlattenedSize()
92 FlattenableUtils::advance(*buffer, *size, value.getFlattenedSize()); in flatten()
99 FlattenableUtils::advance(*buffer, *size, value->getFlattenedSize()); in unflatten()
105 static size_t getFlattenedSize(const std::optional<T>& value) { in getFlattenedSize() function
106 return sizeof(bool) + (value ? getFlattenedSize(*value) : 0); in getFlattenedSize()
135 static size_t getFlattenedSize(const std::vector<T>& value) { in getFlattenedSize() function
[all …]
/frameworks/native/libs/ui/tests/
DFlattenableHelpers_test.cpp37 size_t getFlattenedSize() const { return sizeof(int32_t); } in getFlattenedSize() function
75 testWriteThenRead(value, FlattenableHelpers::getFlattenedSize(value)); in testWriteThenRead()
104 buffer.assign(FlattenableHelpers::getFlattenedSize(value), 0); in TEST_F()
122 buffer.assign(FlattenableHelpers::getFlattenedSize(value), 0); in TEST_F()
147 size_t getFlattenedSize() const { return kSizeTag; } in TEST_F() function
163 EXPECT_EQ(kSizeTag, FlattenableHelpers::getFlattenedSize(foo)); in TEST_F()
/frameworks/native/libs/gui/bufferqueue/1.0/
DConversion.cpp433 size_t const baseSize = l.getFlattenedSize(); in wrapAs()
539 size_t getFlattenedSize( in getFlattenedSize() function
583 if (size < getFlattenedSize(t)) { in flatten()
678 size_t getFlattenedSize( in getFlattenedSize() function
681 getFlattenedSize(t.gpuCompositionDoneFence) + in getFlattenedSize()
682 getFlattenedSize(t.displayPresentFence) + in getFlattenedSize()
683 getFlattenedSize(t.displayRetireFence) + in getFlattenedSize()
684 getFlattenedSize(t.releaseFence); in getFlattenedSize()
831 size_t getFlattenedSize( in getFlattenedSize() function
836 size += getFlattenedSize(t.deltas[i]); in getFlattenedSize()
[all …]
DH2BGraphicBufferProducer.cpp309 size_t const baseSize = l.getFlattenedSize(); in wrapAs()
540 size_t const baseSize = l.getFlattenedSize(); in wrapAs()
582 inline size_t getFlattenedSize( in getFlattenedSize() function
628 if (size < getFlattenedSize(t)) { in flatten()
683 inline size_t getFlattenedSize( in getFlattenedSize() function
686 getFlattenedSize(t.gpuCompositionDoneFence) + in getFlattenedSize()
687 getFlattenedSize(t.displayPresentFence) + in getFlattenedSize()
688 getFlattenedSize(t.displayRetireFence) + in getFlattenedSize()
689 getFlattenedSize(t.releaseFence); in getFlattenedSize()
784 inline size_t getFlattenedSize( in getFlattenedSize() function
[all …]
/frameworks/native/libs/gui/include/gui/
DIGraphicBufferProducer.h357 size_t getFlattenedSize() const;
394 size_t getFlattenedSize() const;
697 size_t getFlattenedSize() const;
719 size_t getFlattenedSize() const;
735 size_t getFlattenedSize() const;
768 size_t getFlattenedSize() const;
798 size_t getFlattenedSize() const;
819 size_t getFlattenedSize() const;
DHdrMetadata.h44 size_t getFlattenedSize() const;
DBufferItem.h39 size_t getFlattenedSize() const;
/frameworks/native/libs/gui/include/gui/bufferqueue/1.0/
DConversion.h365 size_t getFlattenedSize(HGraphicBufferProducer::FenceTimeSnapshot const& t);
420 size_t getFlattenedSize(HGraphicBufferProducer::FrameEventsDelta const& t);
476 size_t getFlattenedSize(
564 size_t getFlattenedSize(Region const& t);
614 size_t getFlattenedSize(HGraphicBufferProducer::QueueBufferInput const& t);
/frameworks/native/opengl/libs/EGL/
DBlobCache_test.cpp318 size_t size = mBC->getFlattenedSize(); in roundTrip()
366 size_t size = mBC->getFlattenedSize(); in TEST_F()
388 size_t size = mBC->getFlattenedSize() - 1; in TEST_F()
400 size_t size = mBC->getFlattenedSize(); in TEST_F()
417 size_t size = mBC->getFlattenedSize(); in TEST_F()
436 size_t size = mBC->getFlattenedSize(); in TEST_F()
455 size_t size = mBC->getFlattenedSize(); in TEST_F()
485 size_t size = mBC->getFlattenedSize(); in TEST_F()
DFileBlobCache.cpp128 size_t cacheSize = getFlattenedSize(); in writeToFile()
197 return getFlattenedSize() + cacheFileHeaderSize; in getSize()
DBlobCache.h99 size_t getFlattenedSize() const;
/frameworks/native/libs/ui/
DFrameStats.cpp25 size_t FrameStats::getFlattenedSize() const { in getFlattenedSize() function in android::FrameStats
35 if (size < getFlattenedSize()) { in flatten()
DFence.cpp156 size_t Fence::getFlattenedSize() const { in getFlattenedSize() function in android::Fence
165 if (size < getFlattenedSize() || count < getFdCount()) { in flatten()
184 if (size < getFlattenedSize()) { in unflatten()
DFenceTime.cpp226 size_t FenceTime::Snapshot::getFlattenedSize() const { in getFlattenedSize() function in android::FenceTime::Snapshot
232 return min + fence->getFlattenedSize(); in getFlattenedSize()
245 if (size < getFlattenedSize()) { in flatten()
/frameworks/native/libs/ui/include_vndk/ui/
DFrameStats.h57 size_t getFlattenedSize() const;
DFence.h143 size_t getFlattenedSize() const;
/frameworks/native/libs/ui/include/ui/
DFrameStats.h57 size_t getFlattenedSize() const;
DFence.h143 size_t getFlattenedSize() const;
/frameworks/native/libs/sensor/fuzz/sensor_fuzzer/
Dsensor_fuzzer.cpp49 std::vector<uint8_t> buffer1(sensor1.getFlattenedSize()); in LLVMFuzzerTestOneInput()
/frameworks/av/include/private/media/
DVideoFrame.h68 size_t getFlattenedSize() const { in getFlattenedSize() function
/frameworks/native/libs/sensor/include/sensor/
DSensor.h109 size_t getFlattenedSize() const;

12