Lines Matching refs:usage
68 PixelFormat format, uint64_t usage, uint32_t stride, in importBuffer() argument
80 error = mMapper->validateBufferSize(bufferHandle, width, height, format, layerCount, usage, in importBuffer()
108 status_t GraphicBufferMapper::lock(buffer_handle_t handle, uint32_t usage, const Rect& bounds, in lock() argument
111 return lockAsync(handle, usage, bounds, vaddr, -1, outBytesPerPixel, outBytesPerStride); in lock()
114 status_t GraphicBufferMapper::lockYCbCr(buffer_handle_t handle, uint32_t usage, in lockYCbCr() argument
117 return lockAsyncYCbCr(handle, usage, bounds, ycbcr, -1); in lockYCbCr()
131 status_t GraphicBufferMapper::lockAsync(buffer_handle_t handle, uint32_t usage, const Rect& bounds, in lockAsync() argument
134 return lockAsync(handle, usage, usage, bounds, vaddr, fenceFd, outBytesPerPixel, in lockAsync()
144 const uint64_t usage = static_cast<uint64_t>( in lockAsync() local
146 return mMapper->lock(handle, usage, bounds, fenceFd, vaddr, outBytesPerPixel, in lockAsync()
151 uint32_t usage, const Rect& bounds, android_ycbcr *ycbcr, int fenceFd) in lockAsyncYCbCr() argument
155 return mMapper->lock(handle, usage, bounds, fenceFd, ycbcr); in lockAsyncYCbCr()
169 uint64_t usage, bool* outSupported) { in isSupported() argument
170 return mMapper->isSupported(width, height, format, layerCount, usage, outSupported); in isSupported()