Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
b0ece2b3
Commit
b0ece2b3
authored
Sep 15, 2017
by
Mark Thompson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hwcontext_vaapi: Fix DRM format mapping
parent
9f9625ea
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
hwcontext_vaapi.c
libavutil/hwcontext_vaapi.c
+8
-8
No files found.
libavutil/hwcontext_vaapi.c
View file @
b0ece2b3
...
...
@@ -925,16 +925,16 @@ static const struct {
#if defined(VA_FOURCC_P010) && defined(DRM_FORMAT_R16)
DRM_MAP
(
P010
,
2
,
DRM_FORMAT_R16
,
DRM_FORMAT_RG1616
),
#endif
DRM_MAP
(
BGRA
,
1
,
DRM_FORMAT_
BGRA
8888
),
DRM_MAP
(
BGRX
,
1
,
DRM_FORMAT_
BGRX
8888
),
DRM_MAP
(
RGBA
,
1
,
DRM_FORMAT_
RGBA
8888
),
DRM_MAP
(
RGBX
,
1
,
DRM_FORMAT_
RGBX
8888
),
DRM_MAP
(
BGRA
,
1
,
DRM_FORMAT_
ARGB
8888
),
DRM_MAP
(
BGRX
,
1
,
DRM_FORMAT_
XRGB
8888
),
DRM_MAP
(
RGBA
,
1
,
DRM_FORMAT_
ABGR
8888
),
DRM_MAP
(
RGBX
,
1
,
DRM_FORMAT_
XBGR
8888
),
#ifdef VA_FOURCC_ABGR
DRM_MAP
(
ABGR
,
1
,
DRM_FORMAT_
ABGR
8888
),
DRM_MAP
(
XBGR
,
1
,
DRM_FORMAT_
XBGR
8888
),
DRM_MAP
(
ABGR
,
1
,
DRM_FORMAT_
RGBA
8888
),
DRM_MAP
(
XBGR
,
1
,
DRM_FORMAT_
RGBX
8888
),
#endif
DRM_MAP
(
ARGB
,
1
,
DRM_FORMAT_
ARGB
8888
),
DRM_MAP
(
XRGB
,
1
,
DRM_FORMAT_
XRGB
8888
),
DRM_MAP
(
ARGB
,
1
,
DRM_FORMAT_
BGRA
8888
),
DRM_MAP
(
XRGB
,
1
,
DRM_FORMAT_
BGRX
8888
),
};
#undef DRM_MAP
...
...
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