OSDN Git Service

camera2: Clarify the documentation on the ImageReader usecase
authorMartin Storsjo <martin@martin.st>
Wed, 19 Nov 2014 09:58:03 +0000 (11:58 +0200)
committerZhijun He <zhijunhe@google.com>
Tue, 24 Mar 2015 02:41:25 +0000 (19:41 -0700)
Uncompressed JPEG data is an oxymoron. Also mention the other
usecases for ImageReader.

Change-Id: I75261baf162a58c415705db99afa474c3826f900

core/java/android/hardware/camera2/CameraDevice.java

index 482b1f0..bec9489 100644 (file)
@@ -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