3 ms·
This article might help shed some light on why people have been working on libcamera: https://lwn.net/Articles/904776/ https://lwn.net/Articles/904776/ tl;dr:
by sph 4y ago
This article might help shed some light on why people have been working on libcamera: https://lwn.net/Articles/904776/ https://lwn.net/Articles/904776/
tl;dr: many OEM vendors are moving toward creating "dumber" cameras, with the hardware just exporting a raw data stream and all the image processing logic is done in software. The existing v4l2 stack in Linux is limited and not ready for such a change; also it would be unpractical to put all this new logic, often proprietary and with restrictive patents, into the kernel.
Quoting Laurent Pinchart referenced in the article:
> "Given the direction the industry is taking, this situation will become increasingly common in the future. With the notable exception of Raspberry Pi who is leading the way in open-source camera support, no SoC vendor is willing today to open their imaging algorithms."
- darkwater 4y ago> many OEM vendors are moving toward creating "dumber" cameras, with the hardware just exporting a raw data stream and all the image processing logic is done in software So it's WinModem [0] time again, but with AndCam? [0] https://en.wikipedia.org/wiki/Softmodem https://en.wikipedia.org/wiki/Softmodem
- sph 4y agoThat's indeed what I was thinking of. WinModems were an absolute pain when I started using Linux two decades ago, often outright impossible to use unless you were running Windows, and adding a ton of CPU overhead. I wouldn't be surprised if we'll have the same situation again, with some laptop cameras that just won't work at all under Linux.
- rasz 4y ago>tl;dr: many OEM vendors are moving toward creating "dumber" cameras, with the hardware just exporting a raw data stream and all the image processing logic is done in software. weird, I understood it the total opposite - with vendors shipping more and more sophisticated solutions with embedded dedicated processors doing everything inside a black box (IPU6). You dont get ANY access to raw data stream, and no access at all if you cant talk to those black boxes.
- seba_dos1 4y agoIt's a mix of both on various stages of the pipeline. Cameras get dumber; undocumented ISPs with blobs to talk to them get more complex.