[MPlayer-cvslog] CVS: main/libmpcodecs pullup.c,1.22,1.23
Richard Felker CVS
syncmail at mplayerhq.hu
Wed Mar 16 04:39:16 CET 2005
CVS change done by Richard Felker CVS
Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var2/tmp/cvs-serv22212/libmpcodecs
Modified Files:
pullup.c
Log Message:
improve handling of soft-telecined input (faster, fewer mistakes)
Index: pullup.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/pullup.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- pullup.c 31 Jan 2005 11:22:11 -0000 1.22
+++ pullup.c 16 Mar 2005 03:39:13 -0000 1.23
@@ -455,6 +455,14 @@
int max_l=0, max_r=0, l;
if (f->flags & F_HAVE_AFFINITY) return;
f->flags |= F_HAVE_AFFINITY;
+ if (f->buffer == f->next->next->buffer) {
+ f->affinity = 1;
+ f->next->affinity = 0;
+ f->next->next->affinity = -1;
+ f->next->flags |= F_HAVE_AFFINITY;
+ f->next->next->flags |= F_HAVE_AFFINITY;
+ return;
+ }
for (i = 0; i < c->metric_len; i++) {
l = f->comb[i] - f->next->comb[i];
if (l > max_l) max_l = l;
More information about the MPlayer-cvslog
mailing list