From d5ff06a2ce4a65615ce5e8b8df93f2c3da2a8bbd Mon Sep 17 00:00:00 2001
From: Igor Murashkin
+ * When android.sensor.awbMode is not OFF, TRANSFORM_MATRIX
+ * should be ignored.
+ *
* In the latter case, the HAL may round the matrix to account * for precision issues; the final rounded matrix should be * reported back in this matrix result metadata. @@ -220,6 +225,11 @@ public final class CaptureRequest extends CameraMetadata implements Parcelable { * it should use the G_even value,and write G_odd equal to * G_even in the output result metadata. *
+ * This array is either set by HAL when the request + * android.colorCorrection.mode is not TRANSFORM_MATRIX, or + * directly by the application in the request when the + * android.colorCorrection.mode is TRANSFORM_MATRIX. + *
* The ouput should be the gains actually applied by the HAL to * the current frame. *
@@ -781,7 +791,10 @@ public final class CaptureRequest extends CameraMetadata implements Parcelable { /** ** Duration each pixel is exposed to - * light + * light. + *
+ * If the sensor can't expose this exact duration, it should shorten the + * duration exposed to the nearest possible value (rather than expose longer). *
** 1/10000 - 30 sec range. No bulb mode @@ -808,6 +821,9 @@ public final class CaptureRequest extends CameraMetadata implements Parcelable { * Gain applied to image data. Must be * implemented through analog gain only if set to values * below 'maximum analog sensitivity'. + *
+ * If the sensor can't apply this exact gain, it should lessen the + * gain to the nearest possible value (rather than gain more). *
** ISO 12232:2006 REI method @@ -913,6 +929,13 @@ public final class CaptureRequest extends CameraMetadata implements Parcelable { * compensation, the HAL must report whether setting the * black level lock was successful in the output result * metadata. + *
+ * The black level locking must happen at the sensor, and not at the ISP. + * If for some reason black level locking is no longer legal (for example, + * the analog gain has changed, which forces black levels to be + * recalculated), then the HAL is free to override this request (and it + * must report 'OFF' when this does happen) until the next time locking + * is legal again. *
*/ public static final Key* In the latter case, the HAL may round the matrix to account * for precision issues; the final rounded matrix should be * reported back in this matrix result metadata. @@ -161,6 +162,11 @@ public final class CaptureResult extends CameraMetadata { * it should use the G_even value,and write G_odd equal to * G_even in the output result metadata. *
+ * This array is either set by HAL when the request + * android.colorCorrection.mode is not TRANSFORM_MATRIX, or + * directly by the application in the request when the + * android.colorCorrection.mode is TRANSFORM_MATRIX. + *
* The ouput should be the gains actually applied by the HAL to * the current frame. *
@@ -651,7 +657,10 @@ public final class CaptureResult extends CameraMetadata { /** ** Duration each pixel is exposed to - * light + * light. + *
+ * If the sensor can't expose this exact duration, it should shorten the + * duration exposed to the nearest possible value (rather than expose longer). *
** 1/10000 - 30 sec range. No bulb mode @@ -678,6 +687,9 @@ public final class CaptureResult extends CameraMetadata { * Gain applied to image data. Must be * implemented through analog gain only if set to values * below 'maximum analog sensitivity'. + *
+ * If the sensor can't apply this exact gain, it should lessen the + * gain to the nearest possible value (rather than gain more). *
*
* ISO 12232:2006 REI method
@@ -699,6 +711,18 @@ public final class CaptureResult extends CameraMetadata {
public static final Key
+ * The temperature of the sensor, sampled at the time
+ * exposure began for this frame.
+ *
+ * The thermal diode being queried should be inside the sensor PCB, or
+ * somewhere close to it.
+ *
* State of the face detector
@@ -759,7 +783,8 @@ public final class CaptureResult extends CameraMetadata {
* detected faces
*
- * Only available if faceDetectMode != OFF
+ * Only available if faceDetectMode != OFF. The value should be
+ * meaningful (for example, setting 100 at all times is illegal).
*
+ * When android.colorCorrection.mode = TRANSFORM_MATRIX, the map + * must take into account the colorCorrection settings. *
*/ public static final Key* The 4 channel gains are defined in Bayer domain, * see android.colorCorrection.gains for details. + *
+ * This value should always be calculated by the AWB block, + * regardless of the android.control.* current values. *
*/ public static final Key* These estimates must be provided for all frames, even if * capture settings and color transforms are set by the application. + *
+ * This value should always be calculated by the AWB block, + * regardless of the android.control.* current values. *
*/ public static final Key+ * The black level locking must happen at the sensor, and not at the ISP. + * If for some reason black level locking is no longer legal (for example, + * the analog gain has changed, which forces black levels to be + * recalculated), then the HAL is free to override this request (and it + * must report 'OFF' when this does happen) until the next time locking + * is legal again. *
*/ public static final Key