/frameworks/native/libs/ui/ |
D | GraphicBuffer.cpp | 84 PixelFormat inFormat, uint32_t inUsage, std::string requestorName) in GraphicBuffer() argument 85 : GraphicBuffer(inWidth, inHeight, inFormat, 1, static_cast<uint64_t>(inUsage), requestorName) in GraphicBuffer() 90 uint32_t inLayerCount, uint64_t inUsage, std::string requestorName) in GraphicBuffer() argument 92 mInitCheck = initWithSize(inWidth, inHeight, inFormat, inLayerCount, inUsage, in GraphicBuffer() 98 PixelFormat inFormat, uint32_t inLayerCount, uint32_t inUsage, in GraphicBuffer() argument 101 inWidth, inHeight, inFormat, inLayerCount, static_cast<uint64_t>(inUsage), in GraphicBuffer() 108 uint32_t inLayerCount, uint64_t inUsage, uint32_t inStride) in GraphicBuffer() argument 111 inUsage, inStride); in GraphicBuffer() 168 PixelFormat inFormat, uint32_t inLayerCount, uint64_t inUsage) in reallocate() argument 178 inUsage == usage) in reallocate() [all …]
|
/frameworks/native/libs/ui/include_vndk/ui/ |
D | GraphicBuffer.h | 98 uint32_t inLayerCount, uint64_t inUsage, 135 uint32_t inHeight, PixelFormat inFormat, uint32_t inLayerCount, uint64_t inUsage, 140 uint32_t inHeight, PixelFormat inFormat, uint32_t inLayerCount, uint32_t inUsage, in GraphicBuffer() argument 143 static_cast<uint64_t>(inUsage), inStride) {} in GraphicBuffer() 145 uint32_t inLayerCount, uint32_t inUsage, uint32_t inStride, 148 uint32_t inUsage, std::string requestorName = "<Unknown>"); 177 PixelFormat inFormat, uint32_t inLayerCount, uint64_t inUsage); 180 PixelFormat inFormat, uint32_t inLayerCount, uint64_t inUsage); 184 status_t lock(uint32_t inUsage, void** vaddr, int32_t* outBytesPerPixel = nullptr, 186 status_t lock(uint32_t inUsage, const Rect& rect, void** vaddr, [all …]
|
/frameworks/native/libs/ui/include/ui/ |
D | GraphicBuffer.h | 98 uint32_t inLayerCount, uint64_t inUsage, 135 uint32_t inHeight, PixelFormat inFormat, uint32_t inLayerCount, uint64_t inUsage, 140 uint32_t inHeight, PixelFormat inFormat, uint32_t inLayerCount, uint32_t inUsage, in GraphicBuffer() argument 143 static_cast<uint64_t>(inUsage), inStride) {} in GraphicBuffer() 145 uint32_t inLayerCount, uint32_t inUsage, uint32_t inStride, 148 uint32_t inUsage, std::string requestorName = "<Unknown>"); 177 PixelFormat inFormat, uint32_t inLayerCount, uint64_t inUsage); 180 PixelFormat inFormat, uint32_t inLayerCount, uint64_t inUsage); 184 status_t lock(uint32_t inUsage, void** vaddr, int32_t* outBytesPerPixel = nullptr, 186 status_t lock(uint32_t inUsage, const Rect& rect, void** vaddr, [all …]
|
/frameworks/base/media/jni/ |
D | android_media_Utils.h | 41 status_t lockImageFromBuffer(sp<GraphicBuffer> buffer, uint32_t inUsage, 44 status_t lockImageFromBuffer(BufferItem* bufferItem, uint32_t inUsage,
|
D | android_media_Utils.cpp | 327 status_t lockImageFromBuffer(sp<GraphicBuffer> buffer, uint32_t inUsage, in lockImageFromBuffer() argument 346 res = buffer->lockAsyncYCbCr(inUsage, rect, &ycbcr, fenceFd); in lockImageFromBuffer() 353 res = buffer->lockAsync(inUsage, rect, &pData, fenceFd); in lockImageFromBuffer() 378 status_t lockImageFromBuffer(BufferItem* bufferItem, uint32_t inUsage, in lockImageFromBuffer() argument 386 status_t res = lockImageFromBuffer(bufferItem->mGraphicBuffer, inUsage, bufferItem->mCrop, in lockImageFromBuffer()
|