diff options
author | James Dong <jdong@google.com> | 2010-09-15 16:52:51 -0700 |
---|---|---|
committer | James Dong <jdong@google.com> | 2010-09-16 14:10:31 -0700 |
commit | e2d8ba8c36fd39eb98f604b11654aa5466673260 (patch) | |
tree | bdbd47442bc5f6c564746b99b4752a927c59f47b /camera | |
parent | 38a7476749eb4b4fd117b6e64027870077eb22d8 (diff) | |
download | frameworks_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 'camera')
-rw-r--r-- | camera/CameraParameters.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/camera/CameraParameters.cpp b/camera/CameraParameters.cpp index 362d9ee..887b12c 100644 --- a/camera/CameraParameters.cpp +++ b/camera/CameraParameters.cpp @@ -129,7 +129,7 @@ const char CameraParameters::SCENE_MODE_PARTY[] = "party"; const char CameraParameters::SCENE_MODE_CANDLELIGHT[] = "candlelight"; const char CameraParameters::SCENE_MODE_BARCODE[] = "barcode"; -// Formats for setPreviewFormat and setPictureFormat. +const char CameraParameters::PIXEL_FORMAT_YUV420P[] = "yuv420p"; const char CameraParameters::PIXEL_FORMAT_YUV422SP[] = "yuv422sp"; const char CameraParameters::PIXEL_FORMAT_YUV420SP[] = "yuv420sp"; const char CameraParameters::PIXEL_FORMAT_YUV422I[] = "yuv422i-yuyv"; |