summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKevin Bruckert <agrabren@yahoo.com>2012-11-20 04:48:00 -0800
committerDorian Snyder <dastin1015@gmail.com>2013-04-28 21:31:40 -0700
commitea33819479ae5b53b80704c12a317b1555adbc97 (patch)
tree3036675bd0b17960cc84fa89c6f94b12fb138a09 /include
parente411d62373f5d13f6bebf3073efa6f94fd7ba460 (diff)
downloadframeworks_av-ea33819479ae5b53b80704c12a317b1555adbc97.zip
frameworks_av-ea33819479ae5b53b80704c12a317b1555adbc97.tar.gz
frameworks_av-ea33819479ae5b53b80704c12a317b1555adbc97.tar.bz2
Add camera parameters for htc evo 3D. (1/2)
Use BOARD_HTC_3D_SUPPORT to enable. Change-Id: I28fa3f1586071bcc78b8e887bbbf699d338a0ceb
Diffstat (limited to 'include')
-rw-r--r--include/camera/CameraParameters.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/camera/CameraParameters.h b/include/camera/CameraParameters.h
index 2ed5825..61cf359 100644
--- a/include/camera/CameraParameters.h
+++ b/include/camera/CameraParameters.h
@@ -117,6 +117,7 @@ public:
void setPictureSize(int width, int height);
void getPictureSize(int *width, int *height) const;
void getSupportedPictureSizes(Vector<Size> &sizes) const;
+ void set3DFileFormat(const char* buffer);
void setPictureFormat(const char *format);
const char *getPictureFormat() const;
#ifdef QCOM_HARDWARE
@@ -203,6 +204,8 @@ public:
// Supported dimensions for captured pictures in pixels.
// Example value: "2048x1536,1024x768". Read only.
static const char KEY_SUPPORTED_PICTURE_SIZES[];
+ //HTC 3D color format
+ static const char KEY_SUPPORTED_3D_FILE_FORMAT[];
// The image format for captured pictures. See CAMERA_MSG_COMPRESSED_IMAGE
// in frameworks/base/include/camera/Camera.h.
// Example value: "jpeg" or PIXEL_FORMAT_XXX constants. Read/write.
@@ -916,6 +919,10 @@ public:
static const char FACE_DETECTION_OFF[];
static const char FACE_DETECTION_ON[];
+ // Values for HTC 3D image settings.
+ static const char FILE_FORMAT_MPO[];
+ static const char FILE_FORMAT_JPS[];
+
// Values for MCE settings.
static const char MCE_ENABLE[];
static const char MCE_DISABLE[];