summaryrefslogtreecommitdiffstats
path: root/core/java/android/hardware/camera2
diff options
context:
space:
mode:
authorMartin Storsjo <martin@martin.st>2014-11-19 11:58:03 +0200
committerMartin Storsjo <martin@martin.st>2015-01-07 20:10:25 +0200
commit5c533e4fa0836b3d7fbf5ef449d3bdbfced848f9 (patch)
tree5e5f08f6bc57535ca0616f375ce8d3efb6210d33 /core/java/android/hardware/camera2
parentdcf323adaf3d59fb720dc534380090f9df3a618c (diff)
downloadframeworks_base-5c533e4fa0836b3d7fbf5ef449d3bdbfced848f9.zip
frameworks_base-5c533e4fa0836b3d7fbf5ef449d3bdbfced848f9.tar.gz
frameworks_base-5c533e4fa0836b3d7fbf5ef449d3bdbfced848f9.tar.bz2
camera2: Clarify the documentation on the ImageReader usecase
Uncompressed JPEG data is an oxymoron. Also mention the other usecases for ImageReader. Change-Id: I75261baf162a58c415705db99afa474c3826f900
Diffstat (limited to 'core/java/android/hardware/camera2')
-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 0bb742c..5cfa821 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