Re: Zooming with V4L2

2010-11-24 Thread Laurent Pinchart
Hi Shuzhen, On Monday 22 November 2010 23:51:41 Shuzhen Wang wrote: Hello, Laurent, I Get the logic you have behind using cropping/scaling. The reason I wanted to use V4L2_CID_ZOOM_ABSOLUTE are that the application will have a simpler interface to control zoom level supported by the

RE: Zooming with V4L2

2010-11-24 Thread Shuzhen Wang
://www.linuxtv.org/news.php?entry=2010-06-22.mchehab. Regards, Shuzhen -Original Message- From: Laurent Pinchart [mailto:laurent.pinch...@ideasonboard.com] Sent: Wednesday, November 24, 2010 4:02 AM To: Shuzhen Wang Cc: linux-media@vger.kernel.org; 'Hans de Goede' Subject: Re: Zooming with V4L2 Hi

Re: Zooming with V4L2

2010-11-24 Thread Laurent Pinchart
Hi Shuzhen, On Wednesday 24 November 2010 20:58:33 Shuzhen Wang wrote: Hello, Laurent, About using daemon, we have proprietary image processing and optimization code that needs to sit between application and driver. That's a pretty common requirement, and there's nothing seriously wrong

RE: Zooming with V4L2

2010-11-24 Thread Shuzhen Wang
PM To: Shuzhen Wang Cc: linux-media@vger.kernel.org; 'Hans de Goede' Subject: Re: Zooming with V4L2 Hi Shuzhen, On Wednesday 24 November 2010 20:58:33 Shuzhen Wang wrote: Hello, Laurent, About using daemon, we have proprietary image processing and optimization code that needs to sit between

Re: Zooming with V4L2

2010-11-22 Thread Laurent Pinchart
Hi Shuzhen, On Sunday 21 November 2010 00:50:59 Shuzhen Wang wrote: Hello, Laurent, Thank you for the reply. In our case, most of the time the sensor outputs bigger image size than the output size, so the ISP hardware does downscaling. When zooming in, we can do cropping, and less

Re: Zooming with V4L2

2010-11-22 Thread Hans de Goede
Hi, On 11/22/2010 11:59 AM, Laurent Pinchart wrote: Hi Shuzhen, On Sunday 21 November 2010 00:50:59 Shuzhen Wang wrote: Hello, Laurent, Thank you for the reply. In our case, most of the time the sensor outputs bigger image size than the output size, so the ISP hardware does downscaling.

Re: Zooming with V4L2

2010-11-22 Thread Laurent Pinchart
Hi Hans, On Monday 22 November 2010 12:23:49 Hans de Goede wrote: On 11/22/2010 11:59 AM, Laurent Pinchart wrote: On Sunday 21 November 2010 00:50:59 Shuzhen Wang wrote: Hello, Laurent, Thank you for the reply. In our case, most of the time the sensor outputs bigger image size than

Re: Zooming with V4L2

2010-11-22 Thread Laurent Pinchart
On Monday 22 November 2010 12:34:04 Laurent Pinchart wrote: On Monday 22 November 2010 12:23:49 Hans de Goede wrote: On 11/22/2010 11:59 AM, Laurent Pinchart wrote: On Sunday 21 November 2010 00:50:59 Shuzhen Wang wrote: Hello, Laurent, Thank you for the reply. In our case,

Re: Zooming with V4L2

2010-11-22 Thread Hans Verkuil
On Monday, November 22, 2010 12:34:50 Laurent Pinchart wrote: On Monday 22 November 2010 12:34:04 Laurent Pinchart wrote: On Monday 22 November 2010 12:23:49 Hans de Goede wrote: On 11/22/2010 11:59 AM, Laurent Pinchart wrote: On Sunday 21 November 2010 00:50:59 Shuzhen Wang wrote:

Re: Zooming with V4L2

2010-11-22 Thread Sylwester Nawrocki
Hello, On 11/22/2010 12:53 PM, Hans Verkuil wrote: On Monday, November 22, 2010 12:34:50 Laurent Pinchart wrote: On Monday 22 November 2010 12:34:04 Laurent Pinchart wrote: On Monday 22 November 2010 12:23:49 Hans de Goede wrote: On 11/22/2010 11:59 AM, Laurent Pinchart wrote: On Sunday 21

RE: Zooming with V4L2

2010-11-22 Thread Shuzhen Wang
-media@vger.kernel.org Subject: Re: Zooming with V4L2 On Monday 22 November 2010 12:34:04 Laurent Pinchart wrote: On Monday 22 November 2010 12:23:49 Hans de Goede wrote: On 11/22/2010 11:59 AM, Laurent Pinchart wrote: On Sunday 21 November 2010 00:50:59 Shuzhen Wang wrote: Hello, Laurent

Re: Zooming with V4L2

2010-11-20 Thread Laurent Pinchart
Hi Shuzhen, On Saturday 20 November 2010 00:17:23 Shuzhen Wang wrote: Hello, I am working on a SOC V4L2 driver, and need to implement zoom functionality. From application, there are 2 ways to do zooming. The 1st way is to use cropping and scaling as described in section 1.11.1. The

RE: Zooming with V4L2

2010-11-20 Thread Shuzhen Wang
: Saturday, November 20, 2010 9:37 AM To: Shuzhen Wang Cc: linux-media@vger.kernel.org Subject: Re: Zooming with V4L2 Hi Shuzhen, On Saturday 20 November 2010 00:17:23 Shuzhen Wang wrote: Hello, I am working on a SOC V4L2 driver, and need to implement zoom functionality. From application