Re: [PATCH v5 00/24] v4l: subdev internal routing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Niklas,

On 16/04/2021 11:38, Niklas Söderlund wrote:
Hi Tomi,

I'm very happy to see this being worked on again!

Is there code somewhere that demonstrates the v5 API in use? I still
have old branches of this series and it would be nice to see how the API
have evolved for drivers.

Likewise are there some user-space code around that can be used to test
the API? For v2 and v3 I had some hack patches [1], do they still work?
More likely they have gone stale by now :-)

1. git://git.ragnatech.se/v4l-utils routing

Yes for both. I didn't share those as they're not in a presentable state =).

But, with the disclaimer that your eyes may bleed when reading the code:

git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux.git multistream/work

git://github.com/tomba/kmsxx.git multistream

On the kernel side, the CAL driver is in relatively good shape. UB960 driver is somewhat messy but not totally horrible. OV10635 is horrible, as it's used to fake metadata stream even if the sensor doesn't really have such a thing.

For testing I have used kms++ with python bindings. My test script is py/tests/cam.py

The uAPI has changed as there's now the 'which' field. But I think that's the only clear change, although the behavior could be slightly different wrt. setting formats.

 Tomi



[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux