summaryrefslogtreecommitdiffstats
path: root/camera/Android.mk
diff options
context:
space:
mode:
authorTyler Luu <tluu@ti.com>2011-08-31 21:12:17 -0500
committerIliyan Malchev <malchev@google.com>2011-09-02 14:49:15 -0700
commit4cd3d81d19ec56606c40343f7c155c05bfc11e4c (patch)
tree58c17ab988b2f5f2be88d2c1fb9c0294b7b8ad73 /camera/Android.mk
parent13eb074aebac01d1238e6a94a334ed9bac779d5c (diff)
downloadhardware_ti_omap4-4cd3d81d19ec56606c40343f7c155c05bfc11e4c.zip
hardware_ti_omap4-4cd3d81d19ec56606c40343f7c155c05bfc11e4c.tar.gz
hardware_ti_omap4-4cd3d81d19ec56606c40343f7c155c05bfc11e4c.tar.bz2
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 <tluu@ti.com>
Diffstat (limited to 'camera/Android.mk')
-rw-r--r--camera/Android.mk5
1 files changed, 4 insertions, 1 deletions
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