Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libva
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
libva
Commits
261597ab
Commit
261597ab
authored
Apr 01, 2011
by
Austin Yuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use constant instead of enum for RenderDevice/RenderMode
Signed-off-by:
Austin Yuan
<
shengquan.yuan@gmail.com
>
parent
ed009b23
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
14 deletions
+8
-14
va/va.h
va/va.h
+8
-14
No files found.
va/va.h
View file @
261597ab
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment