[libcamera-devel] [PATCH v2 0/4] Pass buffers to VIMC IPA

Umang Jain umang.jain at ideasonboard.com
Fri Aug 13 16:44:33 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

Laurent Pinchart (1):
  ipa: vimc: Add configure() function

Umang Jain (3):
  pipeline: vimc: Allocate fake IPA buffers
  ipa: vimc: Map and unmap buffers
  ipa: vimc: Send and retrieve FrameBuffers from IPA

 include/libcamera/ipa/vimc.mojom     | 22 ++++++++-
 src/ipa/vimc/vimc.cpp                | 58 +++++++++++++++++++++++
 src/libcamera/pipeline/vimc/vimc.cpp | 70 ++++++++++++++++++++++++++++
 3 files changed, 149 insertions(+), 1 deletion(-)

-- 
2.31.0



More information about the libcamera-devel mailing list