summaryrefslogtreecommitdiff
path: root/src/cam/buffer_writer.h
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo@jmondi.org>2019-04-09 11:27:29 +0200
committerJacopo Mondi <jacopo@jmondi.org>2019-04-18 15:37:59 +0200
commitee027781b4c265b378ed16f91eeded7b42f5dfe4 (patch)
tree70e4551115ab141c99f0625bf8c98a4cbc967b4f /src/cam/buffer_writer.h
parent0527ba92adb7d97941ec4b8cd861178634f632b6 (diff)
libcamera: buffer: Store Request reference in Buffer
Add to the Buffer class methods to set and retrieve a reference to the Request instance the buffer is part of. As buffers outlive the Request they are associated with, the reference is only temporary valid during the buffer completion interval (from when the buffer gets queued to Camera for processing, until it gets marked as completed). Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'src/cam/buffer_writer.h')
0 files changed, 0 insertions, 0 deletions