summaryrefslogtreecommitdiffstats
path: root/graphics/java
diff options
context:
space:
mode:
authorScott Main <smain@google.com>2009-09-10 12:22:07 -0700
committerScott Main <smain@google.com>2009-09-10 15:02:49 -0700
commitdf4578e8ab7008a7e528d5af2ae761b33cf2bdf4 (patch)
treedf1eed0fba94a7a6a7971fc447d046aaf173f50f /graphics/java
parentdac0d75ad7fbd10981477b1fcc35c955185a41fd (diff)
downloadframeworks_base-df4578e8ab7008a7e528d5af2ae761b33cf2bdf4.zip
frameworks_base-df4578e8ab7008a7e528d5af2ae761b33cf2bdf4.tar.gz
frameworks_base-df4578e8ab7008a7e528d5af2ae761b33cf2bdf4.tar.bz2
docs only.
add documentation to notify developers about variable camera specifications and add some more links Change-Id: I46ef9811af17858cbc6547f88e626becb481b043
Diffstat (limited to 'graphics/java')
-rw-r--r--graphics/java/android/graphics/PixelFormat.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/graphics/java/android/graphics/PixelFormat.java b/graphics/java/android/graphics/PixelFormat.java
index 159accc..221c2f8 100644
--- a/graphics/java/android/graphics/PixelFormat.java
+++ b/graphics/java/android/graphics/PixelFormat.java
@@ -52,6 +52,12 @@ public class PixelFormat
* by the hardware.
*/
public static final int YCbCr_422_SP= 0x10;
+
+ /** YCbCr format used for images, which uses the NV21 encoding format.
+ * This is the default format for camera preview images, when not
+ * otherwise set with
+ * {@link android.hardware.Camera.Parameters#setPreviewFormat(int)}.
+ */
public static final int YCbCr_420_SP= 0x11;
/**