Lines Matching refs:width

20 IonBuffer::IonBuffer(uint32_t width, uint32_t height, uint32_t format,  in IonBuffer()  argument
23 Alloc(width, height, kDefaultGraphicBufferLayerCount, format, usage); in IonBuffer()
26 IonBuffer::IonBuffer(buffer_handle_t handle, uint32_t width, uint32_t height, in IonBuffer() argument
28 : IonBuffer(handle, width, height, kDefaultGraphicBufferLayerCount, stride, in IonBuffer()
31 IonBuffer::IonBuffer(buffer_handle_t handle, uint32_t width, uint32_t height, in IonBuffer() argument
38 handle, width, height, layer_count, stride, format, usage); in IonBuffer()
40 Import(handle, width, height, layer_count, stride, format, usage); in IonBuffer()
48 handle(), width(), height(), stride(), format(), usage()); in ~IonBuffer()
74 int IonBuffer::Alloc(uint32_t width, uint32_t height, uint32_t layer_count, in Alloc() argument
78 "usage=%" PRIx64, width, height, layer_count, format, usage); in Alloc()
81 new GraphicBuffer(width, height, format, layer_count, usage); in Alloc()
91 void IonBuffer::Reset(buffer_handle_t handle, uint32_t width, uint32_t height, in Reset() argument
97 handle, width, height, layer_count, stride, format, usage); in Reset()
98 Import(handle, width, height, layer_count, stride, format, usage); in Reset()
101 int IonBuffer::Import(buffer_handle_t handle, uint32_t width, uint32_t height, in Import() argument
108 handle, width, height, layer_count, stride, format, usage); in Import()
111 new GraphicBuffer(handle, GraphicBuffer::TAKE_UNREGISTERED_HANDLE, width, in Import()
123 int int_count, uint32_t width, uint32_t height, in Import() argument
130 fd_count, int_count, width, height, layer_count, stride, format, in Import()
150 Import(handle, width, height, layer_count, stride, format, usage); in Import()
186 Import(handle, other->width(), other->height(), other->layer_count(), in Duplicate()
198 int IonBuffer::Lock(uint32_t usage, int x, int y, int width, int height, in Lock() argument
204 handle(), usage, x, y, width, height, address); in Lock()
207 buffer_->lock(usage, Rect(x, y, x + width, y + height), address); in Lock()
214 int IonBuffer::LockYUV(uint32_t usage, int x, int y, int width, int height, in LockYUV() argument
219 handle(), usage, x, y, width, height); in LockYUV()
222 buffer_->lockYCbCr(usage, Rect(x, y, x + width, y + height), yuv); in LockYUV()