[libcamera-devel,v2,0/5] libcamera: Buffer Objects
mbox series

Message ID 20190203105517.5355-1-kieran.bingham@ideasonboard.com
Headers show
Series
  • libcamera: Buffer Objects
Related show

Message

Kieran Bingham Feb. 3, 2019, 10:55 a.m. UTC
This series takes an initial Buffer prototype from Laurent and builds upon it
to provide 3 objects.

 - A Plane to describe a raw segment of memory storage.
 - A Buffer to describe an Image in memory potentially with multiple Planes
 - A BufferPool, to contain Buffers.

These objects are still in active development, but providing their classes is
beneficial to the parallel developments which require buffer handles.

Kieran Bingham (4):
  libcamera: buffer: Fix setDmabuf operations
  libcamera: buffer: Document the BufferPool
  libcamera: buffer: Provide access to the Buffer vector
  libcamera: buffer: Provide Buffer Planes

Laurent Pinchart (1):
  libcamera: Add Buffer and BufferPool classes

 include/libcamera/buffer.h    |  85 +++++++++
 include/libcamera/libcamera.h |   1 +
 include/libcamera/meson.build |   1 +
 src/libcamera/buffer.cpp      | 330 ++++++++++++++++++++++++++++++++++
 src/libcamera/meson.build     |   1 +
 5 files changed, 418 insertions(+)
 create mode 100644 include/libcamera/buffer.h
 create mode 100644 src/libcamera/buffer.cpp