hardware/intel/libva
修訂 | 7451873c2061ab068d76926db83d8b15575efcad (tree) |
---|---|
時間 | 2009-11-18 12:51:11 |
作者 | Gwenole Beauchesne <gbeauchesne@spli...> |
Commiter | Xiang, Haihao |
Add MAX helper function
@@ -43,6 +43,7 @@ struct intel_batchbuffer; | ||
43 | 43 | |
44 | 44 | #define ALIGN(i, n) (((i) + (n) - 1) & ~((n) - 1)) |
45 | 45 | #define MIN(a, b) ((a) < (b) ? (a) : (b)) |
46 | +#define MAX(a, b) ((a) > (b) ? (a) : (b)) | |
46 | 47 | |
47 | 48 | #define SET_BLOCKED_SIGSET() do { \ |
48 | 49 | sigset_t bl_mask; \ |