[libcamera-devel] [PATCH v2 0/5] libcamera: Buffer Objects

Kieran Bingham kieran.bingham at ideasonboard.com
Sun Feb 3 11:55:12 CET 2019


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

-- 
2.19.1



More information about the libcamera-devel mailing list