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
05a8e024
Commit
05a8e024
authored
Mar 28, 2011
by
Juha Jeronen
Committed by
Laurent Aimar
Mar 29, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Phosphor deinterlacer
Signed-off-by:
Laurent Aimar
<
fenrir@videolan.org
>
parent
7e8f1ce6
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
763 additions
and
27 deletions
+763
-27
modules/video_filter/deinterlace.c
modules/video_filter/deinterlace.c
+755
-21
src/control/video.c
src/control/video.c
+5
-4
src/libvlc-module.c
src/libvlc-module.c
+2
-2
src/video_output/interlacing.c
src/video_output/interlacing.c
+1
-0
No files found.
modules/video_filter/deinterlace.c
View file @
05a8e024
This diff is collapsed.
Click to expand it.
src/control/video.c
View file @
05a8e024
...
...
@@ -563,10 +563,11 @@ void libvlc_video_set_deinterlace( libvlc_media_player_t *p_mi,
if
(
psz_mode
==
NULL
)
psz_mode
=
""
;
if
(
*
psz_mode
&&
strcmp
(
psz_mode
,
"blend"
)
&&
strcmp
(
psz_mode
,
"bob"
)
&&
strcmp
(
psz_mode
,
"discard"
)
&&
strcmp
(
psz_mode
,
"linear"
)
&&
strcmp
(
psz_mode
,
"mean"
)
&&
strcmp
(
psz_mode
,
"x"
)
&&
strcmp
(
psz_mode
,
"yadif"
)
&&
strcmp
(
psz_mode
,
"yadif2x"
))
&&
strcmp
(
psz_mode
,
"blend"
)
&&
strcmp
(
psz_mode
,
"bob"
)
&&
strcmp
(
psz_mode
,
"discard"
)
&&
strcmp
(
psz_mode
,
"linear"
)
&&
strcmp
(
psz_mode
,
"mean"
)
&&
strcmp
(
psz_mode
,
"x"
)
&&
strcmp
(
psz_mode
,
"yadif"
)
&&
strcmp
(
psz_mode
,
"yadif2x"
)
&&
strcmp
(
psz_mode
,
"phosphor"
))
return
;
if
(
*
psz_mode
)
...
...
src/libvlc-module.c
View file @
05a8e024
...
...
@@ -482,11 +482,11 @@ static const char * const ppsz_deinterlace_text[] = {
"Deinterlace method to use for video processing.")
static
const
char
*
const
ppsz_deinterlace_mode
[]
=
{
"discard"
,
"blend"
,
"mean"
,
"bob"
,
"linear"
,
"x"
,
"yadif"
,
"yadif2x"
"linear"
,
"x"
,
"yadif"
,
"yadif2x"
,
"phosphor"
};
static
const
char
*
const
ppsz_deinterlace_mode_text
[]
=
{
N_
(
"Discard"
),
N_
(
"Blend"
),
N_
(
"Mean"
),
N_
(
"Bob"
),
N_
(
"Linear"
),
"X"
,
"Yadif"
,
"Yadif (2x)"
N_
(
"Linear"
),
"X"
,
"Yadif"
,
"Yadif (2x)"
,
N_
(
"Phosphor"
)
};
static
const
int
pi_pos_values
[]
=
{
0
,
1
,
2
,
4
,
8
,
5
,
6
,
9
,
10
};
...
...
src/video_output/interlacing.c
View file @
05a8e024
...
...
@@ -48,6 +48,7 @@ static const char *deinterlace_modes[] = {
"x"
,
"yadif"
,
"yadif2x"
,
"phosphor"
,
NULL
};
static
bool
DeinterlaceIsModeValid
(
const
char
*
mode
)
...
...
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