[no subject]

2012-06-11 Thread Su Jiaquan
Hi Guennadi, I found in soc_camera when video device is opened, default format is applied sensor. I think this is the right thing to do, be it also means a lot of i2c transactions. I think in case of app wants to query drivers capability, it do a quick open-query-close, expecting only

[media] soc_camera: suggest to postpone applying default format

2012-06-11 Thread Su Jiaquan
Hi Guennadi, I found in soc_camera when video device is opened, default format is applied sensor. I think this is the right thing to do, be it also means a lot of i2c transactions. I think in case of app wants to query drivers capability, it do a quick “open-query-close”, expecting only

How to express planar formats with mediabus format code?

2013-08-03 Thread Su Jiaquan
Hi, I know the title looks crazy, but here is our problem: In our SoC based ISP, the hardware can be divide to several blocks. Some blocks can do color space conversion(raw to YUV interleave/planar), others can do the pixel re-order(interleave/planar/semi-planar conversion, UV planar switch). We

Re: How to express planar formats with mediabus format code?

2013-08-06 Thread Su Jiaquan
Hi Guennadi, Thanks for the reply! Please see my description inline. On Mon, Aug 5, 2013 at 5:02 AM, Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: Hi Su Jiaquan On Sun, 4 Aug 2013, Su Jiaquan wrote: Hi, I know the title looks crazy, but here is our problem: In our SoC based ISP

Re: How to express planar formats with mediabus format code?

2013-08-09 Thread Su Jiaquan
Hi Laurent / Guennadi, On Fri, Aug 9, 2013 at 5:12 AM, Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: Hi, On Tuesday 06 August 2013 17:18:14 Su Jiaquan wrote: Hi Guennadi, Thanks for the reply! Please see my description inline. On Mon, Aug 5, 2013 at 5:02 AM, Guennadi

Re: How to express planar formats with mediabus format code?

2013-08-15 Thread Su Jiaquan
Hi Laurent / Guennadi, On Sat, Aug 10, 2013 at 1:06 AM, Su Jiaquan jiaquan@gmail.com wrote: Hi Laurent / Guennadi, On Fri, Aug 9, 2013 at 5:12 AM, Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: Hi, On Tuesday 06 August 2013 17:18:14 Su Jiaquan wrote: Hi Guennadi, Thanks

Re: OMAP3 ISP DQBUF hangs

2013-08-17 Thread Su Jiaquan
Hi Tom, On Thu, Aug 15, 2013 at 10:15 PM, Tom bassai_...@gmx.net wrote: Hello, I'm working with an OMAP3 DM3730 processor module with a ov3640 camera module attached on parallel interface. I'm using Linux 3.5 and an application which builds the pipeline and grabs an image like the media-ctl

Re: OMAP3 ISP DQBUF hangs

2013-08-19 Thread Su Jiaquan
Hi Tom you are right. it seems that the list of the ccdc has no buffer left, because the printk(TOM ccdc_isr_buffer ERROR 1 ##\n); is shown in my log. But I don't understand what I need to do to solve the problem. What I do is: - configure the pipeline - open the video device - do

Re: How to express planar formats with mediabus format code?

2013-08-21 Thread Su Jiaquan
Hi Laurent, Thanks for the replay, I've removed earlier mail content and only keep you question: On Tue, Aug 20, 2013 at 8:53 PM, Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: Hi Jiaquan, I'm not sure if that's needed here. Vendor-specific formats still need to be documented, so

Re: A false alarm for recursive lock in v4l2_ctrl_add_handler

2013-08-21 Thread Su Jiaquan
Hi Hans, On Wed, Aug 21, 2013 at 7:47 PM, Hans Verkuil hverk...@xs4all.nl wrote: On Wed 21 August 2013 12:56:21 Su Jiaquan wrote: Hi Hans, Recently when we enable LOCKDEP in our kernel, it detected a possible recursive locking. As we check the code, we found that it's just a false alarm

Re: How to express planar formats with mediabus format code?

2013-08-30 Thread Su Jiaquan
Hi Sakari, On Thu, Aug 22, 2013 at 7:29 PM, Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: Hi Jiaquan, On Wednesday 21 August 2013 18:14:50 Su Jiaquan wrote: On Tue, Aug 20, 2013 at 8:53 PM, Laurent Pinchart wrote: Hi Jiaquan, I'm not sure if that's needed here. Vendor