summaryrefslogtreecommitdiffstats
path: root/camera/BufferSourceAdapter.cpp
diff options
context:
space:
mode:
authorDaniel Levin <dendy@ti.com>2012-06-06 13:08:35 +0300
committerDaniel Levin <dendy@ti.com>2012-07-25 08:56:44 -0500
commitf56ad80d4144e7551ecce5481652daa1c9d5340c (patch)
tree91ad68121521c194e0d1b8191c89f5fe55d8c98f /camera/BufferSourceAdapter.cpp
parentc384a237a866ad10eac95dc7070d4171d0fbe9f9 (diff)
downloadhardware_ti_omap4-f56ad80d4144e7551ecce5481652daa1c9d5340c.tar.gz
hardware_ti_omap4-f56ad80d4144e7551ecce5481652daa1c9d5340c.tar.bz2
hardware_ti_omap4-f56ad80d4144e7551ecce5481652daa1c9d5340c.zip
CameraHAL: Wrapped sources with OMAP_ENHANCEMENT_* macros
Wrapped the enhanced code with OMAP_ENHANCEMENT_* macros. Currently next enhancing modules dedicated: - CPCAM: OMAP_ENHANCEMENT_CPCAM - VTC: OMAP_ENHANCEMENT_VTC - S3D: OMAP_ENHANCEMENT_S3D - Burst capture: OMAP_ENHANCEMENT Disabled the VTC test. Disabled the camera_test. Must be used together with: http://review.omapzoom.org/#/c/23318/ Change-Id: Ie23aa6b7e0a72dabe529f2828442afa0464d4af4 Signed-off-by: Daniel Levin <dendy@ti.com>
Diffstat (limited to 'camera/BufferSourceAdapter.cpp')
-rw-r--r--camera/BufferSourceAdapter.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/camera/BufferSourceAdapter.cpp b/camera/BufferSourceAdapter.cpp
index 9d51e0f..0ac0029 100644
--- a/camera/BufferSourceAdapter.cpp
+++ b/camera/BufferSourceAdapter.cpp
@@ -14,6 +14,8 @@
* limitations under the License.
*/
+#ifdef OMAP_ENHANCEMENT_CPCAM
+
#include "BufferSourceAdapter.h"
#include <ui/GraphicBuffer.h>
#include <ui/GraphicBufferMapper.h>
@@ -787,3 +789,4 @@ void BufferSourceAdapter::frameCallback(CameraFrame* caFrame)
};
+#endif