Lines Matching refs:inUsage

57         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
172 status_t err = allocator.alloc(inWidth, inHeight, inFormat, inUsage, in initSize()
178 usage = static_cast<int>(inUsage); in initSize()
184 status_t GraphicBuffer::lock(uint32_t inUsage, void** vaddr) in lock() argument
187 status_t res = lock(inUsage, lockBounds, vaddr); in lock()
191 status_t GraphicBuffer::lock(uint32_t inUsage, const Rect& rect, void** vaddr) in lock() argument
200 status_t res = getBufferMapper().lock(handle, inUsage, rect, vaddr); in lock()
204 status_t GraphicBuffer::lockYCbCr(uint32_t inUsage, android_ycbcr* ycbcr) in lockYCbCr() argument
207 status_t res = lockYCbCr(inUsage, lockBounds, ycbcr); in lockYCbCr()
211 status_t GraphicBuffer::lockYCbCr(uint32_t inUsage, const Rect& rect, in lockYCbCr() argument
221 status_t res = getBufferMapper().lockYCbCr(handle, inUsage, rect, ycbcr); in lockYCbCr()
231 status_t GraphicBuffer::lockAsync(uint32_t inUsage, void** vaddr, int fenceFd) in lockAsync() argument
234 status_t res = lockAsync(inUsage, lockBounds, vaddr, fenceFd); in lockAsync()
238 status_t GraphicBuffer::lockAsync(uint32_t inUsage, const Rect& rect, in lockAsync() argument
248 status_t res = getBufferMapper().lockAsync(handle, inUsage, rect, vaddr, in lockAsync()
253 status_t GraphicBuffer::lockAsyncYCbCr(uint32_t inUsage, android_ycbcr* ycbcr, in lockAsyncYCbCr() argument
257 status_t res = lockAsyncYCbCr(inUsage, lockBounds, ycbcr, fenceFd); in lockAsyncYCbCr()
261 status_t GraphicBuffer::lockAsyncYCbCr(uint32_t inUsage, const Rect& rect, in lockAsyncYCbCr() argument
271 status_t res = getBufferMapper().lockAsyncYCbCr(handle, inUsage, rect, in lockAsyncYCbCr()