summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/vf.c
diff options
context:
space:
mode:
authorrfelker <rfelker@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-04-28 04:29:17 +0000
committerrfelker <rfelker@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-04-28 04:29:17 +0000
commit46ca153401ef3852b8870f491c0358b74c6c108b (patch)
tree6b7958f85c8e24586de5997acff29fc21d356f94 /libmpcodecs/vf.c
parentb7e594f57db070ef36927e83e498734cf9fcaad1 (diff)
downloadmpv-46ca153401ef3852b8870f491c0358b74c6c108b.tar.bz2
mpv-46ca153401ef3852b8870f491c0358b74c6c108b.tar.xz
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
Diffstat (limited to 'libmpcodecs/vf.c')
-rw-r--r--libmpcodecs/vf.c2
1 files changed, 2 insertions, 0 deletions
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
};