Module controls

Source

Structs§

AeEnable
Enable or disable the AEGC algorithm. When this control is set to true, both ExposureTimeMode and AnalogueGainMode are set to auto, and if this control is set to false then both are set to manual.
AeFlickerDetected
Flicker period detected in microseconds.
AeFlickerPeriod
Manual flicker period in microseconds.
AfWindows
The focus windows used by the AF algorithm when AfMetering is set to AfMeteringWindows.
AnalogueGain
Analogue gain value applied in the sensor device.
AwbEnable
Enable or disable the AWB.
AwbLocked
Report the lock status of a running AWB algorithm.
Brightness
Specify a fixed brightness parameter.
ColourCorrectionMatrix
The 3x3 matrix that converts camera RGB to sRGB within the imaging pipeline.
ColourGains
Pair of gain values for the Red and Blue colour channels, in that order.
ColourTemperature
ColourTemperature of the frame, in kelvin.
Contrast
Specify a fixed contrast parameter.
DebugMetadataEnable
Enable or disable the debug metadata.
DigitalGain
Digital gain value applied during the processing steps applied to the image as captured from the sensor.
ExposureTime
Exposure time for the frame applied in the sensor device.
ExposureValue
Specify an Exposure Value (EV) parameter.
FaceDetectFaceIds
Each detected face is given a unique ID that is valid for as long as the face is visible to the camera device. A face that leaves the field of view and later returns may be assigned a new ID. The number of values should be the number of faces reported in FaceDetectFaceRectangles.
FaceDetectFaceLandmarks
Array of human face landmark coordinates in format […, left_eye_i, right_eye_i, mouth_i, left_eye_i+1, …], with i = index of face. The number of values should be 3 * the number of faces reported in FaceDetectFaceRectangles.
FaceDetectFaceRectangles
Boundary rectangles of the detected faces. The number of values is the number of detected faces.
FaceDetectFaceScores
Confidence score of each of the detected faces. The range of score is [0, 100]. The number of values should be the number of faces reported in FaceDetectFaceRectangles.
FocusFoM
Reports a Figure of Merit (FoM) to indicate how in-focus the frame is.
FrameDuration
The instantaneous frame duration from start of frame exposure to start of next exposure, expressed in microseconds.
FrameDurationLimits
The minimum and maximum (in that order) frame duration, expressed in microseconds.
Gamma
Specify a fixed gamma value.
LensPosition
Set and report the focus lens position.
Lux
Report an estimate of the current illuminance level in lux.
MaxLatency
The maximum number of frames that can occur after a request (different than the previous) has been submitted, and before the result’s state becomes synchronized. A value of -1 indicates unknown latency, and 0 indicates per-frame control. Currently identical to ANDROID_SYNC_MAX_LATENCY.
PipelineDepth
Specifies the number of pipeline stages the frame went through from when it was exposed to when the final completed result was available to the framework. Always less than or equal to PipelineMaxDepth. Currently identical to ANDROID_REQUEST_PIPELINE_DEPTH.
Saturation
Specify a fixed saturation parameter.
ScalerCrop
Sets the image portion that will be scaled to form the whole of the final output image.
SensorBlackLevels
Reports the sensor black levels used for processing a frame.
SensorRollingShutterSkew
Control to report the time between the start of exposure of the first row and the start of exposure of the last row. Currently identical to ANDROID_SENSOR_ROLLING_SHUTTER_SKEW
SensorTemperature
Temperature measure from the camera sensor in Celsius.
SensorTimestamp
The time when the first row of the image sensor active array is exposed.
Sharpness
Intensity of the sharpening applied to the image.

Enums§

AeConstraintMode
Specify a constraint mode for the AE algorithm to use.
AeExposureMode
Specify an exposure mode for the AE algorithm to use.
AeFlickerMode
Set the flicker avoidance mode for AGC/AEC.
AeMeteringMode
Specify a metering mode for the AE algorithm to use.
AePrecaptureTrigger
Control for AE metering trigger. Currently identical to ANDROID_CONTROL_AE_PRECAPTURE_TRIGGER.
AeState
Report the AEGC algorithm state.
AfMetering
The parts of the image used by the AF algorithm to measure focus.
AfMode
The mode of the AF (autofocus) algorithm.
AfPause
Pause lens movements when in continuous autofocus mode.
AfPauseState
Report whether the autofocus is currently running, paused or pausing.
AfRange
The range of focus distances that is scanned.
AfSpeed
Determine whether the AF is to move the lens as quickly as possible or more steadily.
AfState
The current state of the AF algorithm.
AfTrigger
Start an autofocus scan.
AnalogueGainMode
Controls the source of the analogue gain that is applied to the image sensor.
AwbMode
Specify the range of illuminants to use for the AWB algorithm.
AwbState
Control to report the current AWB algorithm state. Currently identical to ANDROID_CONTROL_AWB_STATE.
ColorCorrectionAberrationMode
Control to select the color correction aberration mode. Currently identical to ANDROID_COLOR_CORRECTION_ABERRATION_MODE.
ControlId
ExposureTimeMode
Controls the source of the exposure time that is applied to the image sensor.
FaceDetectMode
Control to select the face detection mode used by the pipeline.
HdrChannel
The HDR channel used to capture the frame.
HdrMode
Set the mode to be used for High Dynamic Range (HDR) imaging.
LensShadingMapMode
Control to report if the lens shading map is available. Currently identical to ANDROID_STATISTICS_LENS_SHADING_MAP_MODE.
NoiseReductionMode
Control to select the noise reduction algorithm mode. Currently identical to ANDROID_NOISE_REDUCTION_MODE.
TestPatternMode
Control to select the test pattern mode. Currently identical to ANDROID_SENSOR_TEST_PATTERN_MODE.

Functions§

make_dyn