545 files changed, 230976 insertions, 0 deletions
diff --git a/amadec/include/log-print.h b/amadec/include/log-print.h new file mode 100644 index 0000000..639f4ba --- a/dev/null +++ b/amadec/include/log-print.h @@ -0,0 +1,26 @@ +/** + * \file log-print.h + * \brief Definitiond Of Print Functions + * \version 1.0.0 + * \date 2011-03-08 + */ +/* Copyright (C) 2007-2011, Amlogic Inc. + * All right reserved + * + */ +#ifndef LOG_PRINT_H +#define LOG_PRINT_H + +#ifdef ANDROID +#include <android/log.h> +#include <stdio.h> +#include <stdarg.h> +#include <string.h> +#define LOG_TAG "amadec" +#define adec_print(...) __android_log_print(ANDROID_LOG_INFO,LOG_TAG,__VA_ARGS__) +#else +#define adec_print(f,s...) fprintf(stderr,f,##s) +#endif + + +#endif |