diff options
author | Zhijun He <zhijunhe@google.com> | 2014-06-13 14:38:39 -0700 |
---|---|---|
committer | Zhijun He <zhijunhe@google.com> | 2014-06-13 14:38:39 -0700 |
commit | 0bda31afe06a05144a31ce47adbc54694ec24228 (patch) | |
tree | 27753cfcd3a89b3974eeb498ff2640f6f0e7323e /core/java/android/hardware | |
parent | e31d9438dbea96f6a02a6e3c2a9315fc157a2b4b (diff) | |
download | frameworks_base-0bda31afe06a05144a31ce47adbc54694ec24228.zip frameworks_base-0bda31afe06a05144a31ce47adbc54694ec24228.tar.gz frameworks_base-0bda31afe06a05144a31ce47adbc54694ec24228.tar.bz2 |
Camera2: Add rollingShutterSkew tag
Change-Id: Icbedaeda9fc64a9dda509493ad9d14569c56cd18
Diffstat (limited to 'core/java/android/hardware')
-rw-r--r-- | core/java/android/hardware/camera2/CaptureResult.java | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/core/java/android/hardware/camera2/CaptureResult.java b/core/java/android/hardware/camera2/CaptureResult.java index 3d17ed3..01fea54 100644 --- a/core/java/android/hardware/camera2/CaptureResult.java +++ b/core/java/android/hardware/camera2/CaptureResult.java @@ -2114,7 +2114,7 @@ public class CaptureResult extends CameraMetadata<CaptureResult.Key<?>> { /** * <p>Time at start of exposure of first - * row of the image sensor, in nanoseconds.</p> + * row of the image sensor active array, in nanoseconds.</p> * <p>The timestamps are also included in all image * buffers produced for the same capture, and will be identical * on all the outputs. The timestamps measure time since an @@ -2215,6 +2215,20 @@ public class CaptureResult extends CameraMetadata<CaptureResult.Key<?>> { new Key<Integer>("android.sensor.testPatternMode", int.class); /** + * <p>Duration between the start of first row exposure + * and the start of last row exposure.</p> + * <p>This is the exposure time skew (in the unit of nanosecond) between the first and + * last row exposure start times. The first row and the last row are the first + * and last rows inside of the {@link CameraCharacteristics#SENSOR_INFO_ACTIVE_ARRAY_SIZE android.sensor.info.activeArraySize}.</p> + * <p>For typical camera sensors that use rolling shutters, this is also equivalent + * to the frame readout time.</p> + * + * @see CameraCharacteristics#SENSOR_INFO_ACTIVE_ARRAY_SIZE + */ + public static final Key<Long> SENSOR_ROLLING_SHUTTER_SKEW = + new Key<Long>("android.sensor.rollingShutterSkew", long.class); + + /** * <p>Quality of lens shading correction applied * to the image data.</p> * <p>When set to OFF mode, no lens shading correction will be applied by the |