From 5855162f80afa39b6fe5e52eddf91613fd6da067 Mon Sep 17 00:00:00 2001
From: Yin-Chia Yeh
Date: Thu, 21 May 2015 11:27:06 -0700
Subject: [PATCH] Camera2: update FpsRange requirement
Codegen doc update only.
Bug:13639914
Change-Id: Id8a4a237c409725831a65b4f134422cd261cad52
---
.../camera2/CameraCharacteristics.java | 22 +++++++++++++++++--
1 file changed, 20 insertions(+), 2 deletions(-)
diff --git a/core/java/android/hardware/camera2/CameraCharacteristics.java b/core/java/android/hardware/camera2/CameraCharacteristics.java
index d3b63f9d0f14a..7874c280888af 100644
--- a/core/java/android/hardware/camera2/CameraCharacteristics.java
+++ b/core/java/android/hardware/camera2/CameraCharacteristics.java
@@ -375,8 +375,26 @@ public final class CameraCharacteristics extends CameraMetadataList of frame rate ranges for {@link CaptureRequest#CONTROL_AE_TARGET_FPS_RANGE android.control.aeTargetFpsRange} supported by
* this camera device.
- * For devices at the LIMITED level or above, this list will include at least (30, 30) for
- * constant-framerate recording.
+ * For devices at the LEGACY level or above:
+ *
+ * - This list will always include (30, 30).
+ * - Also, for constant-framerate recording, for each normal
+ * {@link android.media.CamcorderProfile CamcorderProfile} that has
+ * {@link android.media.CamcorderProfile#quality quality} in
+ * the range [{@link android.media.CamcorderProfile#QUALITY_LOW QUALITY_LOW},
+ * {@link android.media.CamcorderProfile#QUALITY_2160P QUALITY_2160P}], if the profile is
+ * supported by the device and has
+ * {@link android.media.CamcorderProfile#videoFrameRate videoFrameRate}
x, this list will
+ * always include (x,x).
+ * - For preview streaming use case, this list will always include (
min, max) where
+ * min <= 15 and max >= 30.
+ *
+ * For devices at the LIMITED level or above:
+ *
+ * - For YUV_420_888 burst capture use case, this list will always include (
min, max)
+ * and (max, max) where min <= 15 and max = the maximum output frame rate of the
+ * maximum YUV_420_888 output size.
+ *
* Units: Frames per second (FPS)
* This key is available on all devices.
*