Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0cb41fd5 authored by Zhijun He's avatar Zhijun He Committed by Android (Google) Code Review
Browse files

Merge "Camera2: Add rollingShutterSkew tag"

parents 2b3818e9 0bda31af
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -12663,6 +12663,7 @@ package android.hardware.camera2 {
    field public static final android.hardware.camera2.CaptureResult.Key SENSOR_FRAME_DURATION;
    field public static final android.hardware.camera2.CaptureResult.Key SENSOR_GREEN_SPLIT;
    field public static final android.hardware.camera2.CaptureResult.Key SENSOR_NEUTRAL_COLOR_POINT;
    field public static final android.hardware.camera2.CaptureResult.Key SENSOR_ROLLING_SHUTTER_SKEW;
    field public static final android.hardware.camera2.CaptureResult.Key SENSOR_SENSITIVITY;
    field public static final android.hardware.camera2.CaptureResult.Key SENSOR_TEST_PATTERN_DATA;
    field public static final android.hardware.camera2.CaptureResult.Key SENSOR_TEST_PATTERN_MODE;
+15 −1
Original line number Diff line number Diff line
@@ -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
@@ -2214,6 +2214,20 @@ public class CaptureResult extends CameraMetadata<CaptureResult.Key<?>> {
    public static final Key<Integer> SENSOR_TEST_PATTERN_MODE =
            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>