diff options
author | Dejan Ivanovski <x0162121@ti.com> | 2011-10-11 12:03:40 +0300 |
---|---|---|
committer | Ricardo Cerqueira <cyanogenmod@cerqueira.org> | 2012-11-26 14:24:22 +0000 |
commit | a6c026ea48535a568173c6911fb413afa86db780 (patch) | |
tree | 59e4832b5c909f92cca332694b8b5ed571173560 | |
parent | 43926620689579fd45420955ebfc548ccf57a628 (diff) | |
download | frameworks_av-a6c026ea48535a568173c6911fb413afa86db780.zip frameworks_av-a6c026ea48535a568173c6911fb413afa86db780.tar.gz frameworks_av-a6c026ea48535a568173c6911fb413afa86db780.tar.bz2 |
Camera Service: Change max number of cameras to 3
Maximum number of cameras increased to 3 in order to support Stereo camera
in addition to the existing ones.
Change-Id: I63279daa17723669a8f116798b2687b73ddb5516
Signed-off-by: Dejan Ivanovski <x0162121@ti.com>
-rw-r--r-- | services/camera/libcameraservice/CameraService.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/services/camera/libcameraservice/CameraService.h b/services/camera/libcameraservice/CameraService.h index 4dab340..7844047 100644 --- a/services/camera/libcameraservice/CameraService.h +++ b/services/camera/libcameraservice/CameraService.h @@ -23,7 +23,11 @@ #include <hardware/camera.h> /* This needs to be increased if we can have more cameras */ +#ifdef OMAP_ENHANCEMENT +#define MAX_CAMERAS 3 +#else #define MAX_CAMERAS 2 +#endif namespace android { |