omx_comp_debug_levels.h

Go to the documentation of this file.
00001 
00032 #ifndef __OMX_COMP_DEBUG_LEVELS_H__
00033 #define __OMX_COMP_DEBUG_LEVELS_H__
00034 
00035 #include <stdio.h>
00036 
00039 #define DEB_LEV_NO_OUTPUT  0
00040 
00043 #define DEB_LEV_ERR        1
00044  
00047 #define DEB_LEV_PARAMS     2
00048 
00052 #define DEB_LEV_SIMPLE_SEQ 4
00053 
00058 #define DEB_LEV_FULL_SEQ   8
00059 
00063 #define DEB_LEV_FUNCTION_NAME 16
00064 
00067 #define DEB_ALL_MESS   255
00068 
00070 #define DEBUG_LEVEL (DEB_LEV_ERR)
00071 #if DEBUG_LEVEL > 0
00072 #define DEBUG(n, args...) do { if (DEBUG_LEVEL & (n)){fprintf(stderr, "OMX-"); fprintf(stderr, args);} } while (0)
00073 #else
00074 #define DEBUG(n, args...) 
00075 #endif
00076 
00077 #endif

Generated for OpenMAX Bellagio rel. 0.3.5-svn by  doxygen 1.5.1
SourceForge.net Logo