• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

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

hardware/intel/libva


Commit MetaInfo

Revision0108c576ab09ac33c5edaee78bcc468527e32da8 (tree)
Time2009-07-08 18:42:05
AuthorGwenole Beauchesne <gbeauchesne@spli...>
CommiterAustin Yuan

Log Message

Add VA_INVALID_ID helper macro.

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>

Change Summary

Incremental Difference

--- a/src/va.h
+++ b/src/va.h
@@ -364,7 +364,8 @@ typedef VAGenericID VAContextID;
364364
365365 typedef VAGenericID VASurfaceID;
366366
367-#define VA_INVALID_SURFACE -1
367+#define VA_INVALID_ID 0xffffffff
368+#define VA_INVALID_SURFACE VA_INVALID_ID
368369
369370 /*
370371 * vaCreateSurfaces - Create an array of surfaces used for decode and display