aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvektor <devnull@localhost>2005-02-13 15:56:45 (GMT)
committervektor <devnull@localhost>2005-02-13 15:56:45 (GMT)
commitbbcfa96a22c65ad1f168aecd246ee78db750f89f (patch)
treef526981174830dfa8168ee1471487f8a2f9c838e
parent5d581cd2510c837d06c9913f63f5ae25300877b5 (diff)
* tvtime/plugins/greedy.c: Add a function explaining why greedy.c flips
the copy and interpolate methods.
-rw-r--r--plugins/greedy.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/plugins/greedy.c b/plugins/greedy.c
index 9b9b226..2c087d0 100644
--- a/plugins/greedy.c
+++ b/plugins/greedy.c
@@ -163,6 +163,14 @@ static void deinterlace_greedy_packed422_scanline_mmxext( uint8_t *output,
#endif
}
+/**
+ * The greedy deinterlacer introduces a one-field delay on the input.
+ * From the diagrams in deinterlace.h, the field being deinterlaced is
+ * always t-1. For this reason, our copy_scanline method is used for
+ * deinterlace_method_t's interpolate_scanline function, and the real
+ * work is done in deinterlace_method_t's copy_scanline function.
+ */
+
static deinterlace_method_t greedymethod =
{
"Motion Adaptive: Simple Detection",

Privacy Policy