summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSunita Nadampalli2013-09-13 06:35:59 -0500
committerSunita Nadampalli2013-09-13 06:35:59 -0500
commit2cf98af97f1e826818dafdfe4139506bf4778751 (patch)
tree98af2bf7d4cd07c5a7984f7dcaf561282157ea96 /dce_priv.h
parent2951de0afaf2ce000d37ec8505b27b05924012dd (diff)
downloadhardware-ti-libdce-2cf98af97f1e826818dafdfe4139506bf4778751.tar.gz
hardware-ti-libdce-2cf98af97f1e826818dafdfe4139506bf4778751.tar.xz
hardware-ti-libdce-2cf98af97f1e826818dafdfe4139506bf4778751.zip
[LIBDCE] Add Android specific changes
This patch adds changes specific to Android OS: (1) Semaphore handling (2) Input buffer offset handling Change-Id: Id6232e0b90e638fd1268ccbfafb51c6ca916fad2 Signed-off-by: Sunita Nadampalli <sunitan@ti.com>
Diffstat (limited to 'dce_priv.h')
-rw-r--r--dce_priv.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/dce_priv.h b/dce_priv.h
index 70ee4c5..f0ac227 100644
--- a/dce_priv.h
+++ b/dce_priv.h
@@ -64,6 +64,12 @@ extern int dce_debug;
64#define TRACE(lvl,FMT, ...) do if ((lvl) <= dce_debug) { \ 64#define TRACE(lvl,FMT, ...) do if ((lvl) <= dce_debug) { \
65 printf("%s:%d:\t%s\t Error: "FMT,__FILE__, __LINE__,__FUNCTION__ ,##__VA_ARGS__); \ 65 printf("%s:%d:\t%s\t Error: "FMT,__FILE__, __LINE__,__FUNCTION__ ,##__VA_ARGS__); \
66}while( 0 ) 66}while( 0 )
67
68#elif defined BUILDOS_ANDROID
69#include <utils/Log.h>
70#define TRACE(lvl,FMT, ...) do if ((lvl) <= dce_debug) { \
71 ALOGE("%s:%d:\t%s\t Error: "FMT,__FILE__, __LINE__,__FUNCTION__ ,##__VA_ARGS__); \
72}while( 0 )
67#endif 73#endif
68 74
69/***************** ASSERT MACROS *********************/ 75/***************** ASSERT MACROS *********************/