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
b4159d95
Commit
b4159d95
authored
Apr 11, 2018
by
Hendrik Leppkes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/dxva2: add VP9 10-bit Profile2 mode mappings
parent
9f3902f1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
dxva2.c
libavcodec/dxva2.c
+7
-1
No files found.
libavcodec/dxva2.c
View file @
b4159d95
...
@@ -44,6 +44,7 @@ DEFINE_GUID(ff_DXVA2_ModeVC1_D2010, 0x1b81beA4, 0xa0c7,0x11d3,0xb9,0x84,0x0
...
@@ -44,6 +44,7 @@ DEFINE_GUID(ff_DXVA2_ModeVC1_D2010, 0x1b81beA4, 0xa0c7,0x11d3,0xb9,0x84,0x0
DEFINE_GUID
(
ff_DXVA2_ModeHEVC_VLD_Main
,
0x5b11d51b
,
0x2f4c
,
0x4452
,
0xbc
,
0xc3
,
0x09
,
0xf2
,
0xa1
,
0x16
,
0x0c
,
0xc0
);
DEFINE_GUID
(
ff_DXVA2_ModeHEVC_VLD_Main
,
0x5b11d51b
,
0x2f4c
,
0x4452
,
0xbc
,
0xc3
,
0x09
,
0xf2
,
0xa1
,
0x16
,
0x0c
,
0xc0
);
DEFINE_GUID
(
ff_DXVA2_ModeHEVC_VLD_Main10
,
0x107af0e0
,
0xef1a
,
0x4d19
,
0xab
,
0xa8
,
0x67
,
0xa1
,
0x63
,
0x07
,
0x3d
,
0x13
);
DEFINE_GUID
(
ff_DXVA2_ModeHEVC_VLD_Main10
,
0x107af0e0
,
0xef1a
,
0x4d19
,
0xab
,
0xa8
,
0x67
,
0xa1
,
0x63
,
0x07
,
0x3d
,
0x13
);
DEFINE_GUID
(
ff_DXVA2_ModeVP9_VLD_Profile0
,
0x463707f8
,
0xa1d0
,
0x4585
,
0x87
,
0x6d
,
0x83
,
0xaa
,
0x6d
,
0x60
,
0xb8
,
0x9e
);
DEFINE_GUID
(
ff_DXVA2_ModeVP9_VLD_Profile0
,
0x463707f8
,
0xa1d0
,
0x4585
,
0x87
,
0x6d
,
0x83
,
0xaa
,
0x6d
,
0x60
,
0xb8
,
0x9e
);
DEFINE_GUID
(
ff_DXVA2_ModeVP9_VLD_10bit_Profile2
,
0xa4c749ef
,
0x6ecf
,
0x48aa
,
0x84
,
0x48
,
0x50
,
0xa7
,
0xa1
,
0x16
,
0x5f
,
0xf7
);
DEFINE_GUID
(
ff_DXVA2_NoEncrypt
,
0x1b81beD0
,
0xa0c7
,
0x11d3
,
0xb9
,
0x84
,
0x00
,
0xc0
,
0x4f
,
0x2e
,
0x73
,
0xc5
);
DEFINE_GUID
(
ff_DXVA2_NoEncrypt
,
0x1b81beD0
,
0xa0c7
,
0x11d3
,
0xb9
,
0x84
,
0x00
,
0xc0
,
0x4f
,
0x2e
,
0x73
,
0xc5
);
DEFINE_GUID
(
ff_GUID_NULL
,
0x00000000
,
0x0000
,
0x0000
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
);
DEFINE_GUID
(
ff_GUID_NULL
,
0x00000000
,
0x0000
,
0x0000
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
);
DEFINE_GUID
(
ff_IID_IDirectXVideoDecoderService
,
0xfc51a551
,
0xd5e7
,
0x11d9
,
0xaf
,
0x55
,
0x00
,
0x05
,
0x4e
,
0x43
,
0xff
,
0x02
);
DEFINE_GUID
(
ff_IID_IDirectXVideoDecoderService
,
0xfc51a551
,
0xd5e7
,
0x11d9
,
0xaf
,
0x55
,
0x00
,
0x05
,
0x4e
,
0x43
,
0xff
,
0x02
);
...
@@ -67,6 +68,10 @@ static const int prof_hevc_main[] = {FF_PROFILE_HEVC_MAIN,
...
@@ -67,6 +68,10 @@ static const int prof_hevc_main[] = {FF_PROFILE_HEVC_MAIN,
FF_PROFILE_UNKNOWN
};
FF_PROFILE_UNKNOWN
};
static
const
int
prof_hevc_main10
[]
=
{
FF_PROFILE_HEVC_MAIN_10
,
static
const
int
prof_hevc_main10
[]
=
{
FF_PROFILE_HEVC_MAIN_10
,
FF_PROFILE_UNKNOWN
};
FF_PROFILE_UNKNOWN
};
static
const
int
prof_vp9_profile0
[]
=
{
FF_PROFILE_VP9_0
,
FF_PROFILE_UNKNOWN
};
static
const
int
prof_vp9_profile2
[]
=
{
FF_PROFILE_VP9_2
,
FF_PROFILE_UNKNOWN
};
static
const
dxva_mode
dxva_modes
[]
=
{
static
const
dxva_mode
dxva_modes
[]
=
{
/* MPEG-2 */
/* MPEG-2 */
...
@@ -90,7 +95,8 @@ static const dxva_mode dxva_modes[] = {
...
@@ -90,7 +95,8 @@ static const dxva_mode dxva_modes[] = {
{
&
ff_DXVA2_ModeHEVC_VLD_Main
,
AV_CODEC_ID_HEVC
,
prof_hevc_main
},
{
&
ff_DXVA2_ModeHEVC_VLD_Main
,
AV_CODEC_ID_HEVC
,
prof_hevc_main
},
/* VP8/9 */
/* VP8/9 */
{
&
ff_DXVA2_ModeVP9_VLD_Profile0
,
AV_CODEC_ID_VP9
},
{
&
ff_DXVA2_ModeVP9_VLD_Profile0
,
AV_CODEC_ID_VP9
,
prof_vp9_profile0
},
{
&
ff_DXVA2_ModeVP9_VLD_10bit_Profile2
,
AV_CODEC_ID_VP9
,
prof_vp9_profile2
},
{
NULL
,
0
},
{
NULL
,
0
},
};
};
...
...
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