summaryrefslogtreecommitdiffstats
path: root/include/camera
diff options
context:
space:
mode:
authorJames Dong <jdong@google.com>2010-09-15 16:52:51 -0700
committerJames Dong <jdong@google.com>2010-09-16 14:10:31 -0700
commit9b61dc564e673a116928838e42dae25bdf1e0796 (patch)
treeee000e011404ec424fd8191b5849b811ffa61bef /include/camera
parent6ca404d5213926ac58dc02d77293faa93b65a223 (diff)
downloadframeworks_base-9b61dc564e673a116928838e42dae25bdf1e0796.zip
frameworks_base-9b61dc564e673a116928838e42dae25bdf1e0796.tar.gz
frameworks_base-9b61dc564e673a116928838e42dae25bdf1e0796.tar.bz2
Add YUV420P color format support for video output from camera hal
Change-Id: I5c8266348d0840361c8095ce351ac85c44d4068f
Diffstat (limited to 'include/camera')
-rw-r--r--include/camera/CameraParameters.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/camera/CameraParameters.h b/include/camera/CameraParameters.h
index 7c5371a..72d5756 100644
--- a/include/camera/CameraParameters.h
+++ b/include/camera/CameraParameters.h
@@ -354,7 +354,10 @@ public:
// for barcode reading.
static const char SCENE_MODE_BARCODE[];
- // Formats for setPreviewFormat and setPictureFormat.
+ // Pixel color formats for KEY_PREVIEW_FORMAT, KEY_PICTURE_FORMAT,
+ // and KEY_VIDEO_FRAME_FORMAT
+ // Planar variant of the YUV420 color format
+ static const char PIXEL_FORMAT_YUV420P[];
static const char PIXEL_FORMAT_YUV422SP[];
static const char PIXEL_FORMAT_YUV420SP[]; // NV21
static const char PIXEL_FORMAT_YUV422I[]; // YUY2