Re: extend v4l2_mbus_framefmt

2012-06-21 Thread Sakari Ailus
On Thu, Jun 21, 2012 at 12:02:16PM +0200, Hans Verkuil wrote: > On Thu 21 June 2012 08:53:25 Sakari Ailus wrote: > > Hi Hans, > > > > On Wed, Jun 20, 2012 at 01:00:34PM +0200, Hans Verkuil wrote: > > > On Wed 20 June 2012 12:25:09 Sakari Ailus wrote: > > > > Hi Scott, > > > > > > > > Scott Jiang

Re: extend v4l2_mbus_framefmt

2012-06-21 Thread Hans Verkuil
On Thu 21 June 2012 08:53:25 Sakari Ailus wrote: > Hi Hans, > > On Wed, Jun 20, 2012 at 01:00:34PM +0200, Hans Verkuil wrote: > > On Wed 20 June 2012 12:25:09 Sakari Ailus wrote: > > > Hi Scott, > > > > > > Scott Jiang wrote: > > > >> I would expect that the combination of v4l2_mbus_framefmt

Re: extend v4l2_mbus_framefmt

2012-06-20 Thread Sakari Ailus
Hi Hans, On Wed, Jun 20, 2012 at 01:00:34PM +0200, Hans Verkuil wrote: > On Wed 20 June 2012 12:25:09 Sakari Ailus wrote: > > Hi Scott, > > > > Scott Jiang wrote: > > >> I would expect that the combination of v4l2_mbus_framefmt + > > >> v4l2_dv_timings > > >> gives you the information

Re: extend v4l2_mbus_framefmt

2012-06-20 Thread Hans Verkuil
On Wed 20 June 2012 12:25:09 Sakari Ailus wrote: > Hi Scott, > > Scott Jiang wrote: > >> I would expect that the combination of v4l2_mbus_framefmt + > >> v4l2_dv_timings > >> gives you the information you need. > >> > > I can solve this problem in HD, but how about SD? Add a fa

Re: extend v4l2_mbus_framefmt

2012-06-20 Thread Sakari Ailus
Hi Scott, Scott Jiang wrote: I would expect that the combination of v4l2_mbus_framefmt + v4l2_dv_timings gives you the information you need. I can solve this problem in HD, but how about SD? Add a fake dv_timings ops in SD decoder driver? No, you add g/s_std instead. SD timings are set thro

Re: extend v4l2_mbus_framefmt

2012-06-20 Thread Scott Jiang
> I would expect that the combination of v4l2_mbus_framefmt + > v4l2_dv_timings > gives you the information you need. > I can solve this problem in HD, but how about SD? Add a fake dv_timings ops in SD decoder driver? >>> >>> No, you add g/s_std instead. SD timings ar

Re: extend v4l2_mbus_framefmt

2012-06-15 Thread Hans Verkuil
On 14/06/12 05:17, Scott Jiang wrote: I would expect that the combination of v4l2_mbus_framefmt + v4l2_dv_timings gives you the information you need. I can solve this problem in HD, but how about SD? Add a fake dv_timings ops in SD decoder driver? No, you add g/s_std instead. SD timings ar

Re: extend v4l2_mbus_framefmt

2012-06-13 Thread Scott Jiang
>> >> > I would expect that the combination of v4l2_mbus_framefmt + v4l2_dv_timings >> > gives you the information you need. >> > >> I can solve this problem in HD, but how about SD? Add a fake >> dv_timings ops in SD decoder driver? >> > > No, you add g/s_std instead. SD timings are set through th

Re: extend v4l2_mbus_framefmt

2012-06-13 Thread Hans Verkuil
On Wed 13 June 2012 07:31:37 Scott Jiang wrote: > Hi Hans, > > > I would expect that the combination of v4l2_mbus_framefmt + v4l2_dv_timings > > gives you the information you need. > > > I can solve this problem in HD, but how about SD? Add a fake > dv_timings ops in SD decoder driver? > No, you

Re: extend v4l2_mbus_framefmt

2012-06-12 Thread Scott Jiang
Hi Hans, > I would expect that the combination of v4l2_mbus_framefmt + v4l2_dv_timings > gives you the information you need. > I can solve this problem in HD, but how about SD? Add a fake dv_timings ops in SD decoder driver? -- To unsubscribe from this list: send the line "unsubscribe linux-media"

Re: extend v4l2_mbus_framefmt

2012-06-12 Thread Hans Verkuil
On Tue June 12 2012 07:42:47 Scott Jiang wrote: > Hi Hans, > > > I would expect that the combination of v4l2_mbus_framefmt + v4l2_dv_timings > > gives you the information you need. > > About v4l2_mbus_framefmt, you use V4L2_MBUS_FMT_FIXED. I guess you > can't find any yuv 24 or rgb 16/24bit forma

Re: extend v4l2_mbus_framefmt

2012-06-11 Thread Scott Jiang
Hi Hans, > I would expect that the combination of v4l2_mbus_framefmt + v4l2_dv_timings > gives you the information you need. About v4l2_mbus_framefmt, you use V4L2_MBUS_FMT_FIXED. I guess you can't find any yuv 24 or rgb 16/24bit format in current v4l2_mbus_framefmt. But a bridge driver working w

Re: extend v4l2_mbus_framefmt

2012-06-11 Thread Hans Verkuil
On Mon 11 June 2012 10:18:06 Scott Jiang wrote: > Hi Guennadi and Hans, > > We use v4l2_mbus_framefmt to get frame format on the media bus in > bridge driver. It only contains width and height. It's not a big > problem in SD. But we need more info like front porch, sync width and > back porch (sim

extend v4l2_mbus_framefmt

2012-06-11 Thread Scott Jiang
Hi Guennadi and Hans, We use v4l2_mbus_framefmt to get frame format on the media bus in bridge driver. It only contains width and height. It's not a big problem in SD. But we need more info like front porch, sync width and back porch (similar to disp_format_s in v4l2_formats.h) in HD. I want to ad