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
#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
......
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