From 20c76f67585172684729d701586a4a294d67f0a1 Mon Sep 17 00:00:00 2001 From: Ruben Brunk Date: Fri, 7 Feb 2014 15:47:10 -0800 Subject: camera3: Add camera neutral tag. Change-Id: Ia7e8c444256ce2a587ce708c2e6e951dec9bbdc8 --- core/java/android/hardware/camera2/CaptureResult.java | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'core') diff --git a/core/java/android/hardware/camera2/CaptureResult.java b/core/java/android/hardware/camera2/CaptureResult.java index 160b6fc..543ce21 100644 --- a/core/java/android/hardware/camera2/CaptureResult.java +++ b/core/java/android/hardware/camera2/CaptureResult.java @@ -1440,6 +1440,16 @@ public final class CaptureResult extends CameraMetadata { new Key("android.sensor.temperature", float.class); /** + *

The estimated white balance at the time of capture.

+ *

The estimated white balance encoded as the RGB values of the + * perfectly neutral color point in the linear native sensor color space. + * The order of the values is R, G, B; where R is in the lowest index.

+ *

Optional - This value may be {@code null} on some devices.

+ */ + public static final Key SENSOR_NEUTRAL_COLOR_POINT = + new Key("android.sensor.neutralColorPoint", Rational[].class); + + /** *

When enabled, the sensor sends a test pattern instead of * doing a real exposure from the camera.

*

When a test pattern is enabled, all manual sensor controls specified -- cgit v1.1