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

Commit bc01db42 authored by Zhijun He's avatar Zhijun He
Browse files

Camera: remove some DNG tags

Change-Id: I878e26414dcf5cedbcfd8c505b0c507f4548c035
parent b6d9211d
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -11853,7 +11853,6 @@ package android.hardware.camera2 {
    field public static final android.hardware.camera2.CameraMetadata.Key SENSOR_INFO_WHITE_LEVEL;
    field public static final android.hardware.camera2.CameraMetadata.Key SENSOR_MAX_ANALOG_SENSITIVITY;
    field public static final android.hardware.camera2.CameraMetadata.Key SENSOR_ORIENTATION;
    field public static final android.hardware.camera2.CameraMetadata.Key SENSOR_PROFILE_HUE_SAT_MAP_DIMENSIONS;
    field public static final android.hardware.camera2.CameraMetadata.Key SENSOR_REFERENCE_ILLUMINANT1;
    field public static final android.hardware.camera2.CameraMetadata.Key SENSOR_REFERENCE_ILLUMINANT2;
    field public static final android.hardware.camera2.CameraMetadata.Key STATISTICS_INFO_AVAILABLE_FACE_DETECT_MODES;
@@ -12235,8 +12234,6 @@ package android.hardware.camera2 {
    field public static final android.hardware.camera2.CameraMetadata.Key SENSOR_FRAME_DURATION;
    field public static final android.hardware.camera2.CameraMetadata.Key SENSOR_GREEN_SPLIT;
    field public static final android.hardware.camera2.CameraMetadata.Key SENSOR_NEUTRAL_COLOR_POINT;
    field public static final android.hardware.camera2.CameraMetadata.Key SENSOR_PROFILE_HUE_SAT_MAP;
    field public static final android.hardware.camera2.CameraMetadata.Key SENSOR_PROFILE_TONE_CURVE;
    field public static final android.hardware.camera2.CameraMetadata.Key SENSOR_SENSITIVITY;
    field public static final android.hardware.camera2.CameraMetadata.Key SENSOR_TEMPERATURE;
    field public static final android.hardware.camera2.CameraMetadata.Key SENSOR_TEST_PATTERN_DATA;
+0 −14
Original line number Diff line number Diff line
@@ -1276,20 +1276,6 @@ public final class CameraCharacteristics extends CameraMetadata {
    public static final Key<Integer> SENSOR_ORIENTATION =
            new Key<Integer>("android.sensor.orientation", int.class);

    /**
     * <p>The number of input samples for each dimension of
     * {@link CaptureResult#SENSOR_PROFILE_HUE_SAT_MAP android.sensor.profileHueSatMap}.</p>
     * <p>The number of input samples for the hue, saturation, and value
     * dimension of {@link CaptureResult#SENSOR_PROFILE_HUE_SAT_MAP android.sensor.profileHueSatMap}. The order of the
     * dimensions given is hue, saturation, value; where hue is the 0th
     * element.</p>
     * <p><b>Optional</b> - This value may be {@code null} on some devices.</p>
     *
     * @see CaptureResult#SENSOR_PROFILE_HUE_SAT_MAP
     */
    public static final Key<int[]> SENSOR_PROFILE_HUE_SAT_MAP_DIMENSIONS =
            new Key<int[]>("android.sensor.profileHueSatMapDimensions", int[].class);

    /**
     * <p>Optional. Defaults to [OFF]. Lists the supported test
     * pattern modes for {@link CaptureRequest#SENSOR_TEST_PATTERN_MODE android.sensor.testPatternMode}.</p>
+0 −30
Original line number Diff line number Diff line
@@ -1905,36 +1905,6 @@ public final class CaptureResult extends CameraMetadata {
    public static final Key<Rational[]> SENSOR_NEUTRAL_COLOR_POINT =
            new Key<Rational[]>("android.sensor.neutralColorPoint", Rational[].class);

    /**
     * <p>A mapping containing a hue shift, saturation scale, and value scale
     * for each pixel.</p>
     * <p>hue_samples, saturation_samples, and value_samples are given in
     * {@link CameraCharacteristics#SENSOR_PROFILE_HUE_SAT_MAP_DIMENSIONS android.sensor.profileHueSatMapDimensions}.</p>
     * <p>Each entry of this map contains three floats corresponding to the
     * hue shift, saturation scale, and value scale, respectively; where the
     * hue shift has the lowest index. The map entries are stored in the tag
     * in nested loop order, with the value divisions in the outer loop, the
     * hue divisions in the middle loop, and the saturation divisions in the
     * inner loop. All zero input saturation entries are required to have a
     * value scale factor of 1.0.</p>
     * <p><b>Optional</b> - This value may be {@code null} on some devices.</p>
     *
     * @see CameraCharacteristics#SENSOR_PROFILE_HUE_SAT_MAP_DIMENSIONS
     */
    public static final Key<float[]> SENSOR_PROFILE_HUE_SAT_MAP =
            new Key<float[]>("android.sensor.profileHueSatMap", float[].class);

    /**
     * <p>A list of x,y samples defining a tone-mapping curve for gamma adjustment.</p>
     * <p>This tag contains a default tone curve that can be applied while
     * processing the image as a starting point for user adjustments.
     * The curve is specified as a list of value pairs in linear gamma.
     * The curve is interpolated using a cubic spline.</p>
     * <p><b>Optional</b> - This value may be {@code null} on some devices.</p>
     */
    public static final Key<float[]> SENSOR_PROFILE_TONE_CURVE =
            new Key<float[]>("android.sensor.profileToneCurve", float[].class);

    /**
     * <p>The worst-case divergence between Bayer green channels.</p>
     * <p>This value is an estimate of the worst case split between the