summaryrefslogtreecommitdiffstats
path: root/camera
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
commit79e2ab42c38d1099bcd7c8840caa5a85c9fcb104 (patch)
tree09d1f199f95d265b1536de3b5416b481644b6f03 /camera
parent57c86189bc07d9ccb0fd044e66df736d0bf19639 (diff)
downloadframeworks_av-79e2ab42c38d1099bcd7c8840caa5a85c9fcb104.zip
frameworks_av-79e2ab42c38d1099bcd7c8840caa5a85c9fcb104.tar.gz
frameworks_av-79e2ab42c38d1099bcd7c8840caa5a85c9fcb104.tar.bz2
Add camera bayer image format.
The API are hidden. bug:5086073 Change-Id: Ic9a53e5d5007ad3f12a28406ee25098227f14cbc
Diffstat (limited to 'camera')
-rw-r--r--camera/CameraParameters.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/camera/CameraParameters.cpp b/camera/CameraParameters.cpp
index 251615d..51b96c1 100644
--- a/camera/CameraParameters.cpp
+++ b/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";