Home
last modified time | relevance | path

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

12

/frameworks/native/libs/ui/
DGraphicBufferAllocator.cpp85 rec.layerCount, rec.format, rec.usage, rec.requestorName.c_str()); in dump()
89 list.keyAt(i), rec.width, rec.stride, rec.height, rec.layerCount, in dump()
107 PixelFormat format, uint32_t layerCount, uint64_t usage, in allocate() argument
122 width, height, layerCount, format, usage); in allocate()
127 if (layerCount < 1) in allocate()
128 layerCount = 1; in allocate()
134 mAllocator->allocate(width, height, format, layerCount, usage, 1, stride, handle); in allocate()
154 rec.layerCount = layerCount; in allocate()
164 width, height, layerCount, format, usage, in allocate()
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 uint32_t layerCount, uint64_t usage, uint32_t bufferCount, in allocate() argument
367 sBufferDescriptorInfo(width, height, format, layerCount, usage, &descriptorInfo); in allocate()
DGraphicBuffer.cpp78 layerCount = 0; in GraphicBuffer()
177 inLayerCount == layerCount && in reallocate()
195 if (inLayerCount != layerCount) return true; in needsReallocation()
216 layerCount = inLayerCount; in initWithSize()
234 ANativeWindowBuffer::layerCount = inLayerCount; in initWithHandle()
413 buf[5] = static_cast<int32_t>(layerCount); in flatten()
482 layerCount = 0; in unflatten()
505 layerCount = static_cast<uintptr_t>(buf[5]); in unflatten()
516 layerCount = 0; in unflatten()
527 layerCount = 0; in unflatten()
[all …]
DGraphicBufferMapper.cpp67 uint32_t width, uint32_t height, uint32_t layerCount, in importBuffer() argument
80 error = mMapper->validateBufferSize(bufferHandle, width, height, format, layerCount, usage, in importBuffer()
168 android::PixelFormat format, uint32_t layerCount, in isSupported() argument
170 return mMapper->isSupported(width, height, format, layerCount, usage, outSupported); in isSupported()
DGralloc2.cpp145 descriptorInfo->layerCount, in createDescriptor()
183 uint32_t layerCount, uint64_t usage, in validateBufferSize() argument
192 descriptorInfo.layerCount = layerCount; in validateBufferSize()
383 uint32_t layerCount, uint64_t usage, uint32_t bufferCount, in allocate() argument
388 descriptorInfo.layerCount = layerCount; in allocate()
DBufferHubBuffer.cpp43 uint32_t layerCount, uint32_t format, in create() argument
46 new BufferHubBuffer(width, height, layerCount, format, usage, userMetadataSize)); in create()
60 BufferHubBuffer::BufferHubBuffer(uint32_t width, uint32_t height, uint32_t layerCount, in BufferHubBuffer() argument
65 __FUNCTION__, width, height, layerCount, format, usage, userMetadataSize); in BufferHubBuffer()
73 AHardwareBuffer_Desc aDesc = {width, height, layerCount, format, in BufferHubBuffer()
/frameworks/native/libs/ui/include/ui/
DGralloc.h50 uint32_t layerCount, uint64_t usage,
78 uint32_t layerCount, uint64_t usage, bool* outSupported) const = 0;
96 uint32_t layerCount, uint64_t usage, uint32_t bufferCount,
DGralloc3.h48 android::PixelFormat format, uint32_t layerCount, uint64_t usage,
64 uint32_t layerCount, uint64_t usage, bool* outSupported) const override;
84 status_t allocate(uint32_t width, uint32_t height, PixelFormat format, uint32_t layerCount,
DGralloc2.h49 android::PixelFormat format, uint32_t layerCount, uint64_t usage,
65 uint32_t layerCount, uint64_t usage, bool* outSupported) const override;
86 status_t allocate(uint32_t width, uint32_t height, PixelFormat format, uint32_t layerCount,
DGraphicBufferAllocator.h46 uint32_t layerCount, uint64_t usage,
63 uint32_t layerCount; member
DBufferHubBuffer.h34 uint32_t layerCount, uint32_t format,
107 BufferHubBuffer(uint32_t width, uint32_t height, uint32_t layerCount, uint32_t format,
DGraphicBufferMapper.h54 uint32_t width, uint32_t height, uint32_t layerCount,
86 uint32_t layerCount, uint64_t usage, bool* outSupported);
/frameworks/native/libs/ui/include_vndk/ui/
DGralloc2.h49 android::PixelFormat format, uint32_t layerCount, uint64_t usage,
65 uint32_t layerCount, uint64_t usage, bool* outSupported) const override;
86 status_t allocate(uint32_t width, uint32_t height, PixelFormat format, uint32_t layerCount,
DGraphicBufferAllocator.h46 uint32_t layerCount, uint64_t usage,
63 uint32_t layerCount; member
DGraphicBufferMapper.h54 uint32_t width, uint32_t height, uint32_t layerCount,
86 uint32_t layerCount, uint64_t usage, bool* outSupported);
/frameworks/native/services/bufferhub/
DBufferNode.cpp31 BufferNode::BufferNode(uint32_t width, uint32_t height, uint32_t layerCount, uint32_t format, in BufferNode() argument
38 int ret = GraphicBufferAllocator::get().allocate(width, height, format, layerCount, usage, in BufferNode()
52 mBufferDesc.layers = layerCount; in BufferNode()
/frameworks/av/media/codec2/components/vpx/
DC2SoftVpxEnc.h300 C2F(mLayering, m.layerCount).inRange(0, 4), in IntfImpl()
389 if (me.v.m.layerCount > 4) { in LayeringSetter()
390 me.set().m.layerCount = 4; in LayeringSetter()
398 ALOGI("setting temporal layering %u + %u", me.v.m.layerCount, me.v.m.bLayerCount); in LayeringSetter()
/frameworks/native/services/surfaceflinger/
DSurfaceFlingerFactory.cpp97 uint32_t layerCount, uint64_t usage, in createSurfaceFlinger() argument
99 return new GraphicBuffer(width, height, format, layerCount, usage, requestorName); in createSurfaceFlinger()
DSurfaceFlingerFactory.h83 PixelFormat format, uint32_t layerCount,
/frameworks/native/libs/ui/tests/mock/
DMockGrallocAllocator.h37 (uint32_t width, uint32_t height, PixelFormat format, uint32_t layerCount,
/frameworks/native/services/bufferhub/include/bufferhub/
DBufferNode.h19 BufferNode(uint32_t width, uint32_t height, uint32_t layerCount, uint32_t format,
/frameworks/native/libs/nativebase/include/nativebase/
Dnativebase.h92 uintptr_t layerCount; member
/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.h610 t->attr.layerCount = l.getLayerCount(); in wrapAs()
652 ints[5] = static_cast<int32_t>(t.attr.layerCount); in convertTo()
716 t->attr.anwBuffer.layerCount = 0; in wrapAs()
725 t->attr.anwBuffer.layerCount = l.mGraphicBuffer->getLayerCount(); in wrapAs()
/frameworks/av/media/codec2/sfplugin/
DCCodecConfig.cpp1135 if (layering && layering->m.layerCount > 0 in getSdkFormatForDomain()
1136 && layering->m.bLayerCount < layering->m.layerCount) { in getSdkFormatForDomain()
1142 (layering->m.layerCount == 1 in getSdkFormatForDomain()
1143 || (layering->m.layerCount == 2 in getSdkFormatForDomain()
1146 || (layering->m.layerCount == 3 in getSdkFormatForDomain()
1150 || (layering->m.layerCount == 4 in getSdkFormatForDomain()
1156 "webrtc.vp8.%u-layer", layering->m.layerCount)); in getSdkFormatForDomain()
1160 layering->m.layerCount - layering->m.bLayerCount, in getSdkFormatForDomain()
1164 "android.generic.%u", layering->m.layerCount)); in getSdkFormatForDomain()

12