Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
d36f3bd6
Commit
d36f3bd6
authored
Jun 11, 2013
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
deinterlace: privatize two functions
parent
02950db1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
37 deletions
+23
-37
modules/video_filter/deinterlace/deinterlace.c
modules/video_filter/deinterlace/deinterlace.c
+23
-6
modules/video_filter/deinterlace/deinterlace.h
modules/video_filter/deinterlace/deinterlace.h
+0
-31
No files found.
modules/video_filter/deinterlace/deinterlace.c
View file @
d36f3bd6
...
@@ -134,7 +134,16 @@ static const char *const ppsz_filter_options[] = {
...
@@ -134,7 +134,16 @@ static const char *const ppsz_filter_options[] = {
* SetFilterMethod: setup the deinterlace method to use.
* SetFilterMethod: setup the deinterlace method to use.
*****************************************************************************/
*****************************************************************************/
void
SetFilterMethod
(
filter_t
*
p_filter
,
const
char
*
psz_method
)
/**
* Setup the deinterlace method to use.
*
* FIXME: extract i_chroma from p_filter automatically?
*
* @param p_filter The filter instance.
* @param psz_method Desired method. See mode_list for available choices.
* @see mode_list
*/
static
void
SetFilterMethod
(
filter_t
*
p_filter
,
const
char
*
psz_method
)
{
{
filter_sys_t
*
p_sys
=
p_filter
->
p_sys
;
filter_sys_t
*
p_sys
=
p_filter
->
p_sys
;
...
@@ -206,11 +215,19 @@ void SetFilterMethod( filter_t *p_filter, const char *psz_method )
...
@@ -206,11 +215,19 @@ void SetFilterMethod( filter_t *p_filter, const char *psz_method )
msg_Dbg
(
p_filter
,
"using %s deinterlace method"
,
psz_method
);
msg_Dbg
(
p_filter
,
"using %s deinterlace method"
,
psz_method
);
}
}
/*****************************************************************************
/**
* GetOutputFormat: return which format the chosen algorithm outputs.
* Get the output video format of the chosen deinterlace method
*****************************************************************************/
* for the given input video format.
*
void
GetOutputFormat
(
filter_t
*
p_filter
,
* Note that each algorithm is allowed to specify its output format,
* which may (for some input formats) differ from the input format.
*
* @param p_filter The filter instance.
* @param[out] p_dst Output video format. The structure must be allocated by ca
* @param[in] p_src Input video format.
* @see SetFilterMethod()
*/
static
void
GetOutputFormat
(
filter_t
*
p_filter
,
video_format_t
*
p_dst
,
const
video_format_t
*
p_src
)
video_format_t
*
p_dst
,
const
video_format_t
*
p_src
)
{
{
filter_sys_t
*
p_sys
=
p_filter
->
p_sys
;
filter_sys_t
*
p_sys
=
p_filter
->
p_sys
;
...
...
modules/video_filter/deinterlace/deinterlace.h
View file @
d36f3bd6
...
@@ -123,37 +123,6 @@ struct filter_sys_t
...
@@ -123,37 +123,6 @@ struct filter_sys_t
ivtc_sys_t
ivtc
;
/**< IVTC algorithm state. */
ivtc_sys_t
ivtc
;
/**< IVTC algorithm state. */
};
};
/*****************************************************************************
* Filter control related internal functions for the deinterlace filter
*****************************************************************************/
/**
* Setup the deinterlace method to use.
*
* FIXME: extract i_chroma from p_filter automatically?
*
* @param p_filter The filter instance.
* @param psz_method Desired method. See mode_list for available choices.
* @see mode_list
*/
void
SetFilterMethod
(
filter_t
*
p_filter
,
const
char
*
psz_method
);
/**
* Get the output video format of the chosen deinterlace method
* for the given input video format.
*
* Note that each algorithm is allowed to specify its output format,
* which may (for some input formats) differ from the input format.
*
* @param p_filter The filter instance.
* @param[out] p_dst Output video format. The structure must be allocated by caller.
* @param[in] p_src Input video format.
* @see SetFilterMethod()
*/
void
GetOutputFormat
(
filter_t
*
p_filter
,
video_format_t
*
p_dst
,
const
video_format_t
*
p_src
);
/*****************************************************************************
/*****************************************************************************
* video filter2 functions
* video filter2 functions
*****************************************************************************/
*****************************************************************************/
...
...
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