Conversation

Jarkko Sakkinen

Now vcam is internally running in dma-buf based architecture only:

https://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd.git/tree/drivers/media/vcam.c?h=vcam

The key function is vcam_dequeue_frames, which pairs queued output and capture frames. When they match the same dma-buf it won't copy anything. So it works like zipper (or that's how I imagine it in my head) :-)

I think it is quite sane and elegant pipeline.
0
0
2