GK SDK 源码库: XMIPCLinuxV100R005C00SPC030 (kernel/tools/open_source excluded)

This commit is contained in:
lai
2026-09-06 03:52:57 +08:00
commit b1928b41c0
21813 changed files with 4413081 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
/*
* Copyright (c) XMEDIA. All rights reserved.
*/
#ifndef __VENC_LOG_H__
#define __VENC_LOG_H__
#include "log_base.h"
#undef TAG
#define TAG "VENC"
#define venc_loge LOGE
#define venc_logw LOGW
#define venc_logi LOGI
#define venc_logd LOGD
#define func_entry() venc_logd("entry\n")
#define func_success() venc_logd("success\n")
#define func_fail() venc_loge("failed\n")
#define check_null_goto(ptr, tag) do { \
if ((ptr) == NULL) { \
venc_loge("invalid param.\n"); \
goto tag; \
} \
} while (0)
#endif