Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
cde322e8
Commit
cde322e8
authored
Jan 17, 2010
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enabled
VC-1
/WMV3 DXVA2 support in VLC.
It won't do anything until the support is actually added to FFmpeg.
parent
151bc208
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
modules/codec/avcodec/dxva2.c
modules/codec/avcodec/dxva2.c
+3
-3
No files found.
modules/codec/avcodec/dxva2.c
View file @
cde322e8
...
...
@@ -161,7 +161,8 @@ static const dxva2_mode_t dxva2_modes[] = {
{
"Windows Media Video 9 MoComp"
,
&
DXVA2_ModeWMV9_B
,
0
},
{
"Windows Media Video 9 post processing"
,
&
DXVA2_ModeWMV9_A
,
0
},
{
"VC-1 VLD"
,
&
DXVA2_ModeVC1_D
,
0
},
{
"VC-1 VLD"
,
&
DXVA2_ModeVC1_D
,
CODEC_ID_VC1
},
{
"VC-1 VLD"
,
&
DXVA2_ModeVC1_D
,
CODEC_ID_WMV3
},
{
"VC-1 IDCT"
,
&
DXVA2_ModeVC1_C
,
0
},
{
"VC-1 MoComp"
,
&
DXVA2_ModeVC1_B
,
0
},
{
"VC-1 post processing"
,
&
DXVA2_ModeVC1_A
,
0
},
...
...
@@ -333,8 +334,7 @@ static int Setup(vlc_va_t *external, void **hw, vlc_fourcc_t *chroma,
return
VLC_EGENERIC
;
/* */
va
->
hw
.
decoder
=
va
->
decoder
;
if
(
va
->
codec_id
==
CODEC_ID_H264
)
va
->
hw
.
cfg
=
&
va
->
cfg
;
va
->
hw
.
cfg
=
&
va
->
cfg
;
va
->
hw
.
surface_count
=
va
->
surface_count
;
va
->
hw
.
surface
=
va
->
hw_surface
;
for
(
unsigned
i
=
0
;
i
<
va
->
surface_count
;
i
++
)
...
...
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