diff libmpcodecs/vf.c @ 12337:6f1b4c989914

soft skipping for mencoder. rather than skipping decoding/filtering frames that will be skipped, mencoded tells vf_softskip (if present) that it should drop the next frame. this allows filters that need to see every input frame (inverse telecine, denoise3d, ...) to see skipped frames before they get dropped. in principle, a smarter softskip filter could be written that would buffer frames and choose to drop the one with least change, rather than strictly dropping the next one.
author rfelker
date Wed, 28 Apr 2004 04:29:17 +0000
parents eeddcef4fb08
children 7ddeffd0dbda
line wrap: on
line diff
--- a/libmpcodecs/vf.c	Wed Apr 28 04:19:47 2004 +0000
+++ b/libmpcodecs/vf.c	Wed Apr 28 04:29:17 2004 +0000
@@ -90,6 +90,7 @@
 extern vf_info_t vf_info_phase;
 extern vf_info_t vf_info_divtc;
 extern vf_info_t vf_info_harddup;
+extern vf_info_t vf_info_softskip;
 
 // list of available filters:
 static vf_info_t* filter_list[]={
@@ -173,6 +174,7 @@
     &vf_info_phase,
     &vf_info_divtc,
     &vf_info_harddup,
+    &vf_info_softskip,
     NULL
 };