summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Martin Storsjo <martin@martin.st> 2014-11-19 11:58:03 +0200
committer Zhijun He <zhijunhe@google.com> 2015-03-23 19:41:25 -0700
commite686047f53282d3780dca5ccb9700283c6429555 (patch)
tree0cce912efc6b9061cd885ed82d30f35a1c1ecfb0
parent950323e120e16fc6ba31eeee3d02fe738d2a6881 (diff)
camera2: Clarify the documentation on the ImageReader usecase
Uncompressed JPEG data is an oxymoron. Also mention the other usecases for ImageReader. Change-Id: I75261baf162a58c415705db99afa474c3826f900
-rw-r--r--core/java/android/hardware/camera2/CameraDevice.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/hardware/camera2/CameraDevice.java b/core/java/android/hardware/camera2/CameraDevice.java
index 482b1f01b509..bec94895f5aa 100644
--- a/core/java/android/hardware/camera2/CameraDevice.java
+++ b/core/java/android/hardware/camera2/CameraDevice.java
@@ -183,7 +183,7 @@ public abstract class CameraDevice implements AutoCloseable {
* Then obtain the Surface with
* {@link android.renderscript.Allocation#getSurface}.</li>
*
- * <li>For access to raw, uncompressed JPEG data in the application: Create an
+ * <li>For access to RAW, uncompressed YUV, or compressed JPEG data in the application: Create an
* {@link android.media.ImageReader} object with one of the supported output formats given by
* {@link StreamConfigurationMap#getOutputFormats()}, setting its size to one of the
* corresponding supported sizes by passing the chosen output format into