QCamera2/HAL3: Fill fps_range structure as per HFR use cases
fps_range.video_fps is used by 3A/Sensor to pick the sensor mode.
Set this fps based on aeTargetFpsRange according to the HFR usecase:
- Camcorder preview before the first recording (video stream
is not present in the configure_streams)
- Camcorder preview after the first recording (video stream is
present in the configure streams but the video buffer is not
is not requested in the process capture request)
- Video recording
This change also reduces the number of times the request->settings
is parsed in HFR mode to once per batch.
Bug: 21950976
Change-Id: Id656c5c0e0f9152d43fafcccb9e655727a2255e8
2 files changed