summaryrefslogtreecommitdiffstats
path: root/camera
diff options
context:
space:
mode:
authorGilles-Arnaud Bleu-Laine <gilles@ti.com>2011-11-02 03:30:22 -0500
committerIliyan Malchev <malchev@google.com>2011-11-02 10:58:34 -0700
commitd9949c1e47698ef0e36ffadeebe642a3abe53f8b (patch)
treef478dbad171be56969bbaa73559c49637b9e493b /camera
parent3c272a993dfc4ca153b09e5ec1e651f75eab90c4 (diff)
downloadandroid_hardware_ti_omap4xxx-d9949c1e47698ef0e36ffadeebe642a3abe53f8b.tar.gz
android_hardware_ti_omap4xxx-d9949c1e47698ef0e36ffadeebe642a3abe53f8b.tar.bz2
android_hardware_ti_omap4xxx-d9949c1e47698ef0e36ffadeebe642a3abe53f8b.zip
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.cpp2
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" },