summaryrefslogtreecommitdiff
path: root/src/android/camera_stream.cpp
diff options
context:
space:
mode:
authorUmang Jain <umang.jain@ideasonboard.com>2021-08-14 10:39:10 +0530
committerUmang Jain <umang.jain@ideasonboard.com>2021-08-16 13:11:49 +0530
commitaad68099e514737f51ad30c61ffe54fc95037042 (patch)
tree7b4c7d2fe357dd24e680c76ba23d911a485bf765 /src/android/camera_stream.cpp
parent568c4049bc281a8a187789ec28717176f903f571 (diff)
pipeline: vimc: Allocate mock IPA buffers
VIMC is a virtual test driver that doesn't have statistics or parameters buffers that are typically passed from a pipeline handler to its platform IPA. To increase the test coverage going forward, we can at least mimick the typical interaction of how a pipeline handler and IPA interact, and use it to increase the test coverage. Hence, create simple (single plane) dmabuf-backed FrameBuffers, which can act as mock IPA buffers and can be memory mapped (mmap) to VIMC IPA. To create these buffers, temporarily hijack the output video node and configure it with a V4L2DeviceFormat. Buffers then can be exported from the output video node using V4L2VideoDevice::exportBuffers(). These buffers will be mimicked as IPA buffers in subsequent commits. Signed-off-by: Umang Jain <umang.jain@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Diffstat (limited to 'src/android/camera_stream.cpp')
0 files changed, 0 insertions, 0 deletions