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
81ed30c9
Commit
81ed30c9
authored
Apr 23, 2015
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vdpau_avcodec: remove forward declarations
parent
6aeb9a24
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
12 deletions
+9
-12
modules/hw/vdpau/avcodec.c
modules/hw/vdpau/avcodec.c
+9
-12
No files found.
modules/hw/vdpau/avcodec.c
View file @
81ed30c9
...
@@ -39,18 +39,6 @@
...
@@ -39,18 +39,6 @@
#include "vlc_vdpau.h"
#include "vlc_vdpau.h"
#include "../../codec/avcodec/va.h"
#include "../../codec/avcodec/va.h"
static
int
Open
(
vlc_va_t
*
,
AVCodecContext
*
,
const
es_format_t
*
);
static
void
Close
(
vlc_va_t
*
,
AVCodecContext
*
);
vlc_module_begin
()
set_description
(
N_
(
"VDPAU video decoder"
))
set_capability
(
"hw decoder"
,
100
)
set_category
(
CAT_INPUT
)
set_subcategory
(
SUBCAT_INPUT_VCODEC
)
set_callbacks
(
Open
,
Close
)
add_shortcut
(
"vdpau"
)
vlc_module_end
()
struct
vlc_va_sys_t
struct
vlc_va_sys_t
{
{
vdp_t
*
vdp
;
vdp_t
*
vdp
;
...
@@ -417,3 +405,12 @@ static void Close(vlc_va_t *va, AVCodecContext *avctx)
...
@@ -417,3 +405,12 @@ static void Close(vlc_va_t *va, AVCodecContext *avctx)
av_freep
(
&
avctx
->
hwaccel_context
);
av_freep
(
&
avctx
->
hwaccel_context
);
free
(
sys
);
free
(
sys
);
}
}
vlc_module_begin
()
set_description
(
N_
(
"VDPAU video decoder"
))
set_capability
(
"hw decoder"
,
100
)
set_category
(
CAT_INPUT
)
set_subcategory
(
SUBCAT_INPUT_VCODEC
)
set_callbacks
(
Open
,
Close
)
add_shortcut
(
"vdpau"
)
vlc_module_end
()
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