Developer World
Spresense SDK Library v3.2.0-ebc0364
Collaboration diagram for Video control ID(V4L2_CTRL_CLASS_CAMERA):

Modules

 Video control ID(V4L2_CTRL_CLASS_FLASH)
 

Macros

#define V4L2_CID_EXPOSURE_AUTO   CAMERA_CID(0)
 
#define V4L2_CID_EXPOSURE_ABSOLUTE   CAMERA_CID(1)
 
#define V4L2_CID_FOCUS_ABSOLUTE   CAMERA_CID(2)
 
#define V4L2_CID_FOCUS_RELATIVE   CAMERA_CID(3)
 
#define V4L2_CID_FOCUS_AUTO   CAMERA_CID(4)
 
#define V4L2_CID_ZOOM_ABSOLUTE   CAMERA_CID(5)
 
#define V4L2_CID_ZOOM_RELATIVE   CAMERA_CID(6)
 
#define V4L2_CID_ZOOM_CONTINUOUS   CAMERA_CID(7)
 
#define V4L2_CID_IRIS_ABSOLUTE   CAMERA_CID(8)
 
#define V4L2_CID_IRIS_RELATIVE   CAMERA_CID(9)
 
#define V4L2_CID_AUTO_N_PRESET_WHITE_BALANCE   CAMERA_CID(10)
 
#define V4L2_CID_WIDE_DYNAMIC_RANGE   CAMERA_CID(11)
 
#define V4L2_CID_IMAGE_STABILIZATION   CAMERA_CID(12)
 
#define V4L2_CID_ISO_SENSITIVITY   CAMERA_CID(13)
 
#define V4L2_CID_ISO_SENSITIVITY_AUTO   CAMERA_CID(14)
 
#define V4L2_CID_EXPOSURE_METERING   CAMERA_CID(15)
 
#define V4L2_CID_SCENE_MODE   CAMERA_CID(16)
 
#define V4L2_CID_3A_LOCK   CAMERA_CID(17)
 
#define V4L2_LOCK_EXPOSURE   (1 << 0)
 
#define V4L2_LOCK_WHITE_BALANCE   (1 << 1)
 
#define V4L2_LOCK_FOCUS   (1 << 2)
 
#define V4L2_CID_AUTO_FOCUS_START   CAMERA_CID(18)
 
#define V4L2_CID_AUTO_FOCUS_STOP   CAMERA_CID(19)
 
#define V4L2_CID_3A_PARAMETER   CAMERA_CID(20)
 
#define V4L2_CID_3A_STATUS   CAMERA_CID(21)
 
#define V4L2_3A_STATUS_STABLE   (0)
 
#define V4L2_3A_STATUS_AE_OPERATING   (1 << 0)
 
#define V4L2_3A_STATUS_AWB_OPERATING   (1 << 1)
 
#define V4L2_3A_STATUS_AF_OPERATING   (1 << 2)
 
#define V4L2_CID_EXPOSURE_METERING_SPOT_POSITION   CAMERA_CID(22)
 

Enumerations

enum  v4l2_exposure_auto_type { V4L2_EXPOSURE_AUTO = 0 , V4L2_EXPOSURE_MANUAL = 1 , V4L2_EXPOSURE_SHUTTER_PRIORITY = 2 , V4L2_EXPOSURE_APERTURE_PRIORITY = 3 }
 
enum  v4l2_auto_n_preset_white_balance {
  V4L2_WHITE_BALANCE_MANUAL = 0 , V4L2_WHITE_BALANCE_AUTO = 1 , V4L2_WHITE_BALANCE_INCANDESCENT = 2 , V4L2_WHITE_BALANCE_FLUORESCENT = 3 ,
  V4L2_WHITE_BALANCE_FLUORESCENT_H = 4 , V4L2_WHITE_BALANCE_HORIZON = 5 , V4L2_WHITE_BALANCE_DAYLIGHT = 6 , V4L2_WHITE_BALANCE_FLASH = 7 ,
  V4L2_WHITE_BALANCE_CLOUDY = 8 , V4L2_WHITE_BALANCE_SHADE = 9
}
 
enum  v4l2_iso_sensitivity_auto_type { V4L2_ISO_SENSITIVITY_MANUAL = 0 , V4L2_ISO_SENSITIVITY_AUTO = 1 }
 
enum  v4l2_exposure_metering { V4L2_EXPOSURE_METERING_AVERAGE = 0 , V4L2_EXPOSURE_METERING_CENTER_WEIGHTED = 1 , V4L2_EXPOSURE_METERING_SPOT = 2 , V4L2_EXPOSURE_METERING_MATRIX = 3 }
 
enum  v4l2_scene_mode {
  V4L2_SCENE_MODE_NONE = 0 , V4L2_SCENE_MODE_BACKLIGHT = 1 , V4L2_SCENE_MODE_BEACH_SNOW = 2 , V4L2_SCENE_MODE_CANDLE_LIGHT = 3 ,
  V4L2_SCENE_MODE_DAWN_DUSK = 4 , V4L2_SCENE_MODE_FALL_COLORS = 5 , V4L2_SCENE_MODE_FIREWORKS = 6 , V4L2_SCENE_MODE_LANDSCAPE = 7 ,
  V4L2_SCENE_MODE_NIGHT = 8 , V4L2_SCENE_MODE_PARTY_INDOOR = 9 , V4L2_SCENE_MODE_PORTRAIT = 10 , V4L2_SCENE_MODE_SPORTS = 11 ,
  V4L2_SCENE_MODE_SUNSET = 12 , V4L2_SCENE_MODE_TEXT = 13 , V4L2_SCENE_MODE_MAX = 14
}
 

Detailed Description

Macro Definition Documentation

◆ V4L2_CID_EXPOSURE_AUTO

#define V4L2_CID_EXPOSURE_AUTO   CAMERA_CID(0)

Camera class control IDs Auto exposure

◆ V4L2_CID_EXPOSURE_ABSOLUTE

#define V4L2_CID_EXPOSURE_ABSOLUTE   CAMERA_CID(1)

Exposure time

◆ V4L2_CID_FOCUS_ABSOLUTE

#define V4L2_CID_FOCUS_ABSOLUTE   CAMERA_CID(2)

Focus

◆ V4L2_CID_FOCUS_RELATIVE

#define V4L2_CID_FOCUS_RELATIVE   CAMERA_CID(3)

Focus

◆ V4L2_CID_FOCUS_AUTO

#define V4L2_CID_FOCUS_AUTO   CAMERA_CID(4)

Auto focus

◆ V4L2_CID_ZOOM_ABSOLUTE

#define V4L2_CID_ZOOM_ABSOLUTE   CAMERA_CID(5)

Zoom(absolute)

◆ V4L2_CID_ZOOM_RELATIVE

#define V4L2_CID_ZOOM_RELATIVE   CAMERA_CID(6)

Zoom(relative)

◆ V4L2_CID_ZOOM_CONTINUOUS

#define V4L2_CID_ZOOM_CONTINUOUS   CAMERA_CID(7)

Continuous zoom

◆ V4L2_CID_IRIS_ABSOLUTE

#define V4L2_CID_IRIS_ABSOLUTE   CAMERA_CID(8)

Iris(absolute)

◆ V4L2_CID_IRIS_RELATIVE

#define V4L2_CID_IRIS_RELATIVE   CAMERA_CID(9)

Iris(relative)

◆ V4L2_CID_AUTO_N_PRESET_WHITE_BALANCE

#define V4L2_CID_AUTO_N_PRESET_WHITE_BALANCE   CAMERA_CID(10)

Preset white balance

◆ V4L2_CID_WIDE_DYNAMIC_RANGE

#define V4L2_CID_WIDE_DYNAMIC_RANGE   CAMERA_CID(11)

Wide dynamic range

◆ V4L2_CID_IMAGE_STABILIZATION

#define V4L2_CID_IMAGE_STABILIZATION   CAMERA_CID(12)

Image stabilization

◆ V4L2_CID_ISO_SENSITIVITY

#define V4L2_CID_ISO_SENSITIVITY   CAMERA_CID(13)

ISO sensitivity

◆ V4L2_CID_ISO_SENSITIVITY_AUTO

#define V4L2_CID_ISO_SENSITIVITY_AUTO   CAMERA_CID(14)

Auto ISO sensitivity

◆ V4L2_CID_EXPOSURE_METERING

#define V4L2_CID_EXPOSURE_METERING   CAMERA_CID(15)

Exposure metering

◆ V4L2_CID_SCENE_MODE

#define V4L2_CID_SCENE_MODE   CAMERA_CID(16)

Scene selection

◆ V4L2_CID_3A_LOCK

#define V4L2_CID_3A_LOCK   CAMERA_CID(17)

Lock 3A

◆ V4L2_LOCK_EXPOSURE

#define V4L2_LOCK_EXPOSURE   (1 << 0)

Exposure bit for V4L2_CID_3A_LOCK

◆ V4L2_LOCK_WHITE_BALANCE

#define V4L2_LOCK_WHITE_BALANCE   (1 << 1)

White balance bit for V4L2_CID_3A_LOCK

◆ V4L2_LOCK_FOCUS

#define V4L2_LOCK_FOCUS   (1 << 2)

Focus bit for V4L2_CID_3A_LOCK

◆ V4L2_CID_AUTO_FOCUS_START

#define V4L2_CID_AUTO_FOCUS_START   CAMERA_CID(18)

Start single AF

◆ V4L2_CID_AUTO_FOCUS_STOP

#define V4L2_CID_AUTO_FOCUS_STOP   CAMERA_CID(19)

Stop single AF

◆ V4L2_CID_3A_PARAMETER

#define V4L2_CID_3A_PARAMETER   CAMERA_CID(20)

3A parameter

◆ V4L2_CID_3A_STATUS

#define V4L2_CID_3A_STATUS   CAMERA_CID(21)

3A status

◆ V4L2_3A_STATUS_STABLE

#define V4L2_3A_STATUS_STABLE   (0)

3A is stable

◆ V4L2_3A_STATUS_AE_OPERATING

#define V4L2_3A_STATUS_AE_OPERATING   (1 << 0)

AE is operating

◆ V4L2_3A_STATUS_AWB_OPERATING

#define V4L2_3A_STATUS_AWB_OPERATING   (1 << 1)

AWB is operating

◆ V4L2_3A_STATUS_AF_OPERATING

#define V4L2_3A_STATUS_AF_OPERATING   (1 << 2)

AF is operating

◆ V4L2_CID_EXPOSURE_METERING_SPOT_POSITION

#define V4L2_CID_EXPOSURE_METERING_SPOT_POSITION   CAMERA_CID(22)

Spot position in spot exposure metering

Enumeration Type Documentation

◆ v4l2_exposure_auto_type

Enumeration for V4L2_CID_EXPOSURE_AUTO

Enumerator
V4L2_EXPOSURE_AUTO 

Exposure time:auto, iris aperture:auto

V4L2_EXPOSURE_MANUAL 

Exposure time:manual, iris aperture:manual

V4L2_EXPOSURE_SHUTTER_PRIORITY 

Exposure time:manual, iris aperture:auto

V4L2_EXPOSURE_APERTURE_PRIORITY 

Exposure time:auto, iris aperture:manual

◆ v4l2_auto_n_preset_white_balance

Enumeration for V4L2_CID_AUTO_N_PRESET_WHITE_BALANCE

Enumerator
V4L2_WHITE_BALANCE_MANUAL 

Manual

V4L2_WHITE_BALANCE_AUTO 

Automatic

V4L2_WHITE_BALANCE_INCANDESCENT 

Incandescent

V4L2_WHITE_BALANCE_FLUORESCENT 

Fluorescent

V4L2_WHITE_BALANCE_FLUORESCENT_H 

Fluorescent H

V4L2_WHITE_BALANCE_HORIZON 

Horizon

V4L2_WHITE_BALANCE_DAYLIGHT 

Daylight

V4L2_WHITE_BALANCE_FLASH 

Flash

V4L2_WHITE_BALANCE_CLOUDY 

Cloudy

V4L2_WHITE_BALANCE_SHADE 

Shade

◆ v4l2_iso_sensitivity_auto_type

Enumeration for V4L2_CID_ISO_SENSITIVITY_AUTO

Enumerator
V4L2_ISO_SENSITIVITY_MANUAL 

Manual

V4L2_ISO_SENSITIVITY_AUTO 

Automatic

◆ v4l2_exposure_metering

Enumeration for V4L2_CID_EXPOSURE_METERING

Enumerator
V4L2_EXPOSURE_METERING_AVERAGE 

Average

V4L2_EXPOSURE_METERING_CENTER_WEIGHTED 

Center weighted

V4L2_EXPOSURE_METERING_SPOT 

Spot

V4L2_EXPOSURE_METERING_MATRIX 

Matrix

◆ v4l2_scene_mode

Enumeration for V4L2_CID_SCENE_MODE

Enumerator
V4L2_SCENE_MODE_NONE 

No scene

V4L2_SCENE_MODE_BACKLIGHT 

Backlight

V4L2_SCENE_MODE_BEACH_SNOW 

Beach snow

V4L2_SCENE_MODE_CANDLE_LIGHT 

Candle light

V4L2_SCENE_MODE_DAWN_DUSK 

Dawn dask

V4L2_SCENE_MODE_FALL_COLORS 

Fall colors

V4L2_SCENE_MODE_FIREWORKS 

Fire works

V4L2_SCENE_MODE_LANDSCAPE 

Landscape

V4L2_SCENE_MODE_NIGHT 

Night

V4L2_SCENE_MODE_PARTY_INDOOR 

Indoor party

V4L2_SCENE_MODE_PORTRAIT 

Portrait

V4L2_SCENE_MODE_SPORTS 

Sports

V4L2_SCENE_MODE_SUNSET 

Sunset

V4L2_SCENE_MODE_TEXT 

Text

V4L2_SCENE_MODE_MAX 

Max number