Home
last modified time | relevance | path

Searched refs:inUsage (Results 1 – 6 of 6) sorted by relevance

/frameworks/native/libs/ui/
DGraphicBuffer.cpp111 PixelFormat inFormat, uint32_t inUsage, std::string requestorName) in GraphicBuffer() argument
112 : GraphicBuffer(inWidth, inHeight, inFormat, 1, static_cast<uint64_t>(inUsage), requestorName) in GraphicBuffer()
117 uint32_t inLayerCount, uint64_t inUsage, std::string requestorName) in GraphicBuffer() argument
119 mInitCheck = initWithSize(inWidth, inHeight, inFormat, inLayerCount, inUsage, in GraphicBuffer()
125 PixelFormat inFormat, uint32_t inLayerCount, uint32_t inUsage, in GraphicBuffer() argument
128 inWidth, inHeight, inFormat, inLayerCount, static_cast<uint64_t>(inUsage), in GraphicBuffer()
135 uint32_t inLayerCount, uint64_t inUsage, uint32_t inStride) in GraphicBuffer() argument
138 inUsage, inStride); in GraphicBuffer()
203 PixelFormat inFormat, uint32_t inLayerCount, uint64_t inUsage) in reallocate() argument
213 inUsage == usage) in reallocate()
[all …]
/frameworks/native/libs/ui/include_vndk/ui/
DGraphicBuffer.h104 uint32_t inLayerCount, uint64_t inUsage,
143 uint32_t inHeight, PixelFormat inFormat, uint32_t inLayerCount, uint64_t inUsage,
148 uint32_t inHeight, PixelFormat inFormat, uint32_t inLayerCount, uint32_t inUsage, in GraphicBuffer() argument
151 static_cast<uint64_t>(inUsage), inStride) {} in GraphicBuffer()
153 uint32_t inLayerCount, uint32_t inUsage, uint32_t inStride,
156 uint32_t inUsage, std::string requestorName = "<Unknown>");
181 PixelFormat inFormat, uint32_t inLayerCount, uint64_t inUsage);
184 PixelFormat inFormat, uint32_t inLayerCount, uint64_t inUsage);
188 status_t lock(uint32_t inUsage, void** vaddr, int32_t* outBytesPerPixel = nullptr,
190 status_t lock(uint32_t inUsage, const Rect& rect, void** vaddr,
[all …]
/frameworks/native/libs/ui/include/ui/
DGraphicBuffer.h104 uint32_t inLayerCount, uint64_t inUsage,
143 uint32_t inHeight, PixelFormat inFormat, uint32_t inLayerCount, uint64_t inUsage,
148 uint32_t inHeight, PixelFormat inFormat, uint32_t inLayerCount, uint32_t inUsage, in GraphicBuffer() argument
151 static_cast<uint64_t>(inUsage), inStride) {} in GraphicBuffer()
153 uint32_t inLayerCount, uint32_t inUsage, uint32_t inStride,
156 uint32_t inUsage, std::string requestorName = "<Unknown>");
181 PixelFormat inFormat, uint32_t inLayerCount, uint64_t inUsage);
184 PixelFormat inFormat, uint32_t inLayerCount, uint64_t inUsage);
188 status_t lock(uint32_t inUsage, void** vaddr, int32_t* outBytesPerPixel = nullptr,
190 status_t lock(uint32_t inUsage, const Rect& rect, void** vaddr,
[all …]
/frameworks/base/media/jni/
Dandroid_media_Utils.h43 status_t lockImageFromBuffer(sp<GraphicBuffer> buffer, uint32_t inUsage,
46 status_t lockImageFromBuffer(BufferItem* bufferItem, uint32_t inUsage,
Dandroid_media_Utils.cpp547 status_t lockImageFromBuffer(sp<GraphicBuffer> buffer, uint32_t inUsage, in lockImageFromBuffer() argument
567 res = buffer->lockAsyncYCbCr(inUsage, rect, &ycbcr, fenceFd); in lockImageFromBuffer()
579 res = buffer->lockAsync(inUsage, rect, &pData, fenceFd); in lockImageFromBuffer()
609 status_t lockImageFromBuffer(BufferItem* bufferItem, uint32_t inUsage, in lockImageFromBuffer() argument
617 status_t res = lockImageFromBuffer(bufferItem->mGraphicBuffer, inUsage, bufferItem->mCrop, in lockImageFromBuffer()
/frameworks/base/libs/hostgraphics/ui/
DGraphicBuffer.h64 status_t lockAsyncYCbCr(uint32_t inUsage, const Rect& rect, android_ycbcr* ycbcr, int fenceFd) { in lockAsyncYCbCr() argument
68 status_t lockAsync(uint32_t inUsage, const Rect& rect, void** vaddr, int fenceFd,