public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH 0/2] v4l2-ctrls: add new focus mode
@ 2011-02-24 10:45 Kim, HeungJun
  2011-02-24 10:49 ` Laurent Pinchart
  0 siblings, 1 reply; 3+ messages in thread
From: Kim, HeungJun @ 2011-02-24 10:45 UTC (permalink / raw)
  To: linux-media@vger.kernel.org, kyungmin.park@samsung.com
  Cc: Hans Verkuil, Laurent Pinchart, Sylwester Nawrocki

Hello,

I faced to the absence of the mode of v4l2 focus for a couple of years.
While dealing with some few morebile camera sensors, the focus modes
are needed more than the current v4l2 focus mode, like a Macro &
Continuous mode. The M-5MOLS camera sensor I dealt with, also support
these 2 modes. So, I'm going to suggest supports of more detailed
v4l2 focus mode.
 
This RFC series of patch adds new auto focus modes, and documents it.

The first changes the boolean type of V4L2_CID_FOCUS_AUTO to menu type,
and insert menus 4 enumerations: 

V4L2_FOCUS_AUTO, 
V4L2_FOCUS_MACRO, 
V4L2_FOCUS_MANUAL, 
V4L2_FOCUS_CONTINUOUS

The recent mobile camera sensors with ISP supports Macro & Continuous Auto
Focus aka CAF mode, of course normal AUTO mode, even Continuous mode.
Changing the type of V4L2_CID_FOCUS_MODE, is able to define more exact
focusing mode of camera sensor.

The second changes let the previous drivers using V4L2_CID_FOCUS_AUTO by
boolean type be able to use the type of menu.

Thanks for reading this, and I hope any ideas and any comments.

Regards,
Heungjun Kim


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [RFC PATCH 0/2] v4l2-ctrls: add new focus mode
  2011-02-24 10:45 [RFC PATCH 0/2] v4l2-ctrls: add new focus mode Kim, HeungJun
@ 2011-02-24 10:49 ` Laurent Pinchart
  2011-02-24 10:56   ` Kim, HeungJun
  0 siblings, 1 reply; 3+ messages in thread
From: Laurent Pinchart @ 2011-02-24 10:49 UTC (permalink / raw)
  To: riverful.kim
  Cc: linux-media@vger.kernel.org, kyungmin.park@samsung.com,
	Hans Verkuil, Sylwester Nawrocki

Hi,

On Thursday 24 February 2011 11:45:13 Kim, HeungJun wrote:
> Hello,
> 
> I faced to the absence of the mode of v4l2 focus for a couple of years.
> While dealing with some few morebile camera sensors, the focus modes
> are needed more than the current v4l2 focus mode, like a Macro &
> Continuous mode. The M-5MOLS camera sensor I dealt with, also support
> these 2 modes. So, I'm going to suggest supports of more detailed
> v4l2 focus mode.
> 
> This RFC series of patch adds new auto focus modes, and documents it.
> 
> The first changes the boolean type of V4L2_CID_FOCUS_AUTO to menu type,
> and insert menus 4 enumerations:
> 
> V4L2_FOCUS_AUTO,
> V4L2_FOCUS_MACRO,
> V4L2_FOCUS_MANUAL,
> V4L2_FOCUS_CONTINUOUS
> 
> The recent mobile camera sensors with ISP supports Macro & Continuous Auto
> Focus aka CAF mode, of course normal AUTO mode, even Continuous mode.

I'm curious, what sensor are you referring to ?

> Changing the type of V4L2_CID_FOCUS_MODE, is able to define more exact
> focusing mode of camera sensor.
> 
> The second changes let the previous drivers using V4L2_CID_FOCUS_AUTO by
> boolean type be able to use the type of menu.
> 
> Thanks for reading this, and I hope any ideas and any comments.

-- 
Regards,

Laurent Pinchart

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [RFC PATCH 0/2] v4l2-ctrls: add new focus mode
  2011-02-24 10:49 ` Laurent Pinchart
@ 2011-02-24 10:56   ` Kim, HeungJun
  0 siblings, 0 replies; 3+ messages in thread
From: Kim, HeungJun @ 2011-02-24 10:56 UTC (permalink / raw)
  To: Laurent Pinchart
  Cc: linux-media@vger.kernel.org, kyungmin.park@samsung.com,
	Hans Verkuil, Sylwester Nawrocki

Hi Laurent,

First, Thanks to reply.

I commented below.

2011-02-24 오후 7:49, Laurent Pinchart 쓴 글:
> Hi,
> 
> On Thursday 24 February 2011 11:45:13 Kim, HeungJun wrote:
>> Hello,
>>
>> I faced to the absence of the mode of v4l2 focus for a couple of years.
>> While dealing with some few morebile camera sensors, the focus modes
>> are needed more than the current v4l2 focus mode, like a Macro &
>> Continuous mode. The M-5MOLS camera sensor I dealt with, also support
>> these 2 modes. So, I'm going to suggest supports of more detailed
>> v4l2 focus mode.
>>
>> This RFC series of patch adds new auto focus modes, and documents it.
>>
>> The first changes the boolean type of V4L2_CID_FOCUS_AUTO to menu type,
>> and insert menus 4 enumerations:
>>
>> V4L2_FOCUS_AUTO,
>> V4L2_FOCUS_MACRO,
>> V4L2_FOCUS_MANUAL,
>> V4L2_FOCUS_CONTINUOUS
>>
>> The recent mobile camera sensors with ISP supports Macro & Continuous Auto
>> Focus aka CAF mode, of course normal AUTO mode, even Continuous mode.
> 
> I'm curious, what sensor are you referring to ?
Yes. The Fujitsu M-5MO LS sensor supports these modes. And, actually NEC
CE147 sensor also support Macro Focus mode, not includeing CAF mode.

The current Samsung Galaxy S phone use same sensor(M-5MO) too. 
and these mobile phone's camera suport Macro Focus mode.


Regards,
Heungjun Kim

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-02-24 11:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-24 10:45 [RFC PATCH 0/2] v4l2-ctrls: add new focus mode Kim, HeungJun
2011-02-24 10:49 ` Laurent Pinchart
2011-02-24 10:56   ` Kim, HeungJun

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox