What is a camera?
What is a camera?
Posted Oct 4, 2024 10:43 UTC (Fri) by mchehab (subscriber, #41156)In reply to: What is a camera? by ribalda
Parent article: Coping with complex cameras
> But I am more aligned with the opinion of Dave Airlie that v4l2 is not suitable for ISPs (today). We need a change in the abstraction level and we need more vendors in our community.
Internally, V4L2 core code is generic and good enough to support ISPs. IMO, what it is needed is new IOCTL(s) - maybe at sub-device level - which would avoid the need of sending multiple ioctls per frame, with fences and dmabuf support. From internal code's perspective, just like we currently have videobuf2-v4l2.c and videobuf2-dvb.c as the top layer for per-API buffer handling, we may need a videobuf2-codec.c layer on the top of VB2 to handle the needs for ISP using such new IOCTL(s).