Commit 261597ab authored by Austin Yuan's avatar Austin Yuan

Use constant instead of enum for RenderDevice/RenderMode

Signed-off-by: default avatarAustin Yuan <shengquan.yuan@gmail.com>
parent ed009b23
...@@ -1852,22 +1852,16 @@ typedef enum ...@@ -1852,22 +1852,16 @@ typedef enum
#define VA_OOL_DEBLOCKING_TRUE 0x00000001 #define VA_OOL_DEBLOCKING_TRUE 0x00000001
/* Render mode */ /* Render mode */
typedef enum #define VA_RENDER_MODE_UNDEFINED 0
{ #define VA_RENDER_MODE_LOCAL_OVERLAY 1
VARenderModeUndefined = 0, #define VA_RENDER_MODE_LOCAL_GPU 2
VARenderModeLocalOverlay = 1, #define VA_RENDER_MODE_EXTERNAL_OVERLAY 4
VARenderModeLocalGPU = 2, #define VA_RENDER_MODE_EXTERNAL_GPU 8
VARenderModeExternalOverlay = 4,
VARenderModeExternalGPU = 8
} VARenderMode;
/* Render device */ /* Render device */
typedef enum #define VA_RENDER_DEVICE_UNDEFINED 0
{ #define VA_RENDER_DEVICE_LOCAL 1
VARenderDeviceUndefined = 0, #define VA_RENDER_DEVICE_EXTERNAL 2
VARenderDeviceLocal = 1,
VARenderDeviceExternal = 2
} VARenderDevice;
/* Currently defined display attribute types */ /* Currently defined display attribute types */
typedef enum typedef enum
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment