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
fb21b6d1
Commit
fb21b6d1
authored
Jul 09, 2013
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vdpau: eliminate dead code
parent
0002b723
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
18 deletions
+0
-18
modules/hw/vdpau/chroma.c
modules/hw/vdpau/chroma.c
+0
-1
modules/hw/vdpau/picture.c
modules/hw/vdpau/picture.c
+0
-11
modules/hw/vdpau/vlc_vdpau.h
modules/hw/vdpau/vlc_vdpau.h
+0
-6
No files found.
modules/hw/vdpau/chroma.c
View file @
fb21b6d1
...
...
@@ -472,7 +472,6 @@ static picture_t *MixerRender(filter_t *filter, picture_t *src)
}
src
=
sys
->
import
(
filter
,
src
);
/* Update history and take "present" picture field */
if
(
likely
(
src
!=
NULL
))
{
...
...
modules/hw/vdpau/picture.c
View file @
fb21b6d1
...
...
@@ -110,14 +110,3 @@ vlc_vdp_video_field_t *vlc_vdp_video_copy(vlc_vdp_video_field_t *fold)
atomic_fetch_add
(
&
frame
->
refs
,
1
);
return
fnew
;
}
vlc_vdp_video_field_t
*
vlc_vdp_video_detach
(
picture_t
*
pic
)
{
vlc_vdp_video_field_t
*
field
=
pic
->
context
;
assert
(
pic
->
format
.
i_chroma
==
VLC_CODEC_VDPAU_VIDEO_420
||
pic
->
format
.
i_chroma
==
VLC_CODEC_VDPAU_VIDEO_422
);
//assert(!picture_IsReferenced(pic));
pic
->
context
=
NULL
;
return
field
;
}
modules/hw/vdpau/vlc_vdpau.h
View file @
fb21b6d1
...
...
@@ -275,10 +275,4 @@ VdpStatus vlc_vdp_video_attach(vdp_t *, VdpVideoSurface, picture_t *);
* (the underlying VDPAU video surface is shared).
*/
vlc_vdp_video_field_t
*
vlc_vdp_video_copy
(
vlc_vdp_video_field_t
*
);
/**
* Detaches a VDPAU video surface as context from a VLC picture.
* @return the detached context, or NULL on error.
*/
vlc_vdp_video_field_t
*
vlc_vdp_video_detach
(
picture_t
*
);
#endif
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