From 2807936f5dfdeff25e9ace3482100511a69dcf13 Mon Sep 17 00:00:00 2001 From: Zhijun He Date: Tue, 17 Dec 2013 10:35:40 -0800 Subject: Camera2: Update metadata java docs Java docs for below keys are updated: - android.edge.mode - android.noiseReduction.mode Bug: 12135317 Change-Id: I950d46b90ece2f519e33719427801fc78b36b39c --- core/java/android/hardware/camera2/CameraMetadata.java | 8 ++++---- core/java/android/hardware/camera2/CaptureRequest.java | 14 ++++++++++++++ core/java/android/hardware/camera2/CaptureResult.java | 14 ++++++++++++++ 3 files changed, 32 insertions(+), 4 deletions(-) diff --git a/core/java/android/hardware/camera2/CameraMetadata.java b/core/java/android/hardware/camera2/CameraMetadata.java index 67994cb60c1a..f56feaac5c8f 100644 --- a/core/java/android/hardware/camera2/CameraMetadata.java +++ b/core/java/android/hardware/camera2/CameraMetadata.java @@ -758,8 +758,8 @@ public abstract class CameraMetadata { public static final int EDGE_MODE_OFF = 0; /** - *

Must not slow down frame rate relative to raw - * bayer output

+ *

Must not slow down frame rate relative to sensor + * output

* @see CaptureRequest#EDGE_MODE */ public static final int EDGE_MODE_FAST = 1; @@ -823,8 +823,8 @@ public abstract class CameraMetadata { public static final int NOISE_REDUCTION_MODE_OFF = 0; /** - *

Must not slow down frame rate relative to raw - * bayer output

+ *

Must not slow down frame rate relative to sensor + * output

* @see CaptureRequest#NOISE_REDUCTION_MODE */ public static final int NOISE_REDUCTION_MODE_FAST = 1; diff --git a/core/java/android/hardware/camera2/CaptureRequest.java b/core/java/android/hardware/camera2/CaptureRequest.java index 60b2801c54ab..e47567b268ad 100644 --- a/core/java/android/hardware/camera2/CaptureRequest.java +++ b/core/java/android/hardware/camera2/CaptureRequest.java @@ -652,6 +652,13 @@ public final class CaptureRequest extends CameraMetadata implements Parcelable { /** *

Operation mode for edge * enhancement

+ *

Edge/sharpness/detail enhancement. OFF means no + * enhancement will be applied by the HAL.

+ *

FAST/HIGH_QUALITY both mean HAL-determined enhancement + * will be applied. HIGH_QUALITY mode indicates that the + * HAL should use the highest-quality enhancement algorithms, + * even if it slows down capture rate. FAST means the HAL should + * not slow down capture rate when applying edge enhancement.

* @see #EDGE_MODE_OFF * @see #EDGE_MODE_FAST * @see #EDGE_MODE_HIGH_QUALITY @@ -764,6 +771,13 @@ public final class CaptureRequest extends CameraMetadata implements Parcelable { /** *

Mode of operation for the noise reduction * algorithm

+ *

Noise filtering control. OFF means no noise reduction + * will be applied by the HAL.

+ *

FAST/HIGH_QUALITY both mean HAL-determined noise filtering + * will be applied. HIGH_QUALITY mode indicates that the HAL + * should use the highest-quality noise filtering algorithms, + * even if it slows down capture rate. FAST means the HAL should not + * slow down capture rate when applying noise filtering.

* @see #NOISE_REDUCTION_MODE_OFF * @see #NOISE_REDUCTION_MODE_FAST * @see #NOISE_REDUCTION_MODE_HIGH_QUALITY diff --git a/core/java/android/hardware/camera2/CaptureResult.java b/core/java/android/hardware/camera2/CaptureResult.java index 54c69ec242fb..6119fa4b2957 100644 --- a/core/java/android/hardware/camera2/CaptureResult.java +++ b/core/java/android/hardware/camera2/CaptureResult.java @@ -348,6 +348,13 @@ public final class CaptureResult extends CameraMetadata { /** *

Operation mode for edge * enhancement

+ *

Edge/sharpness/detail enhancement. OFF means no + * enhancement will be applied by the HAL.

+ *

FAST/HIGH_QUALITY both mean HAL-determined enhancement + * will be applied. HIGH_QUALITY mode indicates that the + * HAL should use the highest-quality enhancement algorithms, + * even if it slows down capture rate. FAST means the HAL should + * not slow down capture rate when applying edge enhancement.

* @see #EDGE_MODE_OFF * @see #EDGE_MODE_FAST * @see #EDGE_MODE_HIGH_QUALITY @@ -487,6 +494,13 @@ public final class CaptureResult extends CameraMetadata { /** *

Mode of operation for the noise reduction * algorithm

+ *

Noise filtering control. OFF means no noise reduction + * will be applied by the HAL.

+ *

FAST/HIGH_QUALITY both mean HAL-determined noise filtering + * will be applied. HIGH_QUALITY mode indicates that the HAL + * should use the highest-quality noise filtering algorithms, + * even if it slows down capture rate. FAST means the HAL should not + * slow down capture rate when applying noise filtering.

* @see #NOISE_REDUCTION_MODE_OFF * @see #NOISE_REDUCTION_MODE_FAST * @see #NOISE_REDUCTION_MODE_HIGH_QUALITY -- cgit v1.2.3-59-g8ed1b