Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
vlc
Commits
7b91aa21
Commit
7b91aa21
authored
Dec 09, 2011
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DxVA: Re-format the table
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
fa04d6b8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
47 additions
and
40 deletions
+47
-40
modules/codec/avcodec/dxva2.c
modules/codec/avcodec/dxva2.c
+47
-40
No files found.
modules/codec/avcodec/dxva2.c
View file @
7b91aa21
...
...
@@ -184,46 +184,53 @@ typedef struct {
}
dxva2_mode_t
;
/* XXX Prefered modes must come first */
static
const
dxva2_mode_t
dxva2_modes
[]
=
{
{
"MPEG-2 variable-length decoder"
,
&
DXVA2_ModeMPEG2_VLD
,
CODEC_ID_MPEG2VIDEO
},
{
"MPEG-2 & MPEG-1 variable-length decoder"
,
&
DXVA2_ModeMPEG2and1_VLD
,
CODEC_ID_MPEG2VIDEO
},
{
"MPEG-2 motion compensation"
,
&
DXVA2_ModeMPEG2_MoComp
,
0
},
{
"MPEG-2 inverse discrete cosine transform"
,
&
DXVA2_ModeMPEG2_IDCT
,
0
},
{
"MPEG-1 variable-length decoder"
,
&
DXVA2_ModeMPEG1_VLD
,
0
},
{
"H.264 variable-length decoder, film grain technology"
,
&
DXVA2_ModeH264_F
,
CODEC_ID_H264
},
{
"H.264 variable-length decoder, no film grain technology"
,
&
DXVA2_ModeH264_E
,
CODEC_ID_H264
},
{
"H.264 variable-length decoder, no film grain technology (Intel ClearVideo)"
,
&
DXVADDI_Intel_ModeH264_E
,
CODEC_ID_H264
},
{
"H.264 variable-length decoder, no film grain technology, FMO/ASO"
,
&
DXVA_ModeH264_VLD_WithFMOASO_NoFGT
,
CODEC_ID_H264
},
{
"H.264 inverse discrete cosine transform, film grain technology"
,
&
DXVA2_ModeH264_D
,
0
},
{
"H.264 inverse discrete cosine transform, no film grain technology"
,
&
DXVA2_ModeH264_C
,
0
},
{
"H.264 inverse discrete cosine transform, no film grain technology (Intel)"
,
&
DXVADDI_Intel_ModeH264_C
,
0
},
{
"H.264 motion compensation, film grain technology"
,
&
DXVA2_ModeH264_B
,
0
},
{
"H.264 motion compensation, no film grain technology"
,
&
DXVA2_ModeH264_A
,
0
},
{
"H.264 motion compensation, no film grain technology (Intel)"
,
&
DXVADDI_Intel_ModeH264_A
,
0
},
{
"Windows Media Video 8 motion compensation"
,
&
DXVA2_ModeWMV8_B
,
0
},
{
"Windows Media Video 8 post processing"
,
&
DXVA2_ModeWMV8_A
,
0
},
{
"Windows Media Video 9 IDCT"
,
&
DXVA2_ModeWMV9_C
,
0
},
{
"Windows Media Video 9 motion compensation"
,
&
DXVA2_ModeWMV9_B
,
0
},
{
"Windows Media Video 9 post processing"
,
&
DXVA2_ModeWMV9_A
,
0
},
{
"VC-1 variable-length decoder"
,
&
DXVA2_ModeVC1_D
,
CODEC_ID_VC1
},
{
"VC-1 variable-length decoder"
,
&
DXVA2_ModeVC1_D
,
CODEC_ID_WMV3
},
{
"VC-1 variable-length decoder"
,
&
DXVA2_ModeVC1_D2010
,
CODEC_ID_VC1
},
{
"VC-1 variable-length decoder"
,
&
DXVA2_ModeVC1_D2010
,
CODEC_ID_WMV3
},
{
"VC-1 inverse discrete cosine transform"
,
&
DXVA2_ModeVC1_C
,
0
},
{
"VC-1 motion compensation"
,
&
DXVA2_ModeVC1_B
,
0
},
{
"VC-1 post processing"
,
&
DXVA2_ModeVC1_A
,
0
},
{
"VC-1 variable-length decoder (Intel)"
,
&
DXVA_Intel_VC1_ClearVideo
,
0
},
{
"VC-1 variable-length decoder 2 (Intel)"
,
&
DXVA_Intel_VC1_ClearVideo_2
,
0
},
{
"MPEG-4 Part 2 nVidia bitstream decoder"
,
&
DXVA_nVidia_MPEG4_ASP
,
0
},
{
"MPEG-4 Part 2 variable-length decoder, Simple Profile"
,
&
DXVA_ModeMPEG4pt2_VLD_Simple
,
0
},
{
"MPEG-4 Part 2 variable-length decoder, Simple&Advanced Profile, no global motion compensation"
,
&
DXVA_ModeMPEG4pt2_VLD_AdvSimple_NoGMC
,
0
},
{
"MPEG-4 Part 2 variable-length decoder, Simple&Advanced Profile, global motion compensation"
,
&
DXVA_ModeMPEG4pt2_VLD_AdvSimple_GMC
,
0
},
/* MPEG-1/2 */
{
"MPEG-2 variable-length decoder"
,
&
DXVA2_ModeMPEG2_VLD
,
CODEC_ID_MPEG2VIDEO
},
{
"MPEG-2 & MPEG-1 variable-length decoder"
,
&
DXVA2_ModeMPEG2and1_VLD
,
CODEC_ID_MPEG2VIDEO
},
{
"MPEG-2 motion compensation"
,
&
DXVA2_ModeMPEG2_MoComp
,
0
},
{
"MPEG-2 inverse discrete cosine transform"
,
&
DXVA2_ModeMPEG2_IDCT
,
0
},
{
"MPEG-1 variable-length decoder"
,
&
DXVA2_ModeMPEG1_VLD
,
0
},
/* H.264 */
{
"H.264 variable-length decoder, film grain technology"
,
&
DXVA2_ModeH264_F
,
CODEC_ID_H264
},
{
"H.264 variable-length decoder, no film grain technology"
,
&
DXVA2_ModeH264_E
,
CODEC_ID_H264
},
{
"H.264 variable-length decoder, no film grain technology (Intel ClearVideo)"
,
&
DXVADDI_Intel_ModeH264_E
,
CODEC_ID_H264
},
{
"H.264 variable-length decoder, no film grain technology, FMO/ASO"
,
&
DXVA_ModeH264_VLD_WithFMOASO_NoFGT
,
CODEC_ID_H264
},
{
"H.264 inverse discrete cosine transform, film grain technology"
,
&
DXVA2_ModeH264_D
,
0
},
{
"H.264 inverse discrete cosine transform, no film grain technology"
,
&
DXVA2_ModeH264_C
,
0
},
{
"H.264 inverse discrete cosine transform, no film grain technology (Intel)"
,
&
DXVADDI_Intel_ModeH264_C
,
0
},
{
"H.264 motion compensation, film grain technology"
,
&
DXVA2_ModeH264_B
,
0
},
{
"H.264 motion compensation, no film grain technology"
,
&
DXVA2_ModeH264_A
,
0
},
{
"H.264 motion compensation, no film grain technology (Intel)"
,
&
DXVADDI_Intel_ModeH264_A
,
0
},
/* WMV */
{
"Windows Media Video 8 motion compensation"
,
&
DXVA2_ModeWMV8_B
,
0
},
{
"Windows Media Video 8 post processing"
,
&
DXVA2_ModeWMV8_A
,
0
},
{
"Windows Media Video 9 IDCT"
,
&
DXVA2_ModeWMV9_C
,
0
},
{
"Windows Media Video 9 motion compensation"
,
&
DXVA2_ModeWMV9_B
,
0
},
{
"Windows Media Video 9 post processing"
,
&
DXVA2_ModeWMV9_A
,
0
},
/* VC-1 */
{
"VC-1 variable-length decoder"
,
&
DXVA2_ModeVC1_D
,
CODEC_ID_VC1
},
{
"VC-1 variable-length decoder"
,
&
DXVA2_ModeVC1_D
,
CODEC_ID_WMV3
},
{
"VC-1 variable-length decoder"
,
&
DXVA2_ModeVC1_D2010
,
CODEC_ID_VC1
},
{
"VC-1 variable-length decoder"
,
&
DXVA2_ModeVC1_D2010
,
CODEC_ID_WMV3
},
{
"VC-1 variable-length decoder 2 (Intel)"
,
&
DXVA_Intel_VC1_ClearVideo_2
,
0
},
{
"VC-1 variable-length decoder (Intel)"
,
&
DXVA_Intel_VC1_ClearVideo
,
0
},
{
"VC-1 inverse discrete cosine transform"
,
&
DXVA2_ModeVC1_C
,
0
},
{
"VC-1 motion compensation"
,
&
DXVA2_ModeVC1_B
,
0
},
{
"VC-1 post processing"
,
&
DXVA2_ModeVC1_A
,
0
},
/* Xvid/Divx: TODO */
{
"MPEG-4 Part 2 nVidia bitstream decoder"
,
&
DXVA_nVidia_MPEG4_ASP
,
0
},
{
"MPEG-4 Part 2 variable-length decoder, Simple Profile"
,
&
DXVA_ModeMPEG4pt2_VLD_Simple
,
0
},
{
"MPEG-4 Part 2 variable-length decoder, Simple&Advanced Profile, no GMC"
,
&
DXVA_ModeMPEG4pt2_VLD_AdvSimple_NoGMC
,
0
},
{
"MPEG-4 Part 2 variable-length decoder, Simple&Advanced Profile, GMC"
,
&
DXVA_ModeMPEG4pt2_VLD_AdvSimple_GMC
,
0
},
{
NULL
,
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