diff options
Diffstat (limited to 'va/va_trace.h')
-rw-r--r-- | va/va_trace.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/va/va_trace.h b/va/va_trace.h index a211c82..29599ea 100644 --- a/va/va_trace.h +++ b/va/va_trace.h @@ -41,17 +41,13 @@ extern int trace_flag; VA_TRACE_FLAG_SURFACE_ENCODE | \ VA_TRACE_FLAG_SURFACE_JPEG) -#define VA_TRACE_FUNC(trace_func,...) \ - if (trace_flag) { \ - trace_func(__VA_ARGS__); \ - } #define VA_TRACE_LOG(trace_func,...) \ - if (trace_flag & VA_TRACE_FLAG_LOG) { \ + if (trace_flag & VA_TRACE_FLAG_LOG) { \ trace_func(__VA_ARGS__); \ } -#define VA_TRACE_SURFACE(trace_func,...) \ - if (trace_flag & (VA_TRACE_FLAG_SURFACE | VA_TRACE_FLAG_CODEDBUF)) { \ - trace_func(__VA_ARGS__); \ +#define VA_TRACE_SURFACE(trace_func,...) \ + if (trace_flag & (VA_TRACE_FLAG_SURFACE | VA_TRACE_FLAG_CODEDBUF)) { \ + trace_func(__VA_ARGS__); \ } void va_TraceInit(VADisplay dpy); |