Home
last modified time | relevance | path

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

12

/frameworks/native/libs/ui/
DGraphicBufferAllocator.cpp93 rec.layerCount, rec.format, rec.usage, rec.requestorName.c_str()); in dump()
97 list.keyAt(i), rec.width, rec.stride, rec.height, rec.layerCount, in dump()
115 uint32_t layerCount, uint64_t usage, in allocateHelper() argument
129 width, height, layerCount, format, usage); in allocateHelper()
134 if (layerCount < 1) in allocateHelper()
135 layerCount = 1; in allocateHelper()
140 status_t error = mAllocator->allocate(requestorName, width, height, format, layerCount, usage, in allocateHelper()
145 width, height, layerCount, format, usage, error); in allocateHelper()
170 rec.layerCount = layerCount; in allocateHelper()
179 uint32_t layerCount, uint64_t usage, in allocate() argument
[all …]
DGraphicBufferMapper.cpp86 uint32_t width, uint32_t height, uint32_t layerCount, in importBuffer() argument
99 error = mMapper->validateBufferSize(bufferHandle, width, height, format, layerCount, usage, in importBuffer()
187 android::PixelFormat format, uint32_t layerCount, in isSupported() argument
189 return mMapper->isSupported(width, height, format, layerCount, usage, outSupported); in isSupported()
305 PixelFormat format, uint32_t layerCount, in getDefaultPixelFormatFourCC() argument
308 return mMapper->getDefaultPixelFormatFourCC(width, height, format, layerCount, usage, in getDefaultPixelFormatFourCC()
313 PixelFormat format, uint32_t layerCount, in getDefaultPixelFormatModifier() argument
316 return mMapper->getDefaultPixelFormatModifier(width, height, format, layerCount, usage, in getDefaultPixelFormatModifier()
321 PixelFormat format, uint32_t layerCount, in getDefaultAllocationSize() argument
324 return mMapper->getDefaultAllocationSize(width, height, format, layerCount, usage, in getDefaultAllocationSize()
[all …]
DGralloc4.cpp72 PixelFormat format, uint32_t layerCount, uint64_t usage, in sBufferDescriptorInfo() argument
77 outDescriptorInfo->layerCount = layerCount; in sBufferDescriptorInfo()
165 uint32_t layerCount, uint64_t usage, in validateBufferSize() argument
168 sBufferDescriptorInfo("validateBufferSize", width, height, format, layerCount, usage, in validateBufferSize()
406 uint32_t layerCount, uint64_t usage, in isSupported() argument
409 sBufferDescriptorInfo("isSupported", width, height, format, layerCount, usage, &descriptorInfo); in isSupported()
428 ALOGE("isSupported(%u, %u, %d, %u, ...) failed with %d", width, height, format, layerCount, in isSupported()
638 uint32_t layerCount, uint64_t usage, in getDefault() argument
646 sBufferDescriptorInfo("getDefault", width, height, format, layerCount, usage, &descriptorInfo); in getDefault()
671 PixelFormat format, uint32_t layerCount, in getDefaultPixelFormatFourCC() argument
[all …]
DGralloc3.cpp64 android::PixelFormat format, uint32_t layerCount, in sBufferDescriptorInfo() argument
69 outDescriptorInfo->layerCount = layerCount; in sBufferDescriptorInfo()
156 uint32_t layerCount, uint64_t usage, in validateBufferSize() argument
159 sBufferDescriptorInfo(width, height, format, layerCount, usage, &descriptorInfo); in validateBufferSize()
314 uint32_t layerCount, uint64_t usage, in isSupported() argument
317 sBufferDescriptorInfo(width, height, format, layerCount, usage, &descriptorInfo); in isSupported()
336 ALOGE("isSupported(%u, %u, %d, %u, ...) failed with %d", width, height, format, layerCount, in isSupported()
364 android::PixelFormat format, uint32_t layerCount, in allocate() argument
368 sBufferDescriptorInfo(width, height, format, layerCount, usage, &descriptorInfo); in allocate()
DGraphicBuffer.cpp73 layerCount = 0; in GraphicBuffer()
156 inLayerCount == layerCount && in reallocate()
174 if (inLayerCount != layerCount) return true; in needsReallocation()
195 layerCount = inLayerCount; in initWithSize()
213 ANativeWindowBuffer::layerCount = inLayerCount; in initWithHandle()
377 buf[5] = static_cast<int32_t>(layerCount); in flatten()
440 layerCount = 0; in unflatten()
463 layerCount = static_cast<uintptr_t>(buf[5]); in unflatten()
474 layerCount = 0; in unflatten()
485 layerCount = 0; in unflatten()
[all …]
DGralloc2.cpp145 descriptorInfo->layerCount, in createDescriptor()
183 uint32_t layerCount, uint64_t usage, in validateBufferSize() argument
192 descriptorInfo.layerCount = layerCount; in validateBufferSize()
377 PixelFormat format, uint32_t layerCount, uint64_t usage, in allocate() argument
383 descriptorInfo.layerCount = layerCount; in allocate()
/frameworks/native/libs/ui/include/ui/
DGraphicBufferMapper.h58 uint32_t width, uint32_t height, uint32_t layerCount,
90 uint32_t layerCount, uint64_t usage, bool* outSupported);
136 uint32_t layerCount, uint64_t usage,
139 uint32_t layerCount, uint64_t usage,
142 uint32_t layerCount, uint64_t usage,
145 uint32_t layerCount, uint64_t usage,
148 uint32_t width, uint32_t height, PixelFormat format, uint32_t layerCount,
152 uint32_t layerCount, uint64_t usage,
155 uint32_t width, uint32_t height, PixelFormat format, uint32_t layerCount,
159 uint32_t layerCount, uint64_t usage,
[all …]
DGralloc4.h52 PixelFormat format, uint32_t layerCount, uint64_t usage,
67 status_t isSupported(uint32_t width, uint32_t height, PixelFormat format, uint32_t layerCount,
113 uint32_t layerCount, uint64_t usage,
116 uint32_t layerCount, uint64_t usage,
119 uint32_t layerCount, uint64_t usage,
122 uint32_t layerCount, uint64_t usage,
125 uint32_t layerCount, uint64_t usage,
129 uint32_t layerCount, uint64_t usage,
132 uint32_t layerCount, uint64_t usage,
136 uint32_t layerCount, uint64_t usage,
[all …]
DGraphicBufferAllocator.h50 status_t allocate(uint32_t w, uint32_t h, PixelFormat format, uint32_t layerCount,
61 status_t allocateRawHandle(uint32_t w, uint32_t h, PixelFormat format, uint32_t layerCount,
69 uint32_t layerCount, uint64_t usage,
86 uint32_t layerCount; member
92 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 bufferCount,
DGralloc2.h49 android::PixelFormat format, uint32_t layerCount, uint64_t usage,
84 PixelFormat format, uint32_t layerCount, uint64_t usage, uint32_t bufferCount,
DGralloc.h56 uint32_t layerCount, uint64_t usage,
270 PixelFormat format, uint32_t layerCount, uint64_t usage,
/frameworks/native/libs/ui/include_vndk/ui/
DGraphicBufferMapper.h58 uint32_t width, uint32_t height, uint32_t layerCount,
90 uint32_t layerCount, uint64_t usage, bool* outSupported);
136 uint32_t layerCount, uint64_t usage,
139 uint32_t layerCount, uint64_t usage,
142 uint32_t layerCount, uint64_t usage,
145 uint32_t layerCount, uint64_t usage,
148 uint32_t width, uint32_t height, PixelFormat format, uint32_t layerCount,
152 uint32_t layerCount, uint64_t usage,
155 uint32_t width, uint32_t height, PixelFormat format, uint32_t layerCount,
159 uint32_t layerCount, uint64_t usage,
[all …]
DGraphicBufferAllocator.h50 status_t allocate(uint32_t w, uint32_t h, PixelFormat format, uint32_t layerCount,
61 status_t allocateRawHandle(uint32_t w, uint32_t h, PixelFormat format, uint32_t layerCount,
69 uint32_t layerCount, uint64_t usage,
86 uint32_t layerCount; member
92 status_t allocateHelper(uint32_t w, uint32_t h, PixelFormat format, uint32_t layerCount,
/frameworks/native/services/surfaceflinger/tests/unittests/
DLayerHistoryTest.cpp55 size_t layerCount() const { return mScheduler->layerHistorySize(); } in layerCount() function in android::scheduler::LayerHistoryTest
90 EXPECT_EQ(1, layerCount()); in TEST_F()
119 EXPECT_EQ(1, layerCount()); in TEST_F()
152 EXPECT_EQ(3, layerCount()); in TEST_F()
224 EXPECT_EQ(2, layerCount()); in TEST_F()
243 EXPECT_EQ(1, layerCount()); in TEST_F()
255 EXPECT_EQ(1, layerCount()); in TEST_F()
262 EXPECT_EQ(0, layerCount()); in TEST_F()
DLayerHistoryTestV2.cpp56 size_t layerCount() const { return mScheduler->layerHistorySize(); } in layerCount() function in android::scheduler::LayerHistoryTestV2
128 EXPECT_EQ(1, layerCount()); in TEST_F()
159 EXPECT_EQ(1, layerCount()); in TEST_F()
183 EXPECT_EQ(1, layerCount()); in TEST_F()
206 EXPECT_EQ(1, layerCount()); in TEST_F()
233 EXPECT_EQ(1, layerCount()); in TEST_F()
261 EXPECT_EQ(1, layerCount()); in TEST_F()
289 EXPECT_EQ(1, layerCount()); in TEST_F()
321 EXPECT_EQ(1, layerCount()); in TEST_F()
364 EXPECT_EQ(3, layerCount()); in TEST_F()
[all …]
/frameworks/av/media/codec2/components/vpx/
DC2SoftVpxEnc.h301 C2F(mLayering, m.layerCount).inRange(0, 4), in IntfImpl()
390 if (me.v.m.layerCount > 4) { in LayeringSetter()
391 me.set().m.layerCount = 4; in LayeringSetter()
399 ALOGI("setting temporal layering %u + %u", me.v.m.layerCount, me.v.m.bLayerCount); in LayeringSetter()
/frameworks/native/services/surfaceflinger/
DSurfaceFlingerDefaultFactory.cpp99 PixelFormat format, uint32_t layerCount, in createGraphicBuffer() argument
101 return new GraphicBuffer(width, height, format, layerCount, usage, requestorName); in createGraphicBuffer()
DSurfaceFlingerDefaultFactory.h42 uint32_t layerCount, uint64_t usage,
DSurfaceFlingerFactory.h88 PixelFormat format, uint32_t layerCount,
/frameworks/native/libs/ui/tests/mock/
DMockGrallocAllocator.h38 uint32_t layerCount, uint64_t usage, uint32_t bufferCount, uint32_t* outStride,
/frameworks/native/libs/nativebase/include/nativebase/
Dnativebase.h92 uintptr_t layerCount; member
/frameworks/av/media/codec2/vndk/
DC2AllocatorGralloc.cpp269 uint32_t format, uint32_t layerCount,
295 uint32_t format, uint32_t layerCount, in C2AllocationGralloc() argument
304 mLayerCount(layerCount), in C2AllocationGralloc()
734 uint32_t layerCount = 1; in priorGraphicAllocation() local
749 width, height, format, layerCount, in priorGraphicAllocation()
/frameworks/native/services/vr/hardware_composer/impl/
Dvr_composer_client.cpp113 .layerCount = read(), in readBufferMetadata()
/frameworks/av/media/libmedia/include/media/omx/1.0/
DConversion.h609 t->attr.layerCount = l.getLayerCount(); in wrapAs()
651 ints[5] = static_cast<int32_t>(t.attr.layerCount); in convertTo()
715 t->attr.anwBuffer.layerCount = 0; in wrapAs()
724 t->attr.anwBuffer.layerCount = l.mGraphicBuffer->getLayerCount(); in wrapAs()

12