Property Name | Type | Description | Units | Range | Notes | Tags |
---|---|---|---|---|---|---|
colorCorrection | ||||||
controls | ||||||
Property Name | Type | Description | Units | Range | Notes | Tags |
android. |
byte
[public]
|
When android. |
||||
android. |
rational
x
3 x 3
[public]
3x3 rational matrix in row-major order
|
A color transform matrix to use to transform from sensor RGB color space to output linear sRGB color space |
Output values are expected to be in the range
(0, |
This matrix is either set by HAL when the request
android. In the latter case, |
||
android. |
float
x
4
[public]
A 1D array of floats for 4 color channel gains
|
Gains applying to Bayer color channels for white-balance |
The 4-channel white-balance gains are defined in
the order of [R G_ This array is either set by HAL when the request android. The ouput should be the gains actually applied by the HAL to the current frame. |
|||
dynamic | ||||||
Property Name | Type | Description | Units | Range | Notes | Tags |
android. |
rational
x
3 x 3
[public]
3x3 rational matrix in row-major order
|
A color transform matrix to use to transform from sensor RGB color space to output linear sRGB color space |
Output values are expected to be in the range
(0, |
This matrix is either set by HAL when the request
android. In the latter case, |
||
android. |
float
x
4
[public]
A 1D array of floats for 4 color channel gains
|
Gains applying to Bayer color channels for white-balance |
The 4-channel white-balance gains are defined in
the order of [R G_ This array is either set by HAL when the request android. The ouput should be the gains actually applied by the HAL to the current frame. |
|||
control | ||||||
controls | ||||||
Property Name | Type | Description | Units | Range | Notes | Tags |
android. |
byte
[public]
|
Enum for controlling antibanding |
android. |
|||
android. |
int32 [public] | Adjustment to AE target image brightness |
count of positive/ |
For example, |
||
android. |
byte
[public as boolean]
|
Whether AE is currently locked to its latest calculated values |
Note that even when AE is locked, |
|||
android. |
byte
[public]
|
Whether AE is currently updating the sensor exposure and sensitivity fields |
android. |
Only effective if android. |
||
android. |
int32 x 5 x area_count [public] | List of areas to use for metering |
Each area is a rectangle plus weight: xmin, The coordinate system is based on the active pixel array, If all regions have 0 weight, |
|||
android. |
int32 x 2 [public] | Range over which fps can be adjusted to maintain exposure |
android. |
Only constrains AE algorithm, |
||
android. |
byte
[public]
|
Whether the HAL must trigger precapture
metering. |
This entry is normally set to IDLE, The effect of AE precapture trigger depends on the current AE mode and state; see the camera HAL device v3 header for details. |
|||
android. |
byte
[public]
|
Whether AF is currently enabled, |
||||
android. |
int32 x 5 x area_count [public] | List of areas to use for focus estimation |
Each area is a rectangle plus weight: xmin, The coordinate system is based on the active pixel array, If all regions have 0 weight, |
|||
android. |
byte
[public]
|
Whether the HAL must trigger autofocus. |
This entry is normally set to IDLE, When included and set to START, |
|||
android. |
byte
[public as boolean]
|
Whether AWB is currently locked to its latest calculated values |
Note that AWB lock is only meaningful for AUTO
mode; in other modes, |
|||
android. |
byte
[public]
|
Whether AWB is currently setting the color
transform fields, |
[BC - AWB lock, |
|||
android. |
int32 x 5 x area_count [public] | List of areas to use for illuminant estimation |
Only used in AUTO mode. Each area is a rectangle plus weight: xmin, The coordinate system is based on the active pixel array, If all regions have 0 weight, |
|||
android. |
byte
[public]
|
Information to 3A routines about the purpose
of this capture, |
all must be supported |
Only used if android. |
||
android. |
byte
[public]
|
Whether any special color effect is in use. |
android. |
|||
android. |
byte
[public]
|
Overall mode of 3A control routines | all must be supported | |||
android. |
byte
[public]
|
Which scene mode is active when
android. |
android. |
|||
android. |
byte
[public as boolean]
|
Whether video stabilization is active |
If enabled, |
|||
static | ||||||
Property Name | Type | Description | Units | Range | Notes | Tags |
android. |
byte
x
n
[public]
list of enums
|
Which set of antibanding modes are supported | ||||
android. |
byte
x
n
[system]
list of enums
|
Which subset of AE modes is supported |
OFF, |
|||
android. |
int32
x
2 x n
[public]
list of pairs of frame rates
|
List of frame rate ranges supported by the
AE algorithm/ |
||||
android. |
int32 x 2 [public] |
Maximum and minimum exposure compensation
setting, |
At least (-2, |
|||
android. |
rational [public] | Smallest step by which exposure compensation can be changed |
<= 1/ |
|||
android. |
byte
x
n
[public]
List of enums
|
List of AF modes that can be selected |
OFF must be included. |
|||
android. |
byte
x
n
[public]
list of enums
|
what subset of the full color effect enum list is supported | OFF must be listed | |||
android. |
byte
x
n
[public]
list of enums from android.
|
what subset of the scene mode enum list is
supported. |
SCENE_ |
|||
android. |
byte
x
n
[public]
List of enums.
|
List of video stabilization modes that can be supported | OFF must be included | |||
android. |
byte
x
n
[public]
List of enums (android.
|
OFF, |
||||
android. |
int32 [public] |
For AE, |
>= 1 | |||
android. |
byte x 3 x length(availableSceneModes) [system] |
List of AE, |
For each listed scene mode, |
When a scene mode is enabled, To simplify communication with old camera API applications, It is recommended that for FACE_ |
||
dynamic | ||||||
Property Name | Type | Description | Units | Range | Notes | Tags |
android. |
int32 [hidden] |
The ID sent with the latest
CAMERA2_ |
Must be 0 if no
CAMERA2_ |
|||
android. |
int32 x 5 x area_count [public] | List of areas to use for metering |
Each area is a rectangle plus weight: xmin, The coordinate system is based on the active pixel array, If all regions have 0 weight, |
|||
android. |
byte
[public]
|
Current state of AE algorithm |
Whenever the AE algorithm state changes, |
|||
android. |
byte
[public]
|
Whether AF is currently enabled, |
||||
android. |
int32 x 5 x area_count [public] | List of areas to use for focus estimation |
Each area is a rectangle plus weight: xmin, The coordinate system is based on the active pixel array, If all regions have 0 weight, |
|||
android. |
byte
[public]
|
Current state of AF algorithm |
Whenever the AF algorithm state changes, |
|||
android. |
int32 [hidden] |
The ID sent with the latest
CAMERA2_ |
Must be 0 if no CAMERA2_ |
|||
android. |
byte
[public]
|
Whether AWB is currently setting the color
transform fields, |
[BC - AWB lock, |
|||
android. |
int32 x 5 x area_count [public] | List of areas to use for illuminant estimation |
Only used in AUTO mode. Each area is a rectangle plus weight: xmin, The coordinate system is based on the active pixel array, If all regions have 0 weight, |
|||
android. |
byte
[public]
|
Current state of AWB algorithm |
Whenever the AWB algorithm state changes, |
|||
android. |
byte
[public]
|
Overall mode of 3A control routines | all must be supported | |||
demosaic | ||||||
controls | ||||||
Property Name | Type | Description | Units | Range | Notes | Tags |
android. |
byte
[system]
|
Controls the quality of the demosaicing processing | ||||
edge | ||||||
controls | ||||||
Property Name | Type | Description | Units | Range | Notes | Tags |
android. |
byte
[public]
|
Operation mode for edge enhancement | ||||
android. |
byte [system] | Control the amount of edge enhancement applied to the images | 1-10; 10 is maximum sharpening | |||
dynamic | ||||||
Property Name | Type | Description | Units | Range | Notes | Tags |
android. |
byte
[public]
|
Operation mode for edge enhancement | ||||
flash | ||||||
controls | ||||||
Property Name | Type | Description | Units | Range | Notes | Tags |
android. |
byte [system] |
Power for flash firing/ |
10 is max power; 0 is no flash. |
0 - 10 |
Power for snapshot may use a different scale than
for torch mode. |
|
android. |
int64 [system] | Firing time of flash relative to start of exposure | nanoseconds | 0-(exposure time-flash duration) |
Clamped to (0, |
|
android. |
byte
[public]
|
Select flash operation mode | ||||
static | ||||||
Property Name | Type | Description | Units | Range | Notes | Tags |
android. |
byte [public] | Whether this camera has a flash |
boolean (0 = false, |
If no flash, |
||
android. |
int64 [system] | Time taken before flash can fire again | nanoseconds | 0-1e9 |
1 second too long/ |
|
android. |
byte [system] |
The x, |
pair of floats | 0-1 for both | ||
android. |
byte [system] | Max energy output of the flash for a full power single flash | lumen-seconds | >= 0 | ||
dynamic | ||||||
Property Name | Type | Description | Units | Range | Notes | Tags |
android. |
byte [system] |
Power for flash firing/ |
10 is max power; 0 is no flash. |
0 - 10 |
Power for snapshot may use a different scale than
for torch mode. |
|
android. |
int64 [system] | Firing time of flash relative to start of exposure | nanoseconds | 0-(exposure time-flash duration) |
Clamped to (0, |
|
android. |
byte
[public]
|
Select flash operation mode | ||||
android. |
byte
[public]
|
Current state of the flash unit | ||||
geometric | ||||||
controls | ||||||
Property Name | Type | Description | Units | Range | Notes | Tags |
android. |
byte
[system]
|
Operating mode of geometric correction | ||||
android. |
byte [system] | Control the amount of shading correction applied to the images | unitless: 1-10; 10 is full shading compensation | |||
hotPixel | ||||||
controls | ||||||
Property Name | Type | Description | Units | Range | Notes | Tags |
android. |
byte
[system]
|
Set operational mode for hot pixel correction | ||||
static | ||||||
Property Name | Type | Description | Units | Range | Notes | Tags |
android. |
int32
x
2 x n
[system]
list of coordinates based on android.
|
Location of hot/ |
||||
dynamic | ||||||
Property Name | Type | Description | Units | Range | Notes | Tags |
android. |
byte
[system]
|
Set operational mode for hot pixel correction | ||||
jpeg | ||||||
controls | ||||||
Property Name | Type | Description | Units | Range | Notes | Tags |
android. |
double
x
3
[public]
latitude,
|
GPS coordinates to include in output JPEG EXIF |
(-180 - 180], |
|||
android. |
byte [public as string] | 32 characters describing GPS algorithm to include in EXIF | UTF-8 null-terminated string | |||
android. |
int64 [public] | Time GPS fix was made to include in EXIF |
UTC in seconds since January 1, |
|||
android. |
int32 [public] | Orientation of JPEG image to write | Degrees in multiples of 90 |
0, |
||
android. |
byte [public] | Compression quality of the final JPEG image | 1-100; larger is higher quality | 85-95 is typical usage range | ||
android. |
byte [public] | Compression quality of JPEG thumbnail | 1-100; larger is higher quality | |||
android. |
int32 x 2 [public as size] | Resolution of embedded JPEG thumbnail |
from android. |
|||
static | ||||||
Property Name | Type | Description | Units | Range | Notes | Tags |
android. |
int32
x
2 x n
[public as size]
list of resolution pairs
|
Supported resolutions for the JPEG thumbnail |
Must include at least one valid resolution, |
|||
android. |
int32 [system] | Maximum size in bytes for the compressed JPEG buffer | Must be large enough to fit any JPEG produced by the camera | This is used for sizing the gralloc buffers for JPEG | ||
dynamic | ||||||
Property Name | Type | Description | Units | Range | Notes | Tags |
android. |
double
x
3
[public]
latitude,
|
GPS coordinates to include in output JPEG EXIF |
(-180 - 180], |
|||
android. |
byte [public as string] | 32 characters describing GPS algorithm to include in EXIF | UTF-8 null-terminated string | |||
android. |
int64 [public] | Time GPS fix was made to include in EXIF |
UTC in seconds since January 1, |
|||
android. |
int32 [public] | Orientation of JPEG image to write | Degrees in multiples of 90 |
0, |
||
android. |
byte [public] | Compression quality of the final JPEG image | 1-100; larger is higher quality | 85-95 is typical usage range | ||
android. |
int32 [system] |
The size of the compressed JPEG image, |
>= 0 |
If no JPEG output is produced for the request, Otherwise, |
||
android. |
byte [public] | Compression quality of JPEG thumbnail | 1-100; larger is higher quality | |||
android. |
int32 x 2 [public as size] | Resolution of embedded JPEG thumbnail |
from android. |
|||
lens | ||||||
controls | ||||||
Property Name | Type | Description | Units | Range | Notes | Tags |
android. |
float [public] | Size of the lens aperture |
f-number (f/ |
android. |
Will not be supported on most devices. |
|
android. |
float [public] | State of lens neutral density filter(s) | number of stops of filtering |
android. |
Will not be supported on most devices. |
|
android. |
float [public] | Lens optical zoom setting | focal length in mm | > 0 |
Will not be supported on most devices. |
|
android. |
float [public] |
Distance to plane of sharpest focus, |
diopters (1/ |
>= 0 |
0 = infinity focus. |
|
android. |
byte
[public]
|
Whether optical image stabilization is
enabled. |
android. |
Will not be supported on most devices. |
||
static | ||||||
Property Name | Type | Description | Units | Range | Notes | Tags |
android. |
float x n [public] | List of supported aperture values |
one entry required, |
If variable aperture not available, |
||
android. |
float x n [public] | List of supported ND filter values |
one entry required, |
If not available, |
||
android. |
float
x
n
[public]
the list of available focal lengths
|
If fitted with optical zoom, |
> 0 |
If optical zoom not supported, |
||
android. |
byte
x
n
[public]
list of enums
|
List of supported optical image stabilization modes | ||||
android. |
float
x
2 x 3 x n x m
[system]
2D array of destination coordinate pairs for uniform grid points in source image,
|
A low-resolution map for correction of
geometric distortions and chromatic aberrations, |
N, |
[DNG wants a function instead]. |
||
android. |
int32
x
2
[system as size]
width and height of geometric correction map
|
Dimensions of geometric correction map | Both values >= 2 | |||
android. |
float [public] | Hyperfocal distance for this lens; set to 0 if fixed focus | diopters | >= 0 | The hyperfocal distance is used for the old API's 'fixed' setting | |
android. |
float [public] | Shortest distance from frontmost surface of the lens that can be focused correctly | diopters | >= 0 |
If the lens is fixed-focus, |
|
android. |
int32
x
2
[public as size]
width and height of lens shading map provided by the HAL.
|
Dimensions of lens shading map | Both values >= 1 | |||
android. |
byte
[public]
|
Direction the camera faces relative to device screen | ||||
android. |
float
x
2
[system]
degrees.
|
Relative angle of camera optical axis to the perpendicular axis from the display |
[0-90) for first angle, |
Examples:
(0, (45, (45, Use FACING field to determine perpendicular outgoing direction |
||
android. |
float x 3, location in mm, in the sensor coordinate system [system] | Coordinates of camera optical axis on device | ||||
dynamic | ||||||
Property Name | Type | Description | Units | Range | Notes | Tags |
android. |
float [public] | Size of the lens aperture |
f-number (f/ |
android. |
Will not be supported on most devices. |
|
android. |
float [public] | State of lens neutral density filter(s) | number of stops of filtering |
android. |
Will not be supported on most devices. |
|
android. |
float [public] | Lens optical zoom setting | focal length in mm | > 0 |
Will not be supported on most devices. |
|
android. |
float [public] |
Distance to plane of sharpest focus, |
diopters (1/ |
>= 0 | Should be zero for fixed-focus cameras | |
android. |
float
x
2
[public]
Range of scene distances that are in focus
|
The range of scene distances that are in sharp focus (depth of field) |
pair of focus distances in diopters: (near, |
>=0 |
If variable focus not supported, |
|
android. |
byte
[public]
|
Whether optical image stabilization is
enabled. |
android. |
Will not be supported on most devices. |
||
android. |
byte
[public]
|
Current lens status | ||||
noiseReduction | ||||||
controls | ||||||
Property Name | Type | Description | Units | Range | Notes | Tags |
android. |
byte
[public]
|
Mode of operation for the noise reduction algorithm |
android. |
|||
android. |
byte [system] | Control the amount of noise reduction applied to the images | 1-10; 10 is max noise reduction | 1 - 10 | ||
dynamic | ||||||
Property Name | Type | Description | Units | Range | Notes | Tags |
android. |
byte
[public]
|
Mode of operation for the noise reduction algorithm |
android. |
|||
quirks | ||||||
static | ||||||
Property Name | Type | Description | Units | Range | Notes | Tags |
android. |
byte [system] |
If set to 1, |
Normalized coordinates refer to those in the
(-1000, HAL implementations should instead always use and emit sensor array-relative coordinates for all region data. |
|||
android. |
byte [system] |
If set to 1, |
HAL implementations should implement AF trigger
modes for AUTO, |
|||
android. |
byte [system] |
If set to 1, |
HAL implementations should use gralloc usage flags
to determine that a stream will be used for
zero-shutter-lag, |
|||
android. |
byte [hidden] |
If set to 1, |
Does not need to be listed in static
metadata. |
|||
dynamic | ||||||
Property Name | Type | Description | Units | Range | Notes | Tags |
android. |
byte
[hidden as boolean]
|
Whether a result given to the framework is the
final one for the capture, |
Optional. |
The entries in the result metadata buffers for a
single capture may not overlap, |
||
request | ||||||
controls | ||||||
Property Name | Type | Description | Units | Range | Notes | Tags |
android. |
int32 [system] |
A frame counter set by the framework. |
incrementing integer | Any int | ||
android. |
int32 [hidden] |
An application-specified ID for the current
request. |
arbitrary integer assigned by application | Any int | ||
android. |
int32 x n [system] |
List which camera reprocess stream is used
for the source of reprocessing data. |
List of camera reprocess stream IDs |
Typically, |
Only meaningful when android. |
|
android. |
byte
[system]
|
How much metadata to produce on output | ||||
android. |
int32 x n [system] | Lists which camera output streams image data from this capture must be sent to | List of camera stream IDs | List must only include streams that have been created |
If no output streams are listed, |
|
android. |
byte
[system]
|
The type of the request; either CAPTURE or
REPROCESS. |
||||
static | ||||||
Property Name | Type | Description | Units | Range | Notes | Tags |
android. |
int32 x 3 [public] | How many output streams can be allocated at the same time for each type of stream |
The number of raw sensor streams; the number of
processed, |
>=1 for Raw and JPEG-compressed stream. |
Video snapshot with preview callbacks requires 3
processed streams (preview, |
|
android. |
int32 x 1 [system] | How many reprocessing streams of any type can be allocated at the same time | >= 1 | |||
dynamic | ||||||
Property Name | Type | Description | Units | Range | Notes | Tags |
android. |
int32 [public] |
A frame counter set by the framework. |
count of frames | > 0 | Reset on release() | |
android. |
int32 [hidden] |
An application-specified ID for the current
request. |
arbitrary integer assigned by application | Any int | ||
android. |
byte
[system]
|
How much metadata to produce on output | ||||
android. |
int32 x n [system] | Lists which camera output streams image data from this capture must be sent to | List of camera stream IDs | List must only include streams that have been created |
If no output streams are listed, |
|
scaler | ||||||
controls | ||||||
Property Name | Type | Description | Units | Range | Notes | Tags |
android. |
int32 x 4 [public as rectangle] |
(x, A rectangle with the top-level corner of (x, HAL2. |
(x, |
Any additional per-stream cropping must be done to
maximize the final pixel area of the stream. For example, Conversely, The output streams must maintain square pixels at all times, |
||
static | ||||||
Property Name | Type | Description | Units | Range | Notes | Tags |
android. |
int32
x
n
[public as imageFormat]
values from HAL_
|
List of app-visible formats | ||||
android. |
int64 x n [public] |
The minimum frame duration that is supported
for each resolution in availableJpegSizes. |
When multiple streams are configured, |
|||
android. |
int32 x n x 2 [public as size] |
The resolutions available for output from
the JPEG block. |
Must include: - sensor maximum resolution Should
include: - half/ |
|||
android. |
float [public] |
The maximum ratio between active area width
and crop region width, |
>=1 | |||
android. |
int64 x n [public] |
The minimum frame duration that is supported
for each resolution in availableProcessedSizes. |
When multiple streams are configured, |
|||
android. |
int32 x n x 2 [public as size] |
The resolutions available for use with
processed output streams, |
Must include: - sensor maximum resolution -
standard QCIF, |
The actual supported resolution list may be limited by
consumer end points for different use cases. |
||
android. |
int64 x n [system] |
The minimum frame duration that is supported
for each raw resolution in availableRawSizes. |
When multiple streams are configured, |
|||
android. |
int32 x n x 2 [system as size] |
The resolutions available for use with raw
sensor output streams, |
Must include: - sensor maximum resolution | |||
dynamic | ||||||
Property Name | Type | Description | Units | Range | Notes | Tags |
android. |
int32 x 4 [public as rectangle] |
(x, A rectangle with the top-level corner of (x, HAL2. |
(x, |
Any additional per-stream cropping must be done to
maximize the final pixel area of the stream. For example, Conversely, The output streams must maintain square pixels at all times, |
||
sensor | ||||||
controls | ||||||
Property Name | Type | Description | Units | Range | Notes | Tags |
android. |
int64 [public] |
Duration each pixel is exposed to
light. If the sensor can't expose this exact duration, |
nanoseconds |
android. |
1/ |
|
android. |
int64 [public] | Duration from start of frame exposure to start of next frame exposure | nanoseconds |
see android. |
Exposure time has priority, |
|
android. |
int32 [public] |
Gain applied to image data. If the sensor can't apply this exact gain, |
ISO arithmetic units |
android. |
ISO 12232:2006 REI method | |
static | ||||||
Property Name | Type | Description | Units | Range | Notes | Tags |
android. |
int32
x
4
[public as rectangle]
Four ints defining the active pixel rectangle
|
Area of raw data which corresponds to only
active pixels; smaller or equal to
pixelArraySize. |
xmin, |
|||
android. |
int32
x
2
[public]
Range of supported sensitivities
|
Range of valid sensitivities |
Min <= 100, |
|||
android. |
byte
[system]
|
Arrangement of color filters on sensor;
represents the colors in the top-left 2x2 section of
the sensor, |
||||
android. |
int64
x
2
[public]
nanoseconds
|
Range of valid exposure times |
Min <= 100e3 (100 us), |
|||
android. |
int64 [public] | Maximum possible frame duration (minimum frame rate) | nanoseconds | >= 30e9 |
Minimum duration is a function of resolution, |
|
android. |
float
x
2
[public]
width x height in millimeters
|
The physical dimensions of the full pixel array | Needed for FOV calculation for old API | |||
android. |
int32 x 2 [system as size] |
Dimensions of full pixel array, |
Maximum output resolution for raw format must
match this in
android. |
|||
android. |
int32 [system] | Maximum raw value output by sensor | > 1024 (10-bit output) | Defines sensor bit depth (10-14 bits is expected) | ||
android. |
rational [public] | Gain factor from electrons to raw units when ISO=100 | ||||
android. |
int32
x
4
[system]
2x2 raw count block
|
A fixed black level offset for each of the Bayer mosaic channels | >= 0 each |
As per DNG BlackLevelRepeatDim / |
||
android. |
rational
x
9
[system]
3x3 matrix in row-major-order
|
Per-device calibration on top of color space transform 1 | ||||
android. |
rational
x
9
[system]
3x3 matrix in row-major-order
|
Per-device calibration on top of color space transform 2 | ||||
android. |
rational
x
9
[system]
3x3 matrix in row-major-order
|
Linear mapping from XYZ (D50) color space to
reference linear sensor color, |
Use as follows XYZ = inv(transform) * clip( (raw -
black level(raw) ) / |
|||
android. |
rational
x
9
[system]
3x3 matrix in row-major-order
|
Linear mapping from XYZ (D50) color space to
reference linear sensor color, |
||||
android. |
rational
x
9
[system]
3x3 matrix in row-major-order
|
Used by DNG for better WB adaptation | ||||
android. |
rational
x
9
[system]
3x3 matrix in row-major-order
|
Used by DNG for better WB adaptation | ||||
android. |
int32 [public] | Maximum sensitivity that is implemented purely through analog gain |
For android. |
|||
android. |
float
x
2
[system]
float constants A,
|
Estimation of sensor noise characteristics |
var(raw pixel value) = electrons * (baseGainFactor
* iso/ |
A represents sensor read noise before analog
amplification; B represents noise from A/ |
||
android. |
int32 [public] |
Clockwise angle through which the output
image needs to be rotated to be upright on the device
screen in its native orientation. |
degrees clockwise rotation, |
0, |
||
android. |
byte
[system]
|
Light source used to define transform 1 | [EXIF LightSource tag] Must all these be supported? Need CCT for each! | |||
android. |
byte [system] | Light source used to define transform 2 | Same as illuminant 1 | |||
dynamic | ||||||
Property Name | Type | Description | Units | Range | Notes | Tags |
android. |
int64 [public] |
Duration each pixel is exposed to
light. If the sensor can't expose this exact duration, |
nanoseconds |
android. |
1/ |
|
android. |
int64 [public] | Duration from start of frame exposure to start of next frame exposure | nanoseconds |
see android. |
Exposure time has priority, |
|
android. |
int32 [public] |
Gain applied to image data. If the sensor can't apply this exact gain, |
ISO arithmetic units |
android. |
ISO 12232:2006 REI method | |
android. |
int64 [public] | Time at start of exposure of first row | nanoseconds | > 0 |
Monotonic, |
|
android. |
float [public] |
The temperature of the sensor, The thermal diode being queried should be inside the sensor PCB, |
celsius |
Optional. |
||
shading | ||||||
controls | ||||||
Property Name | Type | Description | Units | Range | Notes | Tags |
android. |
byte
[system]
|
Quality of lens shading correction applied to the image data | ||||
android. |
byte [system] | Control the amount of shading correction applied to the images | unitless: 1-10; 10 is full shading compensation | |||
dynamic | ||||||
Property Name | Type | Description | Units | Range | Notes | Tags |
android. |
byte
[system]
|
Quality of lens shading correction applied to the image data | ||||
statistics | ||||||
controls | ||||||
Property Name | Type | Description | Units | Range | Notes | Tags |
android. |
byte
[public]
|
State of the face detector unit |
android. |
Whether face detection is enabled, |
||
android. |
byte
[system as boolean]
|
Operating mode for histogram generation | ||||
android. |
byte
[system as boolean]
|
Operating mode for sharpness map generation | ||||
android. |
byte
[public]
|
Whether the HAL needs to output the lens shading map in output result metadata |
When set to ON, |
|||
static | ||||||
Property Name | Type | Description | Units | Range | Notes | Tags |
android. |
byte
x
n
[public]
List of enums from android.
|
Which face detection modes are available, |
List of enum: OFF SIMPLE FULL |
OFF means face detection is disabled, SIMPLE means the device supports the android. FULL means the device additionally supports the android. |
||
android. |
int32 [system] | Number of histogram buckets supported | >= 64 | |||
android. |
int32 [public] | Maximum number of simultaneously detectable faces |
>= 4 if availableFaceDetectionModes lists
modes besides OFF, |
|||
android. |
int32 [system] | Maximum value possible for a histogram bucket | ||||
android. |
int32 [system] |
Maximum value possible for a sharpness map
region. |
||||
android. |
int32
x
2
[system as size]
width x height
|
Dimensions of the sharpness map | Must be at least 32 x 32 | |||
dynamic | ||||||
Property Name | Type | Description | Units | Range | Notes | Tags |
android. |
byte
[public]
|
State of the face detector unit |
android. |
Whether face detection is enabled, |
||
android. |
int32 x n [public] | List of unique IDs for detected faces | Only available if faceDetectMode == FULL | |||
android. |
int32
x
n x 6
[public]
(leftEyeX,
|
List of landmarks for detected faces | Only available if faceDetectMode == FULL | |||
android. |
int32
x
n x 4
[public as rectangle]
(xmin,
|
List of the bounding rectangles for detected faces | Only available if faceDetectMode != OFF | |||
android. |
byte x n [public] | List of the face confidence scores for detected faces | 1-100 |
Only available if faceDetectMode != OFF. |
||
android. |
int32
x
n x 3
[system]
count of pixels for each color channel that fall into each histogram bucket,
|
A 3-channel histogram based on the raw sensor data |
The k'th bucket (0-based) covers the input range
(with w = android. |
|||
android. |
byte
[system as boolean]
|
Operating mode for histogram generation | ||||
android. |
int32
x
n x m x 3
[system]
estimated sharpness for each region of the input image.
|
A 3-channel sharpness map, |
If only a monochrome sharpness map is supported, |
|||
android. |
byte
[system as boolean]
|
Operating mode for sharpness map generation | ||||
android. |
float
x
4 x n x m
[public]
2D array of float gain factors per channel to correct lens shading
|
A low-resolution map of lens shading, |
Each gain factor is >= 1 |
Assume bilinear interpolation of map. When android. |
||
android. |
float
x
4
[public]
A 1D array of floats for 4 color channel gains
|
The best-fit color channel gains calculated by the HAL's statistics units for the current output frame |
This may be different than the gains used for this frame, The 4 channel gains are defined in Bayer domain, This value should always be calculated by the AWB block, |
|||
android. |
rational
x
3 x 3
[public]
3x3 rational matrix in row-major order
|
The best-fit color transform matrix estimate calculated by the HAL's statistics units for the current output frame |
The HAL must provide the estimate from its
statistics unit on the white balance transforms to use
for the next frame. These estimates must be provided for all frames, This value should always be calculated by the AWB block, |
|||
android. |
byte
[public]
|
The HAL estimated scene illumination lighting frequency | Report NONE if there doesn't appear to be flickering illumination | |||
tonemap | ||||||
controls | ||||||
Property Name | Type | Description | Units | Range | Notes | Tags |
android. |
float
x
n x 2
[public]
1D array of float pairs (P_
|
Table mapping blue input values to output values |
same as android. |
same as android. |
Tonemapping / See android. |
|
android. |
float
x
n x 2
[public]
1D array of float pairs (P_
|
Table mapping green input values to output values |
same as android. |
same as android. |
Tonemapping / See android. |
|
android. |
float
x
n x 2
[public]
1D array of float pairs (P_
|
Table mapping red input values to output values |
0-1 on input and output coordinates. |
Tonemapping / Since the input and output ranges may vary depending on the camera pipeline, The curve should be linearly interpolated between the defined points. |
||
android. |
byte
[public]
|
|||||
static | ||||||
Property Name | Type | Description | Units | Range | Notes | Tags |
android. |
int32 [public] | Maximum number of supported points in the tonemap curve | >= 128 | |||
dynamic | ||||||
Property Name | Type | Description | Units | Range | Notes | Tags |
android. |
float
x
n x 2
[public]
1D array of float pairs (P_
|
Table mapping blue input values to output values |
same as android. |
same as android. |
Tonemapping / See android. |
|
android. |
float
x
n x 2
[public]
1D array of float pairs (P_
|
Table mapping green input values to output values |
same as android. |
same as android. |
Tonemapping / See android. |
|
android. |
float
x
n x 2
[public]
1D array of float pairs (P_
|
Table mapping red input values to output values |
0-1 on input and output coordinates. |
Tonemapping / Since the input and output ranges may vary depending on the camera pipeline, The curve should be linearly interpolated between the defined points. |
||
android. |
byte
[public]
|
|||||
led | ||||||
controls | ||||||
Property Name | Type | Description | Units | Range | Notes | Tags |
android. |
byte
[hidden as boolean]
|
This LED is nominally used to indicate to the user
that the camera is powered on and may be streaming images back to the
Application Processor. In particular, The LED *may* be off if a trusted application is using the data that doesn't violate the above rules. |
||||
dynamic | ||||||
Property Name | Type | Description | Units | Range | Notes | Tags |
android. |
byte
[hidden as boolean]
|
This LED is nominally used to indicate to the user
that the camera is powered on and may be streaming images back to the
Application Processor. In particular, The LED *may* be off if a trusted application is using the data that doesn't violate the above rules. |
||||
static | ||||||
Property Name | Type | Description | Units | Range | Notes | Tags |
android. |
byte
x
n
[hidden]
|
A list of camera LEDs that are available on this system. |
||||
info | ||||||
static | ||||||
Property Name | Type | Description | Units | Range | Notes | Tags |
android. |
byte
[public]
|
The camera 3 HAL device can implement one of two possible
operational modes; limited and full. For full details refer to "S3. |
Optional. |
|||
blackLevel | ||||||
controls | ||||||
Property Name | Type | Description | Units | Range | Notes | Tags |
android. |
byte
[public as boolean]
|
Whether black-level compensation is locked
to its current values, |
When set to ON, Since changes to certain capture parameters (such as exposure time) may require resetting of black level compensation, The black level locking must happen at the sensor, |
|||
dynamic | ||||||
Property Name | Type | Description | Units | Range | Notes | Tags |
android. |
byte
[public as boolean]
|
Whether black-level compensation is locked
to its current values, |
When set to ON, Since changes to certain capture parameters (such as exposure time) may require resetting of black level compensation, The black level locking must happen at the sensor, |