Re: v4l2_mbus_framefmt and v4l2_pix_format

2011-05-25 Thread Guennadi Liakhovetski
On Wed, 25 May 2011, Sylwester Nawrocki wrote: > Hi Guennadi, > > On 05/25/2011 12:11 PM, Guennadi Liakhovetski wrote: > > Hi Scott > > > > On Wed, 25 May 2011, Scott Jiang wrote: > > > >> Hi Hans and Laurent, > >> > >> I got fmt info from a video data source subdev, I thought there should > >>

Re: v4l2_mbus_framefmt and v4l2_pix_format

2011-05-25 Thread Sylwester Nawrocki
Hi Guennadi, On 05/25/2011 12:11 PM, Guennadi Liakhovetski wrote: > Hi Scott > > On Wed, 25 May 2011, Scott Jiang wrote: > >> Hi Hans and Laurent, >> >> I got fmt info from a video data source subdev, I thought there should >> be a helper function to convert these two format enums. >> However, v

Re: v4l2_mbus_framefmt and v4l2_pix_format

2011-05-25 Thread Guennadi Liakhovetski
Hi Scott On Wed, 25 May 2011, Scott Jiang wrote: > Hi Hans and Laurent, > > I got fmt info from a video data source subdev, I thought there should > be a helper function to convert these two format enums. > However, v4l2_fill_pix_format didn't do this, why? Should I do this in > bridge driver on

Re: v4l2_mbus_framefmt and v4l2_pix_format

2011-05-25 Thread Hans Verkuil
On Wednesday, May 25, 2011 11:56:23 Scott Jiang wrote: > Hi Hans and Laurent, > > I got fmt info from a video data source subdev, I thought there should > be a helper function to convert these two format enums. > However, v4l2_fill_pix_format didn't do this, why? Should I do this in > bridge drive

v4l2_mbus_framefmt and v4l2_pix_format

2011-05-25 Thread Scott Jiang
Hi Hans and Laurent, I got fmt info from a video data source subdev, I thought there should be a helper function to convert these two format enums. However, v4l2_fill_pix_format didn't do this, why? Should I do this in bridge driver one by one? I think these codes are common use, I prefer adding t