The growing image-processor unpleasantness
The growing image-processor unpleasantness
Posted Sep 3, 2022 18:37 UTC (Sat) by laurent.pinchart (subscriber, #71290)In reply to: The growing image-processor unpleasantness by dxin
Parent article: The growing image-processor unpleasantness
> For the most part of Linux history, the camera API, V4L2 is just a buffer management interface. There has never been a userspace middle layer that provides good and refined camera service to the application, nor has there been a good way of implementing it (PulseVideo?).
That was right, and the libcamera project has been created to fill exactly that space.
> The camera stack of Andrroid may not be the best design in the world, but I do consider it to be on the leading edge of usefulness to the majority of application of users. The Chromium people just want to bring some of those back to Linux.
There seems to be some confusion here. Chrome OS uses the Android camera HAL3 API internally, but as far as I know, hasn't published any plan to push that API towards all Linux platforms. What they refer to as "kcam" today is a kernel API that plan to use as a V4L2 replacement, and the current design places it at an even lower level than V4L2. The gap between the kernel API and applications would then be larger than with V4L2 (and it's already pretty large there, as indicated by how Linux has no open-source IPU6 support today).
