Documentation for this section has not yet been entered.
Duration from start of frame exposure to start of next frame exposure.
The maximum frame rate that can be supported by a camera subsystem is a function of many factors:
Since these factors can vary greatly between different ISPs and sensors, the camera abstraction tries to represent the bandwidth restrictions with as simple a model as possible.
The model presented has the following characteristics:
The necessary information for the application, given the model above, is provided via the CameraCharacteristics.ScalerStreamConfigurationMap field using StreamConfigurationMap#getOutputMinFrameDuration(int, Size). These are used to determine the maximum frame rate / minimum frame duration that is possible for a given stream configuration.
Specifically, the application can use the following rules to determine the minimum frame duration it can request from the camera device:
If none of the streams in S_r have a stall time (listed in StreamConfigurationMap#getOutputStallDuration(int,Size) using its respective size/format), then the frame duration in F determines the steady state frame rate that the application will get if it uses R as a repeating request. Let this special kind of request be called Rsimple.
A repeating request Rsimple can be occasionally interleaved by a single capture of a new request Rstall (which has at least one in-use stream with a non-0 stall time) and if Rstall has the same minimum frame duration this will not cause a frame rate loss if all buffers from the previous Rstall have already been delivered.
For more details about stalling, see StreamConfigurationMap#getOutputStallDuration(int,Size).
This control is only effective if CaptureRequest.ControlAeMode or CaptureRequest.ControlMode is set to OFF; otherwise the auto-exposure algorithm will override this value.
Units: Nanoseconds
Range of valid values:
See CameraCharacteristics.SensorInfoMaxFrameDuration,
CameraCharacteristics.ScalerStreamConfigurationMap. The duration
is capped to max(duration, exposureTime + overhead).
Optional - This value may be null on some devices.
Full capability - Present on all camera devices that report being CameraMetadata.INFO_SUPPORTED_HARDWARE_LEVEL_FULL devices in the CameraCharacteristics.InfoSupportedHardwareLevel key