libcamera/include
Laurent Pinchart 8daf20485b libcamera: controls: Add zero-copy set API for ControlValue
Extend the ControlValue class with a reserve() function to set the value
without actually copying data, and a non-const data() function that
allows writing data directly to the ControlValue storage. This allows
allocating memory directly in ControlValue, potentially removing a data
copy.

Note that this change was implemented before ByteStreamBuffer gained the
zero-copy read() variant, and doesn't actually save a copy in the
control serializer. It however still simplifies
ControlSerializer::loadControlValue().

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
2020-03-23 16:45:16 +02:00
..
android include: android: Add SPDX tags 2019-08-12 10:34:13 +02:00
ipa libcamera: controls: Rename ControlRange to ControlInfo 2020-03-20 16:47:45 +02:00
libcamera libcamera: controls: Add zero-copy set API for ControlValue 2020-03-23 16:45:16 +02:00
linux include: linux: Update v4l2-controls.h 2020-02-14 16:27:29 +01:00
meson.build libcamera: Move ipa includes to the same level as libcamera 2019-09-15 13:57:08 +03:00