summaryrefslogtreecommitdiffstats
path: root/libs/camera
diff options
context:
space:
mode:
authorWu-cheng Li <wuchengli@google.com>2010-05-28 17:32:41 +0800
committerWu-cheng Li <wuchengli@google.com>2010-05-28 17:32:41 +0800
commitd2c2929c94bec68741b85f4174e11307fb65157f (patch)
tree510d29a3a37649ae4ff7111450404b6c041ee5f1 /libs/camera
parentdf0364de6f7be68e003729c262fe2731b82ae10e (diff)
downloadframeworks_base-d2c2929c94bec68741b85f4174e11307fb65157f.zip
frameworks_base-d2c2929c94bec68741b85f4174e11307fb65157f.tar.gz
frameworks_base-d2c2929c94bec68741b85f4174e11307fb65157f.tar.bz2
Add video frame parameter.
The image format of preview frames and video frames may be different. We need another parameter for video frame format. bug:2720893 Change-Id: I966a31b0ce8cab25cdde65db65a18c8cbe9c7bd6
Diffstat (limited to 'libs/camera')
-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 7b4c7f6..e4d5bb3 100644
--- a/libs/camera/CameraParameters.cpp
+++ b/libs/camera/CameraParameters.cpp
@@ -70,6 +70,7 @@ const char CameraParameters::KEY_ZOOM_RATIOS[] = "zoom-ratios";
const char CameraParameters::KEY_ZOOM_SUPPORTED[] = "zoom-supported";
const char CameraParameters::KEY_SMOOTH_ZOOM_SUPPORTED[] = "smooth-zoom-supported";
const char CameraParameters::KEY_FOCUS_DISTANCES[] = "focus-distances";
+const char CameraParameters::KEY_VIDEO_FRAME_FORMAT[] = "video-frame-format";
const char CameraParameters::TRUE[] = "true";
const char CameraParameters::FOCUS_DISTANCE_INFINITY[] = "Infinity";