[libcamera-devel] [PATCH v3 0/4] Pass buffers to VIMC IPA
Umang Jain
umang.jain at ideasonboard.com
Sat Aug 14 07:09:08 CEST 2021
Currently, there is no buffer passing on VIMC happening.
VIMC being a virtual test driver, doesn't have actual
parameter or statistics buffers. But that shouldn't stop
us leveraging VIMC for IPA IPC testing.
We will create mock dmabuf buffers using the video output
node. We will configure it with a single plane, small size
V4L2DeviceFormat and export buffers from there. This happens
during init(), so the actual requested configuration happens
during the normal configure()(We just hijack the video output
node for a while temporarily).
This is the major change in v2. Other changes:
- Drop Actions and Events paradigm, use dedicated functions
for operations via mojom interface.
- style check in 1/4 and 3/4
- commit messages rework
Changes in v3:
- Transform loops with better iteration options
- Drop V4L2VideoDevice::tryFormat() in 2/4
- Drop VimcCameraData::ipaBuffers_ in favor a local scoped vector 3/4
- Commits and comments rework
Laurent Pinchart (1):
ipa: vimc: Add configure() function
Umang Jain (3):
pipeline: vimc: Allocate mock IPA buffers
ipa: vimc: Map and unmap buffers
ipa: vimc: Send and retrieve FrameBuffers from IPA
include/libcamera/ipa/vimc.mojom | 19 +++++++-
src/ipa/vimc/vimc.cpp | 59 +++++++++++++++++++++++++
src/libcamera/pipeline/vimc/vimc.cpp | 65 ++++++++++++++++++++++++++++
3 files changed, 142 insertions(+), 1 deletion(-)
--
2.31.1
More information about the libcamera-devel
mailing list