You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
1.1 KiB

/*
* Copyright (c) Hisilicon Technologies Co., Ltd. 2020-2020. All rights reserved.
* Description: nxmediawapper common define
* Author: NxPlayer software group
* Create: 2020-09-05
*/
#ifndef NXMEDIAWAPPERDEFINE_H
#define NXMEDIAWAPPERDEFINE_H
#define NMP_VIP_TAG "NP_VIP"
#define NMR_VIP_TAG "NR_VIP"
#define HLOGV(format, ...) __android_log_print(ANDROID_LOG_VERBOSE, LOG_TAG, \
"[%d][%s:%d]: " format, this->m_instIdx, __FUNCTION__, __LINE__, ##__VA_ARGS__);
#define HLOGD(format, ...) __android_log_print(ANDROID_LOG_DEBUG, LOG_TAG, \
"[%d][%s:%d]: " format, this->m_instIdx, __FUNCTION__, __LINE__, ##__VA_ARGS__);
#define HLOGI(format, ...) __android_log_print(ANDROID_LOG_INFO, LOG_TAG, \
"[%d][%s:%d]: " format, this->m_instIdx, __FUNCTION__, __LINE__, ##__VA_ARGS__);
#define HLOGW(format, ...) __android_log_print(ANDROID_LOG_WARN, LOG_TAG, \
"[%d][%s:%d]: " format, this->m_instIdx, __FUNCTION__, __LINE__, ##__VA_ARGS__);
#define HLOGE(format, ...) __android_log_print(ANDROID_LOG_ERROR, LOG_TAG, \
"[%d][%s:%d]: " format, this->m_instIdx, __FUNCTION__, __LINE__, ##__VA_ARGS__);
#endif