[RFCv1 PATCH 0/2] Add viloop and vioverlay drivers

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

 



Hi all,

I wanted to share these two drivers, even though they need more work,
particular w.r.t. code quality.

They assume that PART 1 and PART 2 of the vb2 patch series are applied.

The viloop driver loops video from one device to another. It will create
pairs of video devices, the first an output device, the second a capture
device, and just copy the video data from one device to the other.

It can be loaded in multiplanar mode with the multiplanar=1 option.
It's a clean implementation using all the latest frameworks, in particular
all streaming memory models are supported as well as EXPBUF.

I did look at first at the out-of-tree v4l2-loopback driver, but it was
quicker to just write my own.

The vioverlay driver is a driver to test overlay support, both capture and
output overlays. Few drivers support this, so it is very hard to have
applications test their support for overlays, or to test drivers with overlay
support.

Overlay may be less and less important, but it is part of the API and you
need a way to test it.

The vioverlay driver creates a framebuffer, an output video node and a capture
video node. The output video node is used to pass video to the driver which
will be used as the video for the video output overlay feature. The capture
node is used to capture the result of the framebuffer contents mixed in with
the video output overlay.

Currently clipping and bitmap support is in, but not yet alpha blending and
chromakeying.

Feedback and ideas are welcome.

Again, I am well aware that these drivers need some more code cleanup work,
so don't bother commenting on that :-) They've been written in just the past
3-4 days so they are freshly baked...

Regards,

	Hans

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[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