diff options
author | Austin Yuan <shengquan.yuan@gmail.com> | 2011-04-01 15:07:31 +0800 |
---|---|---|
committer | Austin Yuan <shengquan.yuan@gmail.com> | 2011-04-01 15:07:31 +0800 |
commit | 261597abee3becaa0bff659d0cd8b65367fd643a (patch) | |
tree | e758d8b194a158339e92b3a7bf636fb24654a8e8 /va/va.h | |
parent | ed009b2324361b29fb6e381ed9d8d18c9efac982 (diff) |
Use constant instead of enum for RenderDevice/RenderModelibva-1.0.12
Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
Diffstat (limited to 'va/va.h')
-rw-r--r-- | va/va.h | 22 |
1 files changed, 8 insertions, 14 deletions
@@ -1852,22 +1852,16 @@ typedef enum #define VA_OOL_DEBLOCKING_TRUE 0x00000001 /* Render mode */ -typedef enum -{ - VARenderModeUndefined = 0, - VARenderModeLocalOverlay = 1, - VARenderModeLocalGPU = 2, - VARenderModeExternalOverlay = 4, - VARenderModeExternalGPU = 8 -} VARenderMode; +#define VA_RENDER_MODE_UNDEFINED 0 +#define VA_RENDER_MODE_LOCAL_OVERLAY 1 +#define VA_RENDER_MODE_LOCAL_GPU 2 +#define VA_RENDER_MODE_EXTERNAL_OVERLAY 4 +#define VA_RENDER_MODE_EXTERNAL_GPU 8 /* Render device */ -typedef enum -{ - VARenderDeviceUndefined = 0, - VARenderDeviceLocal = 1, - VARenderDeviceExternal = 2 -} VARenderDevice; +#define VA_RENDER_DEVICE_UNDEFINED 0 +#define VA_RENDER_DEVICE_LOCAL 1 +#define VA_RENDER_DEVICE_EXTERNAL 2 /* Currently defined display attribute types */ typedef enum |