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
63a67c18
Commit
63a67c18
authored
Jul 16, 2009
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
video_filters: remove unused p_sys structure.
parent
9bf4d5d3
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
56 deletions
+3
-56
modules/video_filter/invert.c
modules/video_filter/invert.c
+1
-18
modules/video_filter/rv32.c
modules/video_filter/rv32.c
+1
-19
modules/video_filter/scale.c
modules/video_filter/scale.c
+1
-19
No files found.
modules/video_filter/invert.c
View file @
63a67c18
...
...
@@ -56,16 +56,6 @@ vlc_module_begin ()
set_callbacks
(
Create
,
Destroy
)
vlc_module_end
()
/*****************************************************************************
* filter_sys_t: Invert video output method descriptor
*****************************************************************************
* This structure is part of the video output thread descriptor.
* It describes the Invert specific properties of an output thread.
*****************************************************************************/
struct
filter_sys_t
{
};
/*****************************************************************************
* Create: allocates Invert video thread output method
*****************************************************************************
...
...
@@ -75,11 +65,6 @@ static int Create( vlc_object_t *p_this )
{
filter_t
*
p_filter
=
(
filter_t
*
)
p_this
;
/* Allocate structure */
p_filter
->
p_sys
=
malloc
(
sizeof
(
filter_sys_t
)
);
if
(
p_filter
->
p_sys
==
NULL
)
return
VLC_ENOMEM
;
p_filter
->
pf_video_filter
=
Filter
;
return
VLC_SUCCESS
;
...
...
@@ -92,9 +77,7 @@ static int Create( vlc_object_t *p_this )
*****************************************************************************/
static
void
Destroy
(
vlc_object_t
*
p_this
)
{
filter_t
*
p_filter
=
(
filter_t
*
)
p_this
;
free
(
p_filter
->
p_sys
);
(
void
)
p_this
;
}
/*****************************************************************************
...
...
modules/video_filter/rv32.c
View file @
63a67c18
...
...
@@ -32,15 +32,6 @@
#include <vlc_plugin.h>
#include <vlc_filter.h>
/*****************************************************************************
* filter_sys_t : filter descriptor
*****************************************************************************/
struct
filter_sys_t
{
es_format_t
fmt_in
;
es_format_t
fmt_out
;
};
/****************************************************************************
* Local prototypes
****************************************************************************/
...
...
@@ -64,7 +55,6 @@ vlc_module_end ()
static
int
OpenFilter
(
vlc_object_t
*
p_this
)
{
filter_t
*
p_filter
=
(
filter_t
*
)
p_this
;
filter_sys_t
*
p_sys
;
/* XXX Only support RV24 -> RV32 conversion */
if
(
p_filter
->
fmt_in
.
video
.
i_chroma
!=
VLC_CODEC_RGB24
||
...
...
@@ -78,11 +68,6 @@ static int OpenFilter( vlc_object_t *p_this )
||
p_filter
->
fmt_in
.
video
.
i_height
!=
p_filter
->
fmt_out
.
video
.
i_height
)
return
-
1
;
/* Allocate the memory needed to store the decoder's structure */
if
(
(
p_filter
->
p_sys
=
p_sys
=
(
filter_sys_t
*
)
malloc
(
sizeof
(
filter_sys_t
))
)
==
NULL
)
return
VLC_ENOMEM
;
p_filter
->
pf_video_filter
=
Filter
;
return
VLC_SUCCESS
;
...
...
@@ -93,10 +78,7 @@ static int OpenFilter( vlc_object_t *p_this )
*****************************************************************************/
static
void
CloseFilter
(
vlc_object_t
*
p_this
)
{
filter_t
*
p_filter
=
(
filter_t
*
)
p_this
;
filter_sys_t
*
p_sys
=
p_filter
->
p_sys
;
free
(
p_sys
);
(
void
)
p_this
;
}
/****************************************************************************
...
...
modules/video_filter/scale.c
View file @
63a67c18
...
...
@@ -34,15 +34,6 @@
#include <vlc_plugin.h>
#include <vlc_filter.h>
/*****************************************************************************
* filter_sys_t : filter descriptor
*****************************************************************************/
struct
filter_sys_t
{
es_format_t
fmt_in
;
es_format_t
fmt_out
;
};
/****************************************************************************
* Local prototypes
****************************************************************************/
...
...
@@ -66,7 +57,6 @@ vlc_module_end ()
static
int
OpenFilter
(
vlc_object_t
*
p_this
)
{
filter_t
*
p_filter
=
(
filter_t
*
)
p_this
;
filter_sys_t
*
p_sys
;
if
(
(
p_filter
->
fmt_in
.
video
.
i_chroma
!=
VLC_CODEC_YUVP
&&
p_filter
->
fmt_in
.
video
.
i_chroma
!=
VLC_CODEC_YUVA
&&
...
...
@@ -79,11 +69,6 @@ static int OpenFilter( vlc_object_t *p_this )
return
VLC_EGENERIC
;
}
/* Allocate the memory needed to store the decoder's structure */
if
(
(
p_filter
->
p_sys
=
p_sys
=
(
filter_sys_t
*
)
malloc
(
sizeof
(
filter_sys_t
))
)
==
NULL
)
return
VLC_ENOMEM
;
p_filter
->
pf_video_filter
=
Filter
;
msg_Dbg
(
p_filter
,
"%ix%i -> %ix%i"
,
p_filter
->
fmt_in
.
video
.
i_width
,
...
...
@@ -98,10 +83,7 @@ static int OpenFilter( vlc_object_t *p_this )
*****************************************************************************/
static
void
CloseFilter
(
vlc_object_t
*
p_this
)
{
filter_t
*
p_filter
=
(
filter_t
*
)
p_this
;
filter_sys_t
*
p_sys
=
p_filter
->
p_sys
;
free
(
p_sys
);
(
void
)
p_this
;
}
/****************************************************************************
...
...
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