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
1eee394c
Commit
1eee394c
authored
Nov 27, 2017
by
James Almer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/vc1dec: fix preprocessor checks and hw_configs lists for the hwaccels
Signed-off-by:
James Almer
<
jamrial@gmail.com
>
parent
921d7af6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
18 deletions
+18
-18
vc1dec.c
libavcodec/vc1dec.c
+18
-18
No files found.
libavcodec/vc1dec.c
View file @
1eee394c
...
@@ -1146,23 +1146,23 @@ AVCodec ff_vc1_decoder = {
...
@@ -1146,23 +1146,23 @@ AVCodec ff_vc1_decoder = {
.
capabilities
=
AV_CODEC_CAP_DR1
|
AV_CODEC_CAP_DELAY
,
.
capabilities
=
AV_CODEC_CAP_DR1
|
AV_CODEC_CAP_DELAY
,
.
pix_fmts
=
vc1_hwaccel_pixfmt_list_420
,
.
pix_fmts
=
vc1_hwaccel_pixfmt_list_420
,
.
hw_configs
=
(
const
AVCodecHWConfigInternal
*
[])
{
.
hw_configs
=
(
const
AVCodecHWConfigInternal
*
[])
{
#if CONFIG_
WMV3
_DXVA2_HWACCEL
#if CONFIG_
VC1
_DXVA2_HWACCEL
HWACCEL_DXVA2
(
wmv3
),
HWACCEL_DXVA2
(
vc1
),
#endif
#endif
#if CONFIG_
WMV3
_D3D11VA_HWACCEL
#if CONFIG_
VC1
_D3D11VA_HWACCEL
HWACCEL_D3D11VA
(
wmv3
),
HWACCEL_D3D11VA
(
vc1
),
#endif
#endif
#if CONFIG_
WMV3
_D3D11VA2_HWACCEL
#if CONFIG_
VC1
_D3D11VA2_HWACCEL
HWACCEL_D3D11VA2
(
wmv3
),
HWACCEL_D3D11VA2
(
vc1
),
#endif
#endif
#if CONFIG_
WMV3
_NVDEC_HWACCEL
#if CONFIG_
VC1
_NVDEC_HWACCEL
HWACCEL_NVDEC
(
wmv3
),
HWACCEL_NVDEC
(
vc1
),
#endif
#endif
#if CONFIG_
WMV3
_VAAPI_HWACCEL
#if CONFIG_
VC1
_VAAPI_HWACCEL
HWACCEL_VAAPI
(
wmv3
),
HWACCEL_VAAPI
(
vc1
),
#endif
#endif
#if CONFIG_
WMV3
_VDPAU_HWACCEL
#if CONFIG_
VC1
_VDPAU_HWACCEL
HWACCEL_VDPAU
(
wmv3
),
HWACCEL_VDPAU
(
vc1
),
#endif
#endif
NULL
NULL
},
},
...
@@ -1183,22 +1183,22 @@ AVCodec ff_wmv3_decoder = {
...
@@ -1183,22 +1183,22 @@ AVCodec ff_wmv3_decoder = {
.
capabilities
=
AV_CODEC_CAP_DR1
|
AV_CODEC_CAP_DELAY
,
.
capabilities
=
AV_CODEC_CAP_DR1
|
AV_CODEC_CAP_DELAY
,
.
pix_fmts
=
vc1_hwaccel_pixfmt_list_420
,
.
pix_fmts
=
vc1_hwaccel_pixfmt_list_420
,
.
hw_configs
=
(
const
AVCodecHWConfigInternal
*
[])
{
.
hw_configs
=
(
const
AVCodecHWConfigInternal
*
[])
{
#if CONFIG_
VC1
_DXVA2_HWACCEL
#if CONFIG_
WMV3
_DXVA2_HWACCEL
HWACCEL_DXVA2
(
wmv3
),
HWACCEL_DXVA2
(
wmv3
),
#endif
#endif
#if CONFIG_
VC1
_D3D11VA_HWACCEL
#if CONFIG_
WMV3
_D3D11VA_HWACCEL
HWACCEL_D3D11VA
(
wmv3
),
HWACCEL_D3D11VA
(
wmv3
),
#endif
#endif
#if CONFIG_
VC1
_D3D11VA2_HWACCEL
#if CONFIG_
WMV3
_D3D11VA2_HWACCEL
HWACCEL_D3D11VA2
(
wmv3
),
HWACCEL_D3D11VA2
(
wmv3
),
#endif
#endif
#if CONFIG_
VC1
_NVDEC_HWACCEL
#if CONFIG_
WMV3
_NVDEC_HWACCEL
HWACCEL_NVDEC
(
wmv3
),
HWACCEL_NVDEC
(
wmv3
),
#endif
#endif
#if CONFIG_
VC1
_VAAPI_HWACCEL
#if CONFIG_
WMV3
_VAAPI_HWACCEL
HWACCEL_VAAPI
(
wmv3
),
HWACCEL_VAAPI
(
wmv3
),
#endif
#endif
#if CONFIG_
VC1
_VDPAU_HWACCEL
#if CONFIG_
WMV3
_VDPAU_HWACCEL
HWACCEL_VDPAU
(
wmv3
),
HWACCEL_VDPAU
(
wmv3
),
#endif
#endif
NULL
NULL
...
...
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