API for controlling Scenemode Preset
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
Hi HeungJun,
Quoted 11 lines · 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.
[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 ?
Signature · 3 lines
Regards, Laurent Pinchart
Hi Laurent,
2011. 3. 31., 오후 11:12, Laurent Pinchart 작성:
Quoted 15 lines
Hi HeungJun,
Quoted 11 lines · 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.
Quoted 6 lines
[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
Quoted 9 lines
Signature · 8 lines
-- Regards, Laurent Pinchart -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html