Commit 05a8e024 authored by Juha Jeronen's avatar Juha Jeronen Committed by Laurent Aimar

Phosphor deinterlacer

Signed-off-by: default avatarLaurent Aimar <fenrir@videolan.org>
parent 7e8f1ce6
This diff is collapsed.
......@@ -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)
......
......@@ -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 };
......
......@@ -48,6 +48,7 @@ static const char *deinterlace_modes[] = {
"x",
"yadif",
"yadif2x",
"phosphor",
NULL
};
static bool DeinterlaceIsModeValid(const char *mode)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment