diff options
author | Jacopo Mondi <jacopo@jmondi.org> | 2021-11-19 15:58:29 +0100 |
---|---|---|
committer | Jacopo Mondi <jacopo@jmondi.org> | 2021-12-11 17:53:40 +0100 |
commit | 3fb3c0d7912987ad514b2b7dec56060358d89ded (patch) | |
tree | 8f2ff29b2a53f3d586255aca1cac8e7d84490d45 /utils/ipc | |
parent | f6b6f15b54c27c144629fec0a880c4f870815011 (diff) |
libcamera: request: Add Request::Private::prepare()
Add a prepare() function to the Private Request representation.
The prepare() function is used by the PipelineHandler class to
prepare a Request to be queued to the hardware.
The current implementation of prepare() handles the fences associated
with the Framebuffers part of a Request. The function starts an event
notifier for each of those and emits the Request::prepared signal when
all fences have been signalled or an optional timeout has expired.
The optional timeout allows to interrupt blocked waits and notify the
Request as failed so that it can be cancelled.
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'utils/ipc')
0 files changed, 0 insertions, 0 deletions