Home
last modified time | relevance | path

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

/frameworks/native/libs/ui/
DGraphicBuffer.cpp57 PixelFormat inFormat, uint32_t inUsage) in GraphicBuffer() argument
67 mInitCheck = initSize(inWidth, inHeight, inFormat, inUsage); in GraphicBuffer()
71 PixelFormat inFormat, uint32_t inUsage, uint32_t inStride, in GraphicBuffer() argument
81 usage = static_cast<int>(inUsage); in GraphicBuffer()
137 PixelFormat inFormat, uint32_t inUsage) in reallocate() argument
146 static_cast<int>(inUsage) == usage) in reallocate()
154 return initSize(inWidth, inHeight, inFormat, inUsage); in reallocate()
158 PixelFormat inFormat, uint32_t inUsage) in needsReallocation() argument
163 if ((static_cast<uint32_t>(usage) & inUsage) != inUsage) return true; in needsReallocation()
168 PixelFormat inFormat, uint32_t inUsage) in initSize() argument
[all …]
/frameworks/native/include/ui/
DGraphicBuffer.h76 uint32_t inUsage);
80 uint32_t inUsage, uint32_t inStride, native_handle_t* inHandle,
103 PixelFormat inFormat, uint32_t inUsage);
106 PixelFormat inFormat, uint32_t inUsage);
108 status_t lock(uint32_t inUsage, void** vaddr);
109 status_t lock(uint32_t inUsage, const Rect& rect, void** vaddr);
111 status_t lockYCbCr(uint32_t inUsage, android_ycbcr *ycbcr);
112 status_t lockYCbCr(uint32_t inUsage, const Rect& rect,
115 status_t lockAsync(uint32_t inUsage, void** vaddr, int fenceFd);
116 status_t lockAsync(uint32_t inUsage, const Rect& rect, void** vaddr,
[all …]
/frameworks/base/media/jni/
Dandroid_media_Utils.h132 status_t lockImageFromBuffer(sp<GraphicBuffer> buffer, uint32_t inUsage,
135 status_t lockImageFromBuffer(BufferItem* bufferItem, uint32_t inUsage,
Dandroid_media_Utils.cpp855 status_t lockImageFromBuffer(sp<GraphicBuffer> buffer, uint32_t inUsage, in lockImageFromBuffer() argument
874 res = buffer->lockAsyncYCbCr(inUsage, rect, &ycbcr, fenceFd); in lockImageFromBuffer()
881 res = buffer->lockAsync(inUsage, rect, &pData, fenceFd); in lockImageFromBuffer()
906 status_t lockImageFromBuffer(BufferItem* bufferItem, uint32_t inUsage, in lockImageFromBuffer() argument
914 status_t res = lockImageFromBuffer(bufferItem->mGraphicBuffer, inUsage, bufferItem->mCrop, in lockImageFromBuffer()