Re: [RFC] API for controlling Scenemode Preset

2011-03-31 Thread 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 ?

-- 
Regards,

Laurent Pinchart
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[RFC] API for controlling Scenemode Preset

2011-03-30 Thread Kim, HeungJun
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 M5MONEC CE147

PortraitPortrait
Landscape   Landscape
Sports  Sports
Party  Indoor  Indoor  Party
Beach  SnowBeach  Snow
Sunset  Sunset
Dawn  Dusk Dawn
FallFallColor
Night   Night
Against Light   Against
FireFireworks
TextText
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




--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html