* [RFC] API for controlling Scenemode Preset
@ 2011-03-31 5:39 Kim, HeungJun
2011-03-31 14:12 ` Laurent Pinchart
0 siblings, 1 reply; 3+ messages in thread
From: Kim, HeungJun @ 2011-03-31 5:39 UTC (permalink / raw)
To: linux-media@vger.kernel.org, Hans Verkuil,
kyungmin.park@samsung.com
Hello everyone,
This is a suggestion about the preset for the scenemode of camera. It's just
one API, and its role determines which current scenemode preset of camera is.
The kinds of scenemode are various at each camera. But, as you look around
camera, the each scenemode has common name and the specific scenemode just
exist or not. So, I started to collect the scenemode common set of Fujitsu
M-5MOLS and NEC CE147. And, I found these modes are perfetly matched, althogh
the names are a little different.
I introduce these scenemode preset.
Fujitsu M5MO NEC CE147
Portrait Portrait
Landscape Landscape
Sports Sports
Party & Indoor Indoor & Party
Beach & Snow Beach & Snow
Sunset Sunset
Dawn & Dusk Dawn
Fall FallColor
Night Night
Against Light Against
Fire Fireworks
Text Text
Candle Candlelight
The camera just one scememode at one time, so these can be express by menu type
like this.
CID name
: V4L2_CID_SCENEMODE
CID enumeration
: enum v4l2_scenemode {
V4L2_SCENEMODE_PORTRAIT = 0,
V4L2_SCENEMODE_LANDSCAPE = 1,
V4L2_SCENEMODE_SPORTS = 2,
V4L2_SCENEMODE_PARTY_INDOOR = 3,
V4L2_SCENEMODE_BEACH_SNOW = 4,
V4L2_SCENEMODE_SUNSET = 5,
V4L2_SCENEMODE_DAWN_DUSK = 6,
V4L2_SCENEMODE_FALLCOLOR = 7,
V4L2_SCENEMODE_NIGHT = 8,
V4L2_SCENEMODE_AGAINST_LIGHT = 9,
V4L2_SCENEMODE_FIREWORKS = 10,
V4L2_SCENEMODE_TEXT = 11,
V4L2_SCENEMODE_CANDLELIGHT = 12,
};
Thanks for reading, and welcome always any comments & opinions & any other cases.
I want to know any other case very much. :)
Ragards,
Heungjun Kim
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [RFC] API for controlling Scenemode Preset
2011-03-31 5:39 [RFC] API for controlling Scenemode Preset Kim, HeungJun
@ 2011-03-31 14:12 ` Laurent Pinchart
2011-03-31 20:24 ` Kim HeungJun
0 siblings, 1 reply; 3+ messages in thread
From: Laurent Pinchart @ 2011-03-31 14:12 UTC (permalink / raw)
To: riverful.kim
Cc: linux-media@vger.kernel.org, Hans Verkuil,
kyungmin.park@samsung.com
Hi HeungJun,
On Thursday 31 March 2011 07:39:09 Kim, HeungJun wrote:
> Hello everyone,
>
> This is a suggestion about the preset for the scenemode of camera. It's
> just one API, and its role determines which current scenemode preset of
> camera is.
>
> The kinds of scenemode are various at each camera. But, as you look around
> camera, the each scenemode has common name and the specific scenemode just
> exist or not. So, I started to collect the scenemode common set of Fujitsu
> M-5MOLS and NEC CE147. And, I found these modes are perfetly matched,
> althogh the names are a little different.
[snip]
Are those presets really implemented in hardware ? I expect that they control
various configuration parameters such as white balance. Can all those
parameters also be controlled manually, or are they (or some of them) settable
only through the scene mode presets ?
--
Regards,
Laurent Pinchart
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [RFC] API for controlling Scenemode Preset
2011-03-31 14:12 ` Laurent Pinchart
@ 2011-03-31 20:24 ` Kim HeungJun
0 siblings, 0 replies; 3+ messages in thread
From: Kim HeungJun @ 2011-03-31 20:24 UTC (permalink / raw)
To: Laurent Pinchart
Cc: Kim HeungJun, riverful.kim, linux-media@vger.kernel.org,
Hans Verkuil, kyungmin.park@samsung.com
Hi Laurent,
2011. 3. 31., 오후 11:12, Laurent Pinchart 작성:
> Hi HeungJun,
>
> On Thursday 31 March 2011 07:39:09 Kim, HeungJun wrote:
>> Hello everyone,
>>
>> This is a suggestion about the preset for the scenemode of camera. It's
>> just one API, and its role determines which current scenemode preset of
>> camera is.
>>
>> The kinds of scenemode are various at each camera. But, as you look around
>> camera, the each scenemode has common name and the specific scenemode just
>> exist or not. So, I started to collect the scenemode common set of Fujitsu
>> M-5MOLS and NEC CE147. And, I found these modes are perfetly matched,
>> althogh the names are a little different.
>
> [snip]
>
> Are those presets really implemented in hardware ? I expect that they control
> various configuration parameters such as white balance. Can all those
> parameters also be controlled manually, or are they (or some of them) settable
> only through the scene mode presets ?
Yeah. These modes can be easily activated only one I2C register access. So, maybe
this is the reason why this is called 'preset'. Although it needs previous works, the all
recommended flow table(or order? I can't express well) of I2C command(like
relative white balance, exposure, iso, etc) are ready in document.
Probably, it can be concerned about control clustered with the other controls.
Because, the scene mode itself means 'preset' which is accompanied by various
control. But, I think doing that is the role of driver's side, and the truth to be needed
scene mode API is irrelevant.
Thanks for comments.
Regards,
Heungjun Kim
>
> --
> Regards,
>
> Laurent Pinchart
> --
> To unsubscribe from this list: send the line "unsubscribe linux-media" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-03-31 20:24 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-31 5:39 [RFC] API for controlling Scenemode Preset Kim, HeungJun
2011-03-31 14:12 ` Laurent Pinchart
2011-03-31 20:24 ` Kim HeungJun
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox