summaryrefslogtreecommitdiffstats
path: root/include/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 /include/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 'include/camera')
-rw-r--r--include/camera/CameraParameters.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/camera/CameraParameters.h b/include/camera/CameraParameters.h
index 48483fd..b661496 100644
--- a/include/camera/CameraParameters.h
+++ b/include/camera/CameraParameters.h
@@ -573,6 +573,9 @@ public:
static const char PIXEL_FORMAT_RGB565[];
static const char PIXEL_FORMAT_RGBA8888[];
static const char PIXEL_FORMAT_JPEG[];
+ // Raw bayer format used for images, which is 10 bit precision samples
+ // stored in 16 bit words. The filter pattern is RGGB.
+ static const char PIXEL_FORMAT_BAYER_RGGB[];
// Values for focus mode settings.
// Auto-focus mode. Applications should call