comparison common.h @ 1170:4710976004a5 libavcodec

#ifdef TRACE printf() -> tprintf()
author michaelni
date Sat, 05 Apr 2003 10:08:48 +0000
parents 69efd29c861e
children a2c5eb457c41
comparison
equal deleted inserted replaced
1169:4e891257d3e2 1170:4710976004a5
823 #define get_bits(s, n) get_bits_trace(s, n, __FILE__, __PRETTY_FUNCTION__, __LINE__) 823 #define get_bits(s, n) get_bits_trace(s, n, __FILE__, __PRETTY_FUNCTION__, __LINE__)
824 #define get_bits1(s) get_bits_trace(s, 1, __FILE__, __PRETTY_FUNCTION__, __LINE__) 824 #define get_bits1(s) get_bits_trace(s, 1, __FILE__, __PRETTY_FUNCTION__, __LINE__)
825 #define get_vlc(s, vlc) get_vlc_trace(s, (vlc)->table, (vlc)->bits, 3, __FILE__, __PRETTY_FUNCTION__, __LINE__) 825 #define get_vlc(s, vlc) get_vlc_trace(s, (vlc)->table, (vlc)->bits, 3, __FILE__, __PRETTY_FUNCTION__, __LINE__)
826 #define get_vlc2(s, tab, bits, max) get_vlc_trace(s, tab, bits, max, __FILE__, __PRETTY_FUNCTION__, __LINE__) 826 #define get_vlc2(s, tab, bits, max) get_vlc_trace(s, tab, bits, max, __FILE__, __PRETTY_FUNCTION__, __LINE__)
827 827
828 #endif //TRACE 828 #define tprintf printf
829
830 #else //TRACE
831 #define tprintf(...) {}
832 #endif
829 833
830 /* define it to include statistics code (useful only for optimizing 834 /* define it to include statistics code (useful only for optimizing
831 codec efficiency */ 835 codec efficiency */
832 //#define STATS 836 //#define STATS
833 837