hal3: Add missing available mode tags.
Change-Id: I588aacade5c5638967970e2e7eb04924c0ea9cc7
This commit is contained in:
@@ -11294,6 +11294,7 @@ package android.hardware.camera2 {
|
||||
field public static final android.hardware.camera2.CameraMetadata.Key CONTROL_AVAILABLE_VIDEO_STABILIZATION_MODES;
|
||||
field public static final android.hardware.camera2.CameraMetadata.Key CONTROL_AWB_AVAILABLE_MODES;
|
||||
field public static final android.hardware.camera2.CameraMetadata.Key CONTROL_MAX_REGIONS;
|
||||
field public static final android.hardware.camera2.CameraMetadata.Key EDGE_AVAILABLE_EDGE_MODES;
|
||||
field public static final android.hardware.camera2.CameraMetadata.Key FLASH_INFO_AVAILABLE;
|
||||
field public static final android.hardware.camera2.CameraMetadata.Key HOT_PIXEL_AVAILABLE_HOT_PIXEL_MODES;
|
||||
field public static final android.hardware.camera2.CameraMetadata.Key INFO_SUPPORTED_HARDWARE_LEVEL;
|
||||
@@ -11307,6 +11308,7 @@ package android.hardware.camera2 {
|
||||
field public static final android.hardware.camera2.CameraMetadata.Key LENS_INFO_HYPERFOCAL_DISTANCE;
|
||||
field public static final android.hardware.camera2.CameraMetadata.Key LENS_INFO_MINIMUM_FOCUS_DISTANCE;
|
||||
field public static final android.hardware.camera2.CameraMetadata.Key LENS_INFO_SHADING_MAP_SIZE;
|
||||
field public static final android.hardware.camera2.CameraMetadata.Key NOISE_REDUCTION_AVAILABLE_NOISE_REDUCTION_MODES;
|
||||
field public static final android.hardware.camera2.CameraMetadata.Key REQUEST_AVAILABLE_CAPABILITIES;
|
||||
field public static final android.hardware.camera2.CameraMetadata.Key REQUEST_MAX_NUM_INPUT_STREAMS;
|
||||
field public static final android.hardware.camera2.CameraMetadata.Key REQUEST_MAX_NUM_OUTPUT_STREAMS;
|
||||
@@ -11339,6 +11341,7 @@ package android.hardware.camera2 {
|
||||
field public static final android.hardware.camera2.CameraMetadata.Key STATISTICS_INFO_AVAILABLE_HOT_PIXEL_MAP_MODES;
|
||||
field public static final android.hardware.camera2.CameraMetadata.Key STATISTICS_INFO_MAX_FACE_COUNT;
|
||||
field public static final android.hardware.camera2.CameraMetadata.Key SYNC_MAX_LATENCY;
|
||||
field public static final android.hardware.camera2.CameraMetadata.Key TONEMAP_AVAILABLE_TONE_MAP_MODES;
|
||||
field public static final android.hardware.camera2.CameraMetadata.Key TONEMAP_MAX_CURVE_POINTS;
|
||||
}
|
||||
|
||||
|
||||
@@ -270,6 +270,16 @@ public final class CameraCharacteristics extends CameraMetadata {
|
||||
public static final Key<int[]> CONTROL_MAX_REGIONS =
|
||||
new Key<int[]>("android.control.maxRegions", int[].class);
|
||||
|
||||
/**
|
||||
* <p>The set of edge enhancement modes supported by this camera device.</p>
|
||||
* <p>This tag lists the valid modes for {@link CaptureRequest#EDGE_MODE android.edge.mode}.</p>
|
||||
* <p>Full-capability camera devices must always support OFF and FAST.</p>
|
||||
*
|
||||
* @see CaptureRequest#EDGE_MODE
|
||||
*/
|
||||
public static final Key<byte[]> EDGE_AVAILABLE_EDGE_MODES =
|
||||
new Key<byte[]>("android.edge.availableEdgeModes", byte[].class);
|
||||
|
||||
/**
|
||||
* <p>Whether this camera device has a
|
||||
* flash.</p>
|
||||
@@ -416,6 +426,16 @@ public final class CameraCharacteristics extends CameraMetadata {
|
||||
public static final Key<Integer> LENS_FACING =
|
||||
new Key<Integer>("android.lens.facing", int.class);
|
||||
|
||||
/**
|
||||
* <p>The set of noise reduction modes supported by this camera device.</p>
|
||||
* <p>This tag lists the valid modes for {@link CaptureRequest#NOISE_REDUCTION_MODE android.noiseReduction.mode}.</p>
|
||||
* <p>Full-capability camera devices must laways support OFF and FAST.</p>
|
||||
*
|
||||
* @see CaptureRequest#NOISE_REDUCTION_MODE
|
||||
*/
|
||||
public static final Key<byte[]> NOISE_REDUCTION_AVAILABLE_NOISE_REDUCTION_MODES =
|
||||
new Key<byte[]>("android.noiseReduction.availableNoiseReductionModes", byte[].class);
|
||||
|
||||
/**
|
||||
* <p>If set to 1, the HAL will always split result
|
||||
* metadata for a single capture into multiple buffers,
|
||||
@@ -1129,6 +1149,17 @@ public final class CameraCharacteristics extends CameraMetadata {
|
||||
public static final Key<Integer> TONEMAP_MAX_CURVE_POINTS =
|
||||
new Key<Integer>("android.tonemap.maxCurvePoints", int.class);
|
||||
|
||||
/**
|
||||
* <p>The set of tonemapping modes supported by this camera device.</p>
|
||||
* <p>This tag lists the valid modes for {@link CaptureRequest#TONEMAP_MODE android.tonemap.mode}.</p>
|
||||
* <p>Full-capability camera devices must always support CONTRAST_CURVE and
|
||||
* FAST.</p>
|
||||
*
|
||||
* @see CaptureRequest#TONEMAP_MODE
|
||||
*/
|
||||
public static final Key<byte[]> TONEMAP_AVAILABLE_TONE_MAP_MODES =
|
||||
new Key<byte[]>("android.tonemap.availableToneMapModes", byte[].class);
|
||||
|
||||
/**
|
||||
* <p>A list of camera LEDs that are available on this system.</p>
|
||||
* @see #LED_AVAILABLE_LEDS_TRANSMIT
|
||||
|
||||
@@ -835,11 +835,14 @@ public final class CaptureRequest extends CameraMetadata implements Parcelable {
|
||||
* enhancement.</p>
|
||||
* <p>Edge/sharpness/detail enhancement. OFF means no
|
||||
* enhancement will be applied by the camera device.</p>
|
||||
* <p>This must be set to one of the modes listed in {@link CameraCharacteristics#EDGE_AVAILABLE_EDGE_MODES android.edge.availableEdgeModes}.</p>
|
||||
* <p>FAST/HIGH_QUALITY both mean camera device determined enhancement
|
||||
* will be applied. HIGH_QUALITY mode indicates that the
|
||||
* camera device will use the highest-quality enhancement algorithms,
|
||||
* even if it slows down capture rate. FAST means the camera device will
|
||||
* not slow down capture rate when applying edge enhancement.</p>
|
||||
*
|
||||
* @see CameraCharacteristics#EDGE_AVAILABLE_EDGE_MODES
|
||||
* @see #EDGE_MODE_OFF
|
||||
* @see #EDGE_MODE_FAST
|
||||
* @see #EDGE_MODE_HIGH_QUALITY
|
||||
@@ -1051,11 +1054,15 @@ public final class CaptureRequest extends CameraMetadata implements Parcelable {
|
||||
* algorithm</p>
|
||||
* <p>Noise filtering control. OFF means no noise reduction
|
||||
* will be applied by the camera device.</p>
|
||||
* <p>This must be set to a valid mode in
|
||||
* {@link CameraCharacteristics#NOISE_REDUCTION_AVAILABLE_NOISE_REDUCTION_MODES android.noiseReduction.availableNoiseReductionModes}.</p>
|
||||
* <p>FAST/HIGH_QUALITY both mean camera device determined noise filtering
|
||||
* will be applied. HIGH_QUALITY mode indicates that the camera device
|
||||
* will use the highest-quality noise filtering algorithms,
|
||||
* even if it slows down capture rate. FAST means the camera device should not
|
||||
* slow down capture rate when applying noise filtering.</p>
|
||||
*
|
||||
* @see CameraCharacteristics#NOISE_REDUCTION_AVAILABLE_NOISE_REDUCTION_MODES
|
||||
* @see #NOISE_REDUCTION_MODE_OFF
|
||||
* @see #NOISE_REDUCTION_MODE_FAST
|
||||
* @see #NOISE_REDUCTION_MODE_HIGH_QUALITY
|
||||
@@ -1404,6 +1411,8 @@ public final class CaptureRequest extends CameraMetadata implements Parcelable {
|
||||
* tables, selective chroma enhancement, or other non-linear color
|
||||
* transforms will be disabled when {@link CaptureRequest#TONEMAP_MODE android.tonemap.mode} is
|
||||
* CONTRAST_CURVE.</p>
|
||||
* <p>This must be set to a valid mode in
|
||||
* {@link CameraCharacteristics#TONEMAP_AVAILABLE_TONE_MAP_MODES android.tonemap.availableToneMapModes}.</p>
|
||||
* <p>When using either FAST or HIGH_QUALITY, the camera device will
|
||||
* emit its own tonemap curve in {@link CaptureRequest#TONEMAP_CURVE_RED android.tonemap.curveRed},
|
||||
* {@link CaptureRequest#TONEMAP_CURVE_GREEN android.tonemap.curveGreen}, and {@link CaptureRequest#TONEMAP_CURVE_BLUE android.tonemap.curveBlue}.
|
||||
@@ -1413,6 +1422,7 @@ public final class CaptureRequest extends CameraMetadata implements Parcelable {
|
||||
* provided curve in FAST or HIGH_QUALITY, the image's tonemap will be
|
||||
* roughly the same.</p>
|
||||
*
|
||||
* @see CameraCharacteristics#TONEMAP_AVAILABLE_TONE_MAP_MODES
|
||||
* @see CaptureRequest#TONEMAP_CURVE_BLUE
|
||||
* @see CaptureRequest#TONEMAP_CURVE_GREEN
|
||||
* @see CaptureRequest#TONEMAP_CURVE_RED
|
||||
|
||||
@@ -1110,11 +1110,14 @@ public final class CaptureResult extends CameraMetadata {
|
||||
* enhancement.</p>
|
||||
* <p>Edge/sharpness/detail enhancement. OFF means no
|
||||
* enhancement will be applied by the camera device.</p>
|
||||
* <p>This must be set to one of the modes listed in {@link CameraCharacteristics#EDGE_AVAILABLE_EDGE_MODES android.edge.availableEdgeModes}.</p>
|
||||
* <p>FAST/HIGH_QUALITY both mean camera device determined enhancement
|
||||
* will be applied. HIGH_QUALITY mode indicates that the
|
||||
* camera device will use the highest-quality enhancement algorithms,
|
||||
* even if it slows down capture rate. FAST means the camera device will
|
||||
* not slow down capture rate when applying edge enhancement.</p>
|
||||
*
|
||||
* @see CameraCharacteristics#EDGE_AVAILABLE_EDGE_MODES
|
||||
* @see #EDGE_MODE_OFF
|
||||
* @see #EDGE_MODE_FAST
|
||||
* @see #EDGE_MODE_HIGH_QUALITY
|
||||
@@ -1378,11 +1381,15 @@ public final class CaptureResult extends CameraMetadata {
|
||||
* algorithm</p>
|
||||
* <p>Noise filtering control. OFF means no noise reduction
|
||||
* will be applied by the camera device.</p>
|
||||
* <p>This must be set to a valid mode in
|
||||
* {@link CameraCharacteristics#NOISE_REDUCTION_AVAILABLE_NOISE_REDUCTION_MODES android.noiseReduction.availableNoiseReductionModes}.</p>
|
||||
* <p>FAST/HIGH_QUALITY both mean camera device determined noise filtering
|
||||
* will be applied. HIGH_QUALITY mode indicates that the camera device
|
||||
* will use the highest-quality noise filtering algorithms,
|
||||
* even if it slows down capture rate. FAST means the camera device should not
|
||||
* slow down capture rate when applying noise filtering.</p>
|
||||
*
|
||||
* @see CameraCharacteristics#NOISE_REDUCTION_AVAILABLE_NOISE_REDUCTION_MODES
|
||||
* @see #NOISE_REDUCTION_MODE_OFF
|
||||
* @see #NOISE_REDUCTION_MODE_FAST
|
||||
* @see #NOISE_REDUCTION_MODE_HIGH_QUALITY
|
||||
@@ -2076,6 +2083,8 @@ public final class CaptureResult extends CameraMetadata {
|
||||
* tables, selective chroma enhancement, or other non-linear color
|
||||
* transforms will be disabled when {@link CaptureRequest#TONEMAP_MODE android.tonemap.mode} is
|
||||
* CONTRAST_CURVE.</p>
|
||||
* <p>This must be set to a valid mode in
|
||||
* {@link CameraCharacteristics#TONEMAP_AVAILABLE_TONE_MAP_MODES android.tonemap.availableToneMapModes}.</p>
|
||||
* <p>When using either FAST or HIGH_QUALITY, the camera device will
|
||||
* emit its own tonemap curve in {@link CaptureRequest#TONEMAP_CURVE_RED android.tonemap.curveRed},
|
||||
* {@link CaptureRequest#TONEMAP_CURVE_GREEN android.tonemap.curveGreen}, and {@link CaptureRequest#TONEMAP_CURVE_BLUE android.tonemap.curveBlue}.
|
||||
@@ -2085,6 +2094,7 @@ public final class CaptureResult extends CameraMetadata {
|
||||
* provided curve in FAST or HIGH_QUALITY, the image's tonemap will be
|
||||
* roughly the same.</p>
|
||||
*
|
||||
* @see CameraCharacteristics#TONEMAP_AVAILABLE_TONE_MAP_MODES
|
||||
* @see CaptureRequest#TONEMAP_CURVE_BLUE
|
||||
* @see CaptureRequest#TONEMAP_CURVE_GREEN
|
||||
* @see CaptureRequest#TONEMAP_CURVE_RED
|
||||
|
||||
Reference in New Issue
Block a user