summaryrefslogtreecommitdiff
path: root/src/xvmc/intel_xvmc.h
blob: 072a0f49aab231844819fc42fa35d45831229332 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

#ifndef INTEL_XVMC_H
#define INTEL_XVMC_H

#define DEBUG 0

#define XVMC_ERR(s, arg...)					\
    do {							\
	fprintf(stderr, "intel_xvmc err: " s "\n", ##arg);	\
    } while (0)

#define XVMC_INFO(s, arg...)					\
    do {							\
	fprintf(stderr, "intel_xvmc info: " s "\n", ##arg);	\
    } while (0)

#define XVMC_DBG(s, arg...)						\
    do {								\
	if (DEBUG)							\
	    fprintf(stderr, "intel_xvmc debug: " s "\n", ##arg);	\
    } while (0)

#endif