diff options
author | Pavel Nedev <pnedev@mm-sol.com> | 2012-06-13 18:00:23 +0300 |
---|---|---|
committer | Daniel Levin <dendy@ti.com> | 2012-07-25 08:56:44 -0500 |
commit | c384a237a866ad10eac95dc7070d4171d0fbe9f9 (patch) | |
tree | 2524d008b1ff1aff066a0ba7ee703faeb0f97ed7 /camera/inc/CameraProperties.h | |
parent | 721bc348a6bd97048bc6de60be85a9ab9428c546 (diff) | |
download | hardware_ti_omap4-c384a237a866ad10eac95dc7070d4171d0fbe9f9.zip hardware_ti_omap4-c384a237a866ad10eac95dc7070d4171d0fbe9f9.tar.gz hardware_ti_omap4-c384a237a866ad10eac95dc7070d4171d0fbe9f9.tar.bz2 |
Camera HAL: Second stereo camera added
Supported number of cameras is increased to 4 accordingly.
The way number of cameras is detected from the OMX camera adapter is changed as
not every camera has its own camera index. Stereo cameras are distinguished by the stereo operating mode
but have the same indexes as the mono cameras. On OMX init time when capabilities are gotten
a container is filled that maps each Android camera index to the corresponding OMX camera settings -
OMX cam index and operating mode.
OMX_TI_StereoSensor index is left for backward compatibility with older Ducati images.
CameraService max number of cameras must also be increased to 4. There is another framework/base
patch that does just that.
Change-Id: I9ea9fb8454d09380612c19f6240457ab36c773e9
Signed-off-by: Pavel Nedev <pnedev@mm-sol.com>
Diffstat (limited to 'camera/inc/CameraProperties.h')
-rw-r--r-- | camera/inc/CameraProperties.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/camera/inc/CameraProperties.h b/camera/inc/CameraProperties.h index dcfc2c7..7dba09d 100644 --- a/camera/inc/CameraProperties.h +++ b/camera/inc/CameraProperties.h @@ -32,7 +32,7 @@ namespace android { -#define MAX_CAMERAS_SUPPORTED 3 +#define MAX_CAMERAS_SUPPORTED 4 #define MAX_SIMUL_CAMERAS_SUPPORTED 1 #define MAX_PROP_NAME_LENGTH 50 #define MAX_PROP_VALUE_LENGTH 2048 |