From 46ca153401ef3852b8870f491c0358b74c6c108b Mon Sep 17 00:00:00 2001 From: rfelker Date: Wed, 28 Apr 2004 04:29:17 +0000 Subject: 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. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12338 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/vf.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libmpcodecs/vf.c') diff --git a/libmpcodecs/vf.c b/libmpcodecs/vf.c index 511d1b1c2a..bb7d57b9a2 100644 --- a/libmpcodecs/vf.c +++ b/libmpcodecs/vf.c @@ -90,6 +90,7 @@ extern vf_info_t vf_info_qp; 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 @@ static vf_info_t* filter_list[]={ &vf_info_phase, &vf_info_divtc, &vf_info_harddup, + &vf_info_softskip, NULL }; -- cgit v1.2.3