From 3fe1ef18dd7bd734af80e80b15cbc2e84bdfcdec Mon Sep 17 00:00:00 2001 From: Rucha Katakwar Date: Tue, 8 Mar 2022 15:10:40 -0800 Subject: [PATCH] Update getHighSpeedVideoFpsRanges API doc. bug: 189383363 Change-Id: Idf1eb85a737adc6e6dbd0f007e7e9f311af7db6f --- .../hardware/camera2/params/StreamConfigurationMap.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/core/java/android/hardware/camera2/params/StreamConfigurationMap.java b/core/java/android/hardware/camera2/params/StreamConfigurationMap.java index d9734b4934712..5981d279227d9 100644 --- a/core/java/android/hardware/camera2/params/StreamConfigurationMap.java +++ b/core/java/android/hardware/camera2/params/StreamConfigurationMap.java @@ -781,10 +781,11 @@ public final class StreamConfigurationMap { *
  • The fpsMin and fpsMax will be a multiple 30fps.
  • *
  • The fpsMin will be no less than 30fps, the fpsMax will be no less than 120fps.
  • *
  • At least one range will be a fixed FPS range where fpsMin == fpsMax.
  • - *
  • For each fixed FPS range, there will be one corresponding variable FPS range [30, - * fps_max]. These kinds of FPS ranges are suitable for preview-only use cases where the - * application doesn't want the camera device always produce higher frame rate than the display - * refresh rate.
  • + *
  • For each fixed FPS range, there will be one corresponding variable FPS range + * [30, fps_max] or [60, fps_max]. These kinds of FPS ranges are suitable for preview-only + * use cases where the application doesn't want the camera device always produce higher frame + * rate than the display refresh rate. Both 30fps and 60fps preview rate will not be + * supported for the same recording rate.
  • *

    * * @return an array of supported high speed video recording FPS ranges The upper bound of