From 4cd3d81d19ec56606c40343f7c155c05bfc11e4c Mon Sep 17 00:00:00 2001 From: Tyler Luu Date: Wed, 31 Aug 2011 21:12:17 -0500 Subject: CameraHal: Initial support for video snapshot Adds support for capturing an image while recording in video mode. Sets up Ducati to return a YUV422I buffer and encode is performed in AppCallbackNotifier with Encoder_libjpeg class. Change-Id: Ia351fc99dab63a12add8c6c960b186bbe5be275a Signed-off-by: Tyler Luu --- camera/Android.mk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'camera/Android.mk') diff --git a/camera/Android.mk b/camera/Android.mk index 948c33c..21209d1 100644 --- a/camera/Android.mk +++ b/camera/Android.mk @@ -13,6 +13,7 @@ OMAP4_CAMERA_HAL_SRC := \ ANativeWindowDisplayAdapter.cpp \ CameraProperties.cpp \ MemoryManager.cpp \ + Encoder_libjpeg.cpp \ SensorListener.cpp OMAP4_CAMERA_COMMON_SRC:= \ @@ -63,7 +64,8 @@ LOCAL_C_INCLUDES += \ hardware/ti/omap4xxx/domx/omx_core/inc \ hardware/ti/omap4xxx/domx/mm_osal/inc \ frameworks/base/include/media/stagefright \ - frameworks/base/include/media/stagefright/openmax + frameworks/base/include/media/stagefright/openmax \ + external/jpeg LOCAL_SHARED_LIBRARIES:= \ libui \ @@ -78,6 +80,7 @@ LOCAL_SHARED_LIBRARIES:= \ libgui \ libdomx \ libion \ + libjpeg LOCAL_CFLAGS := -fno-short-enums -DCOPY_IMAGE_BUFFER -- cgit v1.1