• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

hardware/intel/libva


Commit MetaInfo

修訂7451873c2061ab068d76926db83d8b15575efcad (tree)
時間2009-11-18 12:51:11
作者Gwenole Beauchesne <gbeauchesne@spli...>
CommiterXiang, Haihao

Log Message

Add MAX helper function

Change Summary

差異

--- a/i965_drv_video/intel_driver.h
+++ b/i965_drv_video/intel_driver.h
@@ -43,6 +43,7 @@ struct intel_batchbuffer;
4343
4444 #define ALIGN(i, n) (((i) + (n) - 1) & ~((n) - 1))
4545 #define MIN(a, b) ((a) < (b) ? (a) : (b))
46+#define MAX(a, b) ((a) > (b) ? (a) : (b))
4647
4748 #define SET_BLOCKED_SIGSET() do { \
4849 sigset_t bl_mask; \