Home
last modified time | relevance | path

Searched refs:layerCount (Results 1 – 25 of 51) sorted by relevance

123

/frameworks/native/libs/ui/
DGraphicBufferAllocator.cpp101 rec.layerCount, rec.format, rec.usage, rec.requestorName.c_str()); in dump()
129 request.width, request.height, request.layerCount, request.format, request.usage); in allocate()
133 if (request.layerCount < 1) { in allocate()
147 request.format, request.layerCount, request.usage, in allocate()
154 request.width, request.height, request.layerCount, request.format, request.usage, in allocate()
180 rec.layerCount = request.layerCount; in allocate()
190 uint32_t layerCount, uint64_t usage, in allocateHelper() argument
204 width, height, layerCount, format, usage); in allocateHelper()
209 if (layerCount < 1) { in allocateHelper()
210 layerCount = 1; in allocateHelper()
[all …]
DGraphicBuffer.cpp105 layerCount = 0; in GraphicBuffer()
155 layerCount = request.layerCount; in GraphicBuffer()
212 inLayerCount == layerCount && in reallocate()
230 if (inLayerCount != layerCount) return true; in needsReallocation()
251 layerCount = inLayerCount; in initWithSize()
269 ANativeWindowBuffer::layerCount = inLayerCount; in initWithHandle()
471 buf[5] = static_cast<int32_t>(layerCount); in flatten()
534 layerCount = 0; in unflatten()
557 layerCount = static_cast<uintptr_t>(buf[5]); in unflatten()
568 layerCount = 0; in unflatten()
[all …]
DGralloc3.cpp64 android::PixelFormat format, uint32_t layerCount, in sBufferDescriptorInfo() argument
69 outDescriptorInfo->layerCount = layerCount; in sBufferDescriptorInfo()
165 uint32_t layerCount, uint64_t usage, in validateBufferSize() argument
168 sBufferDescriptorInfo(width, height, format, layerCount, usage, &descriptorInfo); in validateBufferSize()
323 uint32_t layerCount, uint64_t usage, in isSupported() argument
326 sBufferDescriptorInfo(width, height, format, layerCount, usage, &descriptorInfo); in isSupported()
345 ALOGE("isSupported(%u, %u, %d, %u, ...) failed with %d", width, height, format, layerCount, in isSupported()
373 android::PixelFormat format, uint32_t layerCount, in allocate() argument
377 sBufferDescriptorInfo(width, height, format, layerCount, usage, &descriptorInfo); in allocate()
DGralloc2.cpp154 descriptorInfo->layerCount, in createDescriptor()
192 uint32_t layerCount, uint64_t usage, in validateBufferSize() argument
201 descriptorInfo.layerCount = layerCount; in validateBufferSize()
386 PixelFormat format, uint32_t layerCount, uint64_t usage, in allocate() argument
392 descriptorInfo.layerCount = layerCount; in allocate()
DGralloc5.cpp201 uint32_t layerCount, uint64_t usage) { in makeDescriptor() argument
211 .layerCount = static_cast<int32_t>(layerCount), in makeDescriptor()
226 android::PixelFormat format, uint32_t layerCount, in allocate() argument
234 .layerCount = layerCount, in allocate()
247 request.format, request.layerCount, request.usage); in allocate()
330 uint64_t layerCount; member
361 DECODE_TO(LAYER_COUNT, outResult->layerCount); in dumpBufferCommon()
435 outDump << "\tlayer cnt: " << bufferDump.layerCount in writeDumpToStream()
533 uint32_t layerCount, uint64_t usage, in validateBufferSize() argument
564 if (layerCount != value) { in validateBufferSize()
[all …]
DGralloc4.cpp141 PixelFormat format, uint32_t layerCount, in sBufferDescriptorInfo() argument
147 outDescriptorInfo->layerCount = layerCount; in sBufferDescriptorInfo()
225 uint32_t layerCount, uint64_t usage, in validateBufferSize() argument
228 if (auto error = sBufferDescriptorInfo("validateBufferSize", width, height, format, layerCount, in validateBufferSize()
439 uint32_t layerCount, uint64_t usage, in isSupported() argument
442 if (sBufferDescriptorInfo("isSupported", width, height, format, layerCount, usage, in isSupported()
466 ALOGE("isSupported(%u, %u, %d, %u, ...) failed with %d", width, height, format, layerCount, in isSupported()
790 uint64_t layerCount; in bufferDumpHelper() local
823 gralloc4::decodeLayerCount, &layerCount); in bufferDumpHelper()
934 *outDump << "\tlayer cnt: " << layerCount << ", protected content: " << protectedContent in bufferDumpHelper()
[all …]
DGraphicBufferMapper.cpp97 uint32_t height, uint32_t layerCount, PixelFormat format, in importBuffer() argument
109 error = mMapper->validateBufferSize(bufferHandle, width, height, format, layerCount, usage, in importBuffer()
225 android::PixelFormat format, uint32_t layerCount, in isSupported() argument
227 return mMapper->isSupported(width, height, format, layerCount, usage, outSupported); in isSupported()
/frameworks/native/libs/ui/include/ui/
DGraphicBufferAllocator.h56 uint32_t layerCount; member
80 status_t allocate(uint32_t w, uint32_t h, PixelFormat format, uint32_t layerCount,
91 status_t allocateRawHandle(uint32_t w, uint32_t h, PixelFormat format, uint32_t layerCount,
99 uint32_t layerCount, uint64_t usage,
118 uint32_t layerCount; member
124 status_t allocateHelper(uint32_t w, uint32_t h, PixelFormat format, uint32_t layerCount,
DGralloc3.h48 android::PixelFormat format, uint32_t layerCount, uint64_t usage,
64 uint32_t layerCount, uint64_t usage, bool* outSupported) const override;
85 PixelFormat format, uint32_t layerCount, uint64_t usage, uint32_t* outStride,
DGralloc2.h49 android::PixelFormat format, uint32_t layerCount, uint64_t usage,
84 PixelFormat format, uint32_t layerCount, uint64_t usage, uint32_t* outStride,
DGralloc4.h53 PixelFormat format, uint32_t layerCount, uint64_t usage,
68 status_t isSupported(uint32_t width, uint32_t height, PixelFormat format, uint32_t layerCount,
149 uint32_t width, uint32_t height, PixelFormat format, uint32_t layerCount,
177 PixelFormat format, uint32_t layerCount, uint64_t usage, uint32_t* outStride,
DGralloc5.h45 uint32_t layerCount, uint64_t usage,
61 uint32_t layerCount, uint64_t usage,
174 PixelFormat format, uint32_t layerCount, uint64_t usage,
DGralloc.h54 uint32_t layerCount, uint64_t usage,
221 PixelFormat format, uint32_t layerCount, uint64_t usage,
/frameworks/native/libs/ui/include_vndk/ui/
DGraphicBufferAllocator.h56 uint32_t layerCount; member
80 status_t allocate(uint32_t w, uint32_t h, PixelFormat format, uint32_t layerCount,
91 status_t allocateRawHandle(uint32_t w, uint32_t h, PixelFormat format, uint32_t layerCount,
99 uint32_t layerCount, uint64_t usage,
118 uint32_t layerCount; member
124 status_t allocateHelper(uint32_t w, uint32_t h, PixelFormat format, uint32_t layerCount,
/frameworks/native/services/surfaceflinger/tests/unittests/
DLayerHistoryIntegrationTest.cpp90 size_t layerCount() const { return mScheduler->layerHistorySize(); } in layerCount() function in android::scheduler::LayerHistoryIntegrationTest
180 EXPECT_EQ(1u, layerCount()); in TEST_F()
200 EXPECT_EQ(1u, layerCount()); in TEST_F()
221 EXPECT_EQ(1u, layerCount()); in TEST_F()
246 EXPECT_EQ(1u, layerCount()); in TEST_F()
263 EXPECT_EQ(1u, layerCount()); in TEST_F()
282 EXPECT_EQ(1u, layerCount()); in TEST_F()
303 EXPECT_EQ(3u, layerCount()); in TEST_F()
395 EXPECT_EQ(2u, layerCount()); in TEST_F()
418 EXPECT_EQ(1u, layerCount()); in TEST_F()
[all …]
DLayerHistoryTest.cpp84 size_t layerCount() const { return mScheduler->layerHistorySize(); } in layerCount() function in android::scheduler::LayerHistoryTest
167 EXPECT_EQ(1, layerCount()); in TEST_F()
194 EXPECT_EQ(1, layerCount()); in TEST_F()
222 EXPECT_EQ(1, layerCount()); in TEST_F()
295 EXPECT_EQ(1, layerCount()); in TEST_F()
356 EXPECT_EQ(1, layerCount()); in TEST_F()
383 EXPECT_EQ(1, layerCount()); in TEST_F()
407 EXPECT_EQ(1, layerCount()); in TEST_F()
435 EXPECT_EQ(1, layerCount()); in TEST_F()
464 EXPECT_EQ(1, layerCount()); in TEST_F()
[all …]
DTransactionProtoParserTest.cpp46 size_t layerCount = 2; in TEST() local
47 t1.states.reserve(layerCount); in TEST()
48 for (uint32_t i = 0; i < layerCount; i++) { in TEST()
/frameworks/av/services/camera/virtualcamera/
DVirtualCameraStream.cc49 uint64_t layerCount; in createGraphicBuffer() local
54 mapper.getLayerCount(bufferHandle, &layerCount) != NO_ERROR || in createGraphicBuffer()
62 static_cast<int>(pixelFormat), layerCount, usage, width); in createGraphicBuffer()
/frameworks/native/services/surfaceflinger/
DSurfaceFlingerDefaultFactory.cpp60 PixelFormat format, uint32_t layerCount, in createGraphicBuffer() argument
62 return sp<GraphicBuffer>::make(width, height, format, layerCount, usage, requestorName); in createGraphicBuffer()
DSurfaceFlingerDefaultFactory.h34 uint32_t layerCount, uint64_t usage,
/frameworks/native/services/surfaceflinger/CompositionEngine/src/planner/
DFlattener.cpp323 const size_t layerCount = currentLayerIter->getLayerCount(); in mergeWithCachedSets() local
324 for (size_t i = 0; i < layerCount; ++i) { in mergeWithCachedSets()
348 skipCount -= layerCount; in mergeWithCachedSets()
362 const size_t layerCount = currentLayerIter->getLayerCount(); in mergeWithCachedSets() local
364 for (size_t i = 0; i < layerCount; ++i) { in mergeWithCachedSets()
/frameworks/native/libs/ui/tests/mock/
DMockGrallocAllocator.h38 uint32_t layerCount, uint64_t usage, uint32_t* outStride,
/frameworks/native/libs/nativebase/include/nativebase/
Dnativebase.h92 uintptr_t layerCount; member
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/
DClockDrawableWrapper.java192 int layerCount = foreground.getNumberOfLayers(); in forExtras() local
193 if (info.hourLayerIndex < 0 || info.hourLayerIndex >= layerCount) { in forExtras()
196 if (info.minuteLayerIndex < 0 || info.minuteLayerIndex >= layerCount) { in forExtras()
199 if (info.secondLayerIndex < 0 || info.secondLayerIndex >= layerCount) { in forExtras()
/frameworks/av/media/libmedia/include/media/omx/1.0/
DConversion.h617 t->attr.layerCount = ((uint64_t(usageHigh) << 32) | layerLow); in wrapAs()
663 uint32_t layer = (0xFFFFFFFF & t.attr.layerCount); in convertTo()
664 uint32_t usageHigh = (t.attr.layerCount >> 32); in convertTo()
730 t->attr.anwBuffer.layerCount = 0; in wrapAs()
739 t->attr.anwBuffer.layerCount = l.mGraphicBuffer->getLayerCount(); in wrapAs()

123