diff options
author | Jacopo Mondi <jacopo@jmondi.org> | 2019-02-28 14:09:42 +0100 |
---|---|---|
committer | Jacopo Mondi <jacopo@jmondi.org> | 2019-04-03 10:11:17 +0200 |
commit | 4f370e10012e2b7f6751959cc703b557cf0191b9 (patch) | |
tree | d3cf7cb7e12e62ed7ac509a035b18849df0086ea /test/media_device | |
parent | 83458e571253886e26da626b980b6d9dff8c5974 (diff) |
libcamera: ipu3: Implement memory handling
Implement buffer allocation and release in IPU3 pipeline handlers.
As the pipeline handler currently supports a single stream, provide two
internal buffer pools for 'viewfinder' and 'stat' video devices, and
export the 'output' video device buffers to the stream's pool. This
works around the fact that the ImgU requires buffers to be queued on all
its outputs, even when they are not in use.
Share buffers between the CIO2 output and the ImgU input video devices,
as the output of the former should immediately be provided to the
latter for further processing.
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'test/media_device')
0 files changed, 0 insertions, 0 deletions