diff options
| author | Sylwester Nawrocki <s.nawrocki@samsung.com> | 2012-04-16 09:45:44 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-05-14 13:28:19 -0400 |
| commit | 0bf6b7dc5fd1e60e93657d4fe4b3d788216b9d5e (patch) | |
| tree | 7fc860e2ee33601d4e2c5a478e0327b8e49538a6 /Documentation/DocBook | |
| parent | cf072139c7952e267a2eff334f224a62c949ee96 (diff) | |
[media] V4L: Add camera scene mode control
Add control for the scene mode feature available in image sensor
with more advanced ISP firmware. The V4L2_CID_SCENE_MODE menu
control allows to select a set of parameters or a specific image
processing and capture control algorithm optimized for common
image capture conditions.
Signed-off-by: HeungJun Kim <riverful.kim@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'Documentation/DocBook')
| -rw-r--r-- | Documentation/DocBook/media/v4l/controls.xml | 117 |
1 files changed, 117 insertions, 0 deletions
diff --git a/Documentation/DocBook/media/v4l/controls.xml b/Documentation/DocBook/media/v4l/controls.xml index e8c63e04741f..ad0d53d3ffdd 100644 --- a/Documentation/DocBook/media/v4l/controls.xml +++ b/Documentation/DocBook/media/v4l/controls.xml | |||
| @@ -3184,6 +3184,123 @@ sensitivity adjustments.</entry> | |||
| 3184 | </row> | 3184 | </row> |
| 3185 | <row><entry></entry></row> | 3185 | <row><entry></entry></row> |
| 3186 | 3186 | ||
| 3187 | <row id="v4l2-scene-mode"> | ||
| 3188 | <entry spanname="id"><constant>V4L2_CID_SCENE_MODE</constant> </entry> | ||
| 3189 | <entry>enum v4l2_scene_mode</entry> | ||
| 3190 | </row><row><entry spanname="descr">This control allows to select | ||
| 3191 | scene programs as the camera automatic modes optimized for common shooting | ||
| 3192 | scenes. Within these modes the camera determines best exposure, aperture, | ||
| 3193 | focusing, light metering, white balance and equivalent sensitivity. The | ||
| 3194 | controls of those parameters are influenced by the scene mode control. | ||
| 3195 | An exact behavior in each mode is subject to the camera specification. | ||
| 3196 | |||
| 3197 | <para>When the scene mode feature is not used, this control should be set to | ||
| 3198 | <constant>V4L2_SCENE_MODE_NONE</constant> to make sure the other possibly | ||
| 3199 | related controls are accessible. The following scene programs are defined: | ||
| 3200 | </para> | ||
| 3201 | </entry> | ||
| 3202 | </row> | ||
| 3203 | <row> | ||
| 3204 | <entrytbl spanname="descr" cols="2"> | ||
| 3205 | <tbody valign="top"> | ||
| 3206 | <row> | ||
| 3207 | <entry><constant>V4L2_SCENE_MODE_NONE</constant> </entry> | ||
| 3208 | <entry>The scene mode feature is disabled.</entry> | ||
| 3209 | </row> | ||
| 3210 | <row> | ||
| 3211 | <entry><constant>V4L2_SCENE_MODE_BACKLIGHT</constant> </entry> | ||
| 3212 | <entry>Backlight. Compensates for dark shadows when light is | ||
| 3213 | coming from behind a subject, also by automatically turning | ||
| 3214 | on the flash.</entry> | ||
| 3215 | </row> | ||
| 3216 | <row> | ||
| 3217 | <entry><constant>V4L2_SCENE_MODE_BEACH_SNOW</constant> </entry> | ||
| 3218 | <entry>Beach and snow. This mode compensates for all-white or | ||
| 3219 | bright scenes, which tend to look gray and low contrast, when camera's automatic | ||
| 3220 | exposure is based on an average scene brightness. To compensate, this mode | ||
| 3221 | automatically slightly overexposes the frames. The white balance may also be | ||
| 3222 | adjusted to compensate for the fact that reflected snow looks bluish rather | ||
| 3223 | than white.</entry> | ||
| 3224 | </row> | ||
| 3225 | <row> | ||
| 3226 | <entry><constant>V4L2_SCENE_MODE_CANDLELIGHT</constant> </entry> | ||
| 3227 | <entry>Candle light. The camera generally raises the ISO | ||
| 3228 | sensitivity and lowers the shutter speed. This mode compensates for relatively | ||
| 3229 | close subject in the scene. The flash is disabled in order to preserve the | ||
| 3230 | ambiance of the light.</entry> | ||
| 3231 | </row> | ||
| 3232 | <row> | ||
| 3233 | <entry><constant>V4L2_SCENE_MODE_DAWN_DUSK</constant> </entry> | ||
| 3234 | <entry>Dawn and dusk. Preserves the colors seen in low | ||
| 3235 | natural light before dusk and after down. The camera may turn off the flash, | ||
| 3236 | and automatically focus at infinity. It will usually boost saturation and | ||
| 3237 | lower the shutter speed.</entry> | ||
| 3238 | </row> | ||
| 3239 | <row> | ||
| 3240 | <entry><constant>V4L2_SCENE_MODE_FALL_COLORS</constant> </entry> | ||
| 3241 | <entry>Fall colors. Increases saturation and adjusts white | ||
| 3242 | balance for color enhancement. Pictures of autumn leaves get saturated reds | ||
| 3243 | and yellows.</entry> | ||
| 3244 | </row> | ||
| 3245 | <row> | ||
| 3246 | <entry><constant>V4L2_SCENE_MODE_FIREWORKS</constant> </entry> | ||
| 3247 | <entry>Fireworks. Long exposure times are used to capture | ||
| 3248 | the expanding burst of light from a firework. The camera may invoke image | ||
| 3249 | stabilization.</entry> | ||
| 3250 | </row> | ||
| 3251 | <row> | ||
| 3252 | <entry><constant>V4L2_SCENE_MODE_LANDSCAPE</constant> </entry> | ||
| 3253 | <entry>Landscape. The camera may choose a small aperture to | ||
| 3254 | provide deep depth of field and long exposure duration to help capture detail | ||
| 3255 | in dim light conditions. The focus is fixed at infinity. Suitable for distant | ||
| 3256 | and wide scenery.</entry> | ||
| 3257 | </row> | ||
| 3258 | <row> | ||
| 3259 | <entry><constant>V4L2_SCENE_MODE_NIGHT</constant> </entry> | ||
| 3260 | <entry>Night, also known as Night Landscape. Designed for low | ||
| 3261 | light conditions, it preserves detail in the dark areas without blowing out bright | ||
| 3262 | objects. The camera generally sets itself to a medium-to-high ISO sensitivity, | ||
| 3263 | with a relatively long exposure time, and turns flash off. As such, there will be | ||
| 3264 | increased image noise and the possibility of blurred image.</entry> | ||
| 3265 | </row> | ||
| 3266 | <row> | ||
| 3267 | <entry><constant>V4L2_SCENE_MODE_PARTY_INDOOR</constant> </entry> | ||
| 3268 | <entry>Party and indoor. Designed to capture indoor scenes | ||
| 3269 | that are lit by indoor background lighting as well as the flash. The camera | ||
| 3270 | usually increases ISO sensitivity, and adjusts exposure for the low light | ||
| 3271 | conditions.</entry> | ||
| 3272 | </row> | ||
| 3273 | <row> | ||
| 3274 | <entry><constant>V4L2_SCENE_MODE_PORTRAIT</constant> </entry> | ||
| 3275 | <entry>Portrait. The camera adjusts the aperture so that the | ||
| 3276 | depth of field is reduced, which helps to isolate the subject against a smooth | ||
| 3277 | background. Most cameras recognize the presence of faces in the scene and focus | ||
| 3278 | on them. The color hue is adjusted to enhance skin tones. The intensity of the | ||
| 3279 | flash is often reduced.</entry> | ||
| 3280 | </row> | ||
| 3281 | <row> | ||
| 3282 | <entry><constant>V4L2_SCENE_MODE_SPORTS</constant> </entry> | ||
| 3283 | <entry>Sports. Significantly increases ISO and uses a fast | ||
| 3284 | shutter speed to freeze motion of rapidly-moving subjects. Increased image | ||
| 3285 | noise may be seen in this mode.</entry> | ||
| 3286 | </row> | ||
| 3287 | <row> | ||
| 3288 | <entry><constant>V4L2_SCENE_MODE_SUNSET</constant> </entry> | ||
| 3289 | <entry>Sunset. Preserves deep hues seen in sunsets and | ||
| 3290 | sunrises. It bumps up the saturation.</entry> | ||
| 3291 | </row> | ||
| 3292 | <row> | ||
| 3293 | <entry><constant>V4L2_SCENE_MODE_TEXT</constant> </entry> | ||
| 3294 | <entry>Text. It applies extra contrast and sharpness, it is | ||
| 3295 | typically a black-and-white mode optimized for readability. Automatic focus | ||
| 3296 | may be switched to close-up mode and this setting may also involve some | ||
| 3297 | lens-distortion correction.</entry> | ||
| 3298 | </row> | ||
| 3299 | </tbody> | ||
| 3300 | </entrytbl> | ||
| 3301 | </row> | ||
| 3302 | <row><entry></entry></row> | ||
| 3303 | |||
| 3187 | </tbody> | 3304 | </tbody> |
| 3188 | </tgroup> | 3305 | </tgroup> |
| 3189 | </table> | 3306 | </table> |
