debug.h

来自「TI workshop 培训资料。 是关于如何创建DAVINCI平台下codec」· C头文件 代码 · 共 26 行

H
26
字号
/* * debug.h * * ============================================================================ * Copyright (c) Texas Instruments Inc 2005 * * Use of this software is controlled by the terms and conditions found in the * license agreement under which this software has been supplied or provided. * ============================================================================ */#include <stdio.h>/* Enables or disables debug output */#ifdef _DEBUG_#define DBG(fmt, args...) fprintf(stderr, "Debug: " fmt, ## args)#define dspTraceDump(ce) Engine_fwriteTrace((ce), "[DSP] ", stderr)#else#define DBG(fmt, args...)#define dspTraceDump(ce)#endif#define ERR(fmt, args...) fprintf(stderr, "Error: " fmt, ## args)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?