diff options
author | Narayan Kamath <narayan@google.com> | 2014-02-05 12:16:46 +0000 |
---|---|---|
committer | Narayan Kamath <narayan@google.com> | 2014-02-05 12:16:46 +0000 |
commit | 8b1c5704cb14c7adbb127b9bdf1dd8726df92981 (patch) | |
tree | 3832271e420c7928273ec8695027096d3b474a63 /core | |
parent | 67c23833f81cb27671ee9f62a87ba810d0d49989 (diff) | |
download | frameworks_base-8b1c5704cb14c7adbb127b9bdf1dd8726df92981.zip frameworks_base-8b1c5704cb14c7adbb127b9bdf1dd8726df92981.tar.gz frameworks_base-8b1c5704cb14c7adbb127b9bdf1dd8726df92981.tar.bz2 |
Revert "Camera2: Update stream num tag specs"
This reverts commit 67c23833f81cb27671ee9f62a87ba810d0d49989.
Change-Id: I3aa2d0b245c998c57f3312e2d6f68aa72d80c338
Diffstat (limited to 'core')
-rw-r--r-- | core/java/android/hardware/camera2/CameraCharacteristics.java | 38 |
1 files changed, 5 insertions, 33 deletions
diff --git a/core/java/android/hardware/camera2/CameraCharacteristics.java b/core/java/android/hardware/camera2/CameraCharacteristics.java index 913b273..bb8b184 100644 --- a/core/java/android/hardware/camera2/CameraCharacteristics.java +++ b/core/java/android/hardware/camera2/CameraCharacteristics.java @@ -398,44 +398,16 @@ public final class CameraCharacteristics extends CameraMetadata { new Key<Byte>("android.quirks.usePartialResult", byte.class); /** - * <p>The maximum numbers of different types of output streams - * that can be configured and used simultaneously by a camera device.</p> - * <p>This is a 3 element tuple that contains the max number of output simultaneous - * streams for raw sensor, processed (and uncompressed), and JPEG formats respectively. - * For example, if max raw sensor format output stream number is 1, max YUV streams - * number is 3, and max JPEG stream number is 2, then this tuple should be <code>(1, 3, 2)</code>.</p> - * <p>This lists the upper bound of the number of output streams supported by - * the camera device. Using more streams simultaneously may require more hardware and - * CPU resources that will consume more power. The image format for a output stream can - * be any supported format provided by {@link CameraCharacteristics#SCALER_AVAILABLE_FORMATS android.scaler.availableFormats}. The formats - * defined in {@link CameraCharacteristics#SCALER_AVAILABLE_FORMATS android.scaler.availableFormats} can be catergorized into the 3 stream types - * as below:</p> - * <ul> - * <li>JPEG-compressed format: BLOB.</li> - * <li>Raw formats: RAW_SENSOR and RAW_OPAQUE.</li> - * <li>processed, uncompressed formats: YCbCr_420_888, YCrCb_420_SP, YV12.</li> - * </ul> - * - * @see CameraCharacteristics#SCALER_AVAILABLE_FORMATS + * <p>How many output streams can be allocated at + * the same time for each type of stream</p> + * <p>Video snapshot with preview callbacks requires 3 + * processed streams (preview, record, app callbacks) and + * one JPEG stream (snapshot)</p> */ public static final Key<int[]> REQUEST_MAX_NUM_OUTPUT_STREAMS = new Key<int[]>("android.request.maxNumOutputStreams", int[].class); /** - * <p>The maximum numbers of any type of input streams - * that can be configured and used simultaneously by a camera device.</p> - * <p>When set to 0, it means no input stream is supported.</p> - * <p>The image format for a input stream can be any supported format provided - * by android.scaler.availableInputFormats. When using an input stream, there must be - * at least one output stream configured to to receive the reprocessed images.</p> - * <p>For example, for Zero Shutter Lag (ZSL) still capture use case, the input - * stream image format will be RAW_OPAQUE, the associated output stream image format - * should be JPEG.</p> - */ - public static final Key<Integer> REQUEST_MAX_NUM_INPUT_STREAMS = - new Key<Integer>("android.request.maxNumInputStreams", int.class); - - /** * <p>Specifies the number of maximum pipeline stages a frame * has to go through from when it's exposed to when it's available * to the framework.</p> |