Re: why is there no enum_input in v4l2_subdev_video_ops

2011-05-11 Thread Hans Verkuil
> Hi Scott, > > On Wednesday 11 May 2011 10:43:30 Jiang, Scott wrote: >> On Tue, May 10, 2011 at 5:51 PM, Laurent Pinchart wrote: > > On Tuesday >> 10 > May 2011 08:14:10 Hans Verkuil wrote: >> >> > On Tue, May 10, 2011 at 5:42 AM, Laurent Pinchart wrote: >> >> >>> >> Why is there no enum_input ope

Re: why is there no enum_input in v4l2_subdev_video_ops

2011-05-11 Thread Laurent Pinchart
Hi Scott, On Wednesday 11 May 2011 10:43:30 Jiang, Scott wrote: > On Tue, May 10, 2011 at 5:51 PM, Laurent Pinchart wrote: > > On Tuesday 10 May 2011 08:14:10 Hans Verkuil wrote: > >> > On Tue, May 10, 2011 at 5:42 AM, Laurent Pinchart wrote: > >> >>> >> Why is there no enum_input operation in v4

RE: why is there no enum_input in v4l2_subdev_video_ops

2011-05-11 Thread Jiang, Scott
Hi Laurent, On Tue, May 10, 2011 at 5:51 PM, Laurent Pinchart wrote: > Hi, > > On Tuesday 10 May 2011 08:14:10 Hans Verkuil wrote: >> > On Tue, May 10, 2011 at 5:42 AM, Laurent Pinchart wrote: >> >>> >> Why is there no enum_input operation in v4l2_subdev_video_ops? >> >> >> >> Why do you need on

RE: why is there no enum_input in v4l2_subdev_video_ops

2011-05-11 Thread Jiang, Scott
Hi Laurent, On Tue, May 10, 2011 at 5:51 PM, Laurent Pinchart wrote: > Hi, > > On Tuesday 10 May 2011 08:14:10 Hans Verkuil wrote: >> > On Tue, May 10, 2011 at 5:42 AM, Laurent Pinchart wrote: >> >>> >> Why is there no enum_input operation in v4l2_subdev_video_ops? >> >> >> >> Why do you need on

Re: why is there no enum_input in v4l2_subdev_video_ops

2011-05-10 Thread Laurent Pinchart
Hi, On Tuesday 10 May 2011 08:14:10 Hans Verkuil wrote: > > On Tue, May 10, 2011 at 5:42 AM, Laurent Pinchart wrote: > >>> >> Why is there no enum_input operation in v4l2_subdev_video_ops? > >> > >> Why do you need one ? > > > > Because I want to query decoder how many inputs it can support. > >

RE: why is there no enum_input in v4l2_subdev_video_ops

2011-05-09 Thread Hans Verkuil
> Hi Laurent, > > On Tue, May 10, 2011 at 5:42 AM, Laurent Pinchart > wrote: >>> >> Why is there no enum_input operation in v4l2_subdev_video_ops? >> >> Why do you need one ? > > Because I want to query decoder how many inputs it can support. > So the question is where we should store inputs info,

RE: why is there no enum_input in v4l2_subdev_video_ops

2011-05-09 Thread Jiang, Scott
Hi Laurent, On Tue, May 10, 2011 at 5:42 AM, Laurent Pinchart wrote: >> >> Why is there no enum_input operation in v4l2_subdev_video_ops? > > Why do you need one ? Because I want to query decoder how many inputs it can support. So the question is where we should store inputs info, board specifi

Re: why is there no enum_input in v4l2_subdev_video_ops

2011-05-09 Thread Laurent Pinchart
Hi Scott, On Monday 09 May 2011 11:53:18 Jiang, Scott wrote: > Hi all, > > >> Why is there no enum_input operation in v4l2_subdev_video_ops? Why do you need one ? > > Maybe because noone needed it until now? > > > >> I found some drivers put this info in board specific data, but in my > >> opi

RE: why is there no enum_input in v4l2_subdev_video_ops

2011-05-09 Thread Jiang, Scott
Hi all, >> Why is there no enum_input operation in v4l2_subdev_video_ops? > Maybe because noone needed it until now? >> I found some drivers put this info in board specific data, but in my >> opinion this info is sensor or decoder related. > Can you tell which drivers / boards you're referring

Re: why is there no enum_input in v4l2_subdev_video_ops

2011-05-09 Thread Guennadi Liakhovetski
Hi Scott On Mon, 9 May 2011, Jiang, Scott wrote: > Hi Guennadi, > > Why is there no enum_input operation in v4l2_subdev_video_ops? Maybe because noone needed it until now? > I found some drivers put this info in board specific data, but in my > opinion this info is sensor or decoder related.