Re: Multiple channel capture support in V4l2 layer

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

 



Hi Dilip,

On Friday 23 December 2011 19:57:22 Dilip Mannil wrote:
> Hi,
> I am trying to implement v4l2 slave driver for  ML86V76654  digital
> video decoder that converts NTSC, PAL, SECAM analog video signals into
> the YCbCr standard digital format. This codec takes 4 analog inputs(2
> analog camera + 2 ext video in) and encodes in to digital(only one at
> a time).
> 
> The driver should be able to switch between capture channels upon
> request from user space application.
> 
> I couldn't find the support for multiple capture channels on a single
> device in v4l2 layer. Please correct me if I am wrong.
> 
> Ideally I want the v4l2 slave driver to have following feature.
> 
> 1. ioctl that can be used to enumerate/get/set the  capture channels
> on the video encoder.
> 2. Able to capture video from the currently set capture channel and
> pass to higher layers.
> 
> Which is the best way to implement this support?

VIDIOC_ENUMINPUT and VIDIOC_[GS]_INPUT seem to be what you're looking for.

-- 
Regards,

Laurent Pinchart
--
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