Commit f94ced49 authored by Juha Jeronen's avatar Juha Jeronen Committed by Laurent Aimar

Inverse telecine deinterlacer

Signed-off-by: default avatarLaurent Aimar <fenrir@videolan.org>
Modified-by: default avatarLaurent Aimar <fenrir@videolan.org>
parent 0e19bbbe
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -567,7 +567,7 @@ void libvlc_video_set_deinterlace( libvlc_media_player_t *p_mi,
&& 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"))
&& strcmp (psz_mode, "phosphor") && strcmp (psz_mode, "ivtc"))
return;
if (*psz_mode)
......
......@@ -477,11 +477,13 @@ 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", "phosphor"
"linear", "x", "yadif", "yadif2x", "phosphor",
"ivtc"
};
static const char * const ppsz_deinterlace_mode_text[] = {
N_("Discard"), N_("Blend"), N_("Mean"), N_("Bob"),
N_("Linear"), "X", "Yadif", "Yadif (2x)", N_("Phosphor")
N_("Linear"), "X", "Yadif", "Yadif (2x)", N_("Phosphor"),
N_("Film NTSC (IVTC)")
};
static const int pi_pos_values[] = { 0, 1, 2, 4, 8, 5, 6, 9, 10 };
......
......@@ -49,6 +49,7 @@ static const char *deinterlace_modes[] = {
"yadif",
"yadif2x",
"phosphor",
"ivtc",
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