#include <mm_types.h>
#include <dlog.h>
#include <video_util_type.h>
+#include <stdio.h>
#ifdef LOG_TAG
#undef LOG_TAG
#define LOG_TAG "CAPI_MEDIA_VIDEO_UTIL"
+#define video_util_debug(fmt, arg...) printf(fmt, ##arg); //LCOV_EXCL_LINE
+#define video_util_info(fmt, arg...) printf(fmt, ##arg); //LCOV_EXCL_LINE
+#define video_util_error(fmt, arg...) printf(fmt, ##arg); //LCOV_EXCL_LINE
+#define video_util_debug_fenter() printf(fmt, ##arg); //LCOV_EXCL_LINE
+#define video_util_debug_fleave() printf(fmt, ##arg); //LCOV_EXCL_LINE
+#define video_util_secure_info(fmt, arg...) printf(fmt, ##arg); //LCOV_EXCL_LINE
+#define video_util_deprecated_log(fuction) printf("%s", fuction); //LCOV_EXCL_LINE
+
+#if 0
#define video_util_debug(fmt, arg...) do { \
LOGD(""fmt"", ##arg); \
} while (0)
LOGW("DEPRECATION WARNING: %s() is deprecated and will be removed "\
"from next release.", fuction); \
} while (0)
+#endif
typedef bool(*video_util_supported_type_cb)(int type, void *user_data);
return true;
}
+//LCOV_EXCL_START
static video_util_error_e __video_util_error_convert(int error)
{
if (error == MM_ERROR_NONE) {
return VIDEO_UTIL_ERROR_INVALID_OPERATION;
}
}
+//LCOV_EXCL_STOP
static void __video_util_transcode_progress_cb(unsigned long current_position, unsigned long duration, void *user_data)
{