summaryrefslogtreecommitdiffstats
path: root/libs
diff options
context:
space:
mode:
authorWu-cheng Li <wuchengli@google.com>2011-08-02 17:49:50 +0800
committerWu-cheng Li <wuchengli@google.com>2011-08-04 16:40:28 +0800
commit70fb9085044c5e6f52c33c970d238b764cf2373b (patch)
tree2a1e4b684899ad695600fbf2fb6158792fff794a /libs
parentbb1e275c0e684dd213f124da77110cdd9d6f090c (diff)
downloadframeworks_base-70fb9085044c5e6f52c33c970d238b764cf2373b.zip
frameworks_base-70fb9085044c5e6f52c33c970d238b764cf2373b.tar.gz
frameworks_base-70fb9085044c5e6f52c33c970d238b764cf2373b.tar.bz2
Add camera bayer image format.
The API are hidden. bug:5086073 Change-Id: Ic9a53e5d5007ad3f12a28406ee25098227f14cbc
Diffstat (limited to 'libs')
-rw-r--r--libs/camera/CameraParameters.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/camera/CameraParameters.cpp b/libs/camera/CameraParameters.cpp
index 251615d..51b96c1 100644
--- a/libs/camera/CameraParameters.cpp
+++ b/libs/camera/CameraParameters.cpp
@@ -151,6 +151,7 @@ const char CameraParameters::PIXEL_FORMAT_YUV420P[] = "yuv420p";
const char CameraParameters::PIXEL_FORMAT_RGB565[] = "rgb565";
const char CameraParameters::PIXEL_FORMAT_RGBA8888[] = "rgba8888";
const char CameraParameters::PIXEL_FORMAT_JPEG[] = "jpeg";
+const char CameraParameters::PIXEL_FORMAT_BAYER_RGGB[] = "bayer-rggb";
// Values for focus mode settings.
const char CameraParameters::FOCUS_MODE_AUTO[] = "auto";