Re: v4l2-subdev missing video ops

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

 



On Thu, 2009-03-19 at 16:55 -0700, Pete Eberlein wrote:
> Hello Hans,
> 
> I'm looking at converting the go7007 staging driver to use the subdev
> API.  I don't see any v4l2_subdev_video_ops for VIDIOC_S_INPUT

I believe you want

v4l2_subdev_video_ops.s_routing
and
v4l2_subdev_audio_ops.s_routing

to effect an input change.


>  nor
> VIDIOC_S_STD. 

The cx25840 module and the cx18 driver use

v4l2_subdev_tuner_ops.s_std

for the digitizer, whether or not it's a tuner input for which the
standard is being set.

A quick grep in linux/drivers/media/video:

$ grep -R -B3  '\.s_std[^_]' *

shows this is likely the case for quite a driver modules.

Regards,
Andy

>  Were those overlooked, or should I use the generic
> v4l2_subdev_core_ops->ioctl?
>   (The chip in particular does not have a
> tuner, but it does have multiple inputs (svidio, composite) and supports
> NTSC or PAL.)
>
> Thanks.

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