/* * 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