diff options
author | Gilles-Arnaud Bleu-Laine <gilles@ti.com> | 2011-11-02 03:30:22 -0500 |
---|---|---|
committer | Iliyan Malchev <malchev@google.com> | 2011-11-02 10:58:34 -0700 |
commit | 0736cc574b6289b5ac31a96279d6df720ea3cff3 (patch) | |
tree | 895ef64441f91ba941207835b755217109ab31bc /camera | |
parent | bd81da5048b7c7389edf3267e878878d436eecb6 (diff) | |
download | hardware_ti_omap4-0736cc574b6289b5ac31a96279d6df720ea3cff3.zip hardware_ti_omap4-0736cc574b6289b5ac31a96279d6df720ea3cff3.tar.gz hardware_ti_omap4-0736cc574b6289b5ac31a96279d6df720ea3cff3.tar.bz2 |
CameraHal: Add 2592x1728 and 2592x1458 image capture resolutions
Part of the fix for b/5546023
Adding new resolution to support 16:9 and 3:2 aspect ratio.
Note: This allows to keep same aspect ratio between video preview
and video snapshot.
This change requires a matching Ducati update. For the power savings to take
effect, the new resolution must actually be used by the application.
Change-Id: I87d5f3155856b0c2c83763349843628eeadfacfc
Signed-off-by: Gilles-Arnaud Bleu-Laine <gilles@ti.com>
Signed-off-by: Iliyan Malchev <malchev@google.com>
Diffstat (limited to 'camera')
-rw-r--r-- | camera/OMXCameraAdapter/OMXCapabilities.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/camera/OMXCameraAdapter/OMXCapabilities.cpp b/camera/OMXCameraAdapter/OMXCapabilities.cpp index 9a6db24..e1323ee 100644 --- a/camera/OMXCameraAdapter/OMXCapabilities.cpp +++ b/camera/OMXCameraAdapter/OMXCapabilities.cpp @@ -57,6 +57,8 @@ const CapResolution OMXCameraAdapter::mImageCapRes [] = { { 3648, 2736, "3648x2736" }, { 3264, 2448, "3264x2448" }, { 2592, 1944, "2592x1944" }, + { 2592, 1728, "2592x1728" }, + { 2592, 1458, "2592x1458" }, { 2048, 1536, "2048x1536" }, { 1600, 1200, "1600x1200" }, { 1280, 1024, "1280x1024" }, |