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
commite2d8ba8c36fd39eb98f604b11654aa5466673260 (patch)
treebdbd47442bc5f6c564746b99b4752a927c59f47b /include/camera
parent38a7476749eb4b4fd117b6e64027870077eb22d8 (diff)
downloadframeworks_av-e2d8ba8c36fd39eb98f604b11654aa5466673260.zip
frameworks_av-e2d8ba8c36fd39eb98f604b11654aa5466673260.tar.gz
frameworks_av-e2d8ba8c36fd39eb98f604b11654aa5466673260.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