From e2d8ba8c36fd39eb98f604b11654aa5466673260 Mon Sep 17 00:00:00 2001 From: James Dong Date: Wed, 15 Sep 2010 16:52:51 -0700 Subject: Add YUV420P color format support for video output from camera hal Change-Id: I5c8266348d0840361c8095ce351ac85c44d4068f --- include/camera/CameraParameters.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'include/camera') 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 -- cgit v1.1