comparison 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
comparison
equal deleted inserted replaced
12336:e0b92e840609 12337:6f1b4c989914
88 extern vf_info_t vf_info_rgbtest; 88 extern vf_info_t vf_info_rgbtest;
89 extern vf_info_t vf_info_qp; 89 extern vf_info_t vf_info_qp;
90 extern vf_info_t vf_info_phase; 90 extern vf_info_t vf_info_phase;
91 extern vf_info_t vf_info_divtc; 91 extern vf_info_t vf_info_divtc;
92 extern vf_info_t vf_info_harddup; 92 extern vf_info_t vf_info_harddup;
93 extern vf_info_t vf_info_softskip;
93 94
94 // list of available filters: 95 // list of available filters:
95 static vf_info_t* filter_list[]={ 96 static vf_info_t* filter_list[]={
96 &vf_info_rectangle, 97 &vf_info_rectangle,
97 #ifndef HAVE_NO_POSIX_SELECT 98 #ifndef HAVE_NO_POSIX_SELECT
171 &vf_info_qp, 172 &vf_info_qp,
172 #endif 173 #endif
173 &vf_info_phase, 174 &vf_info_phase,
174 &vf_info_divtc, 175 &vf_info_divtc,
175 &vf_info_harddup, 176 &vf_info_harddup,
177 &vf_info_softskip,
176 NULL 178 NULL
177 }; 179 };
178 180
179 // For the vf option 181 // For the vf option
180 m_obj_settings_t* vf_settings = NULL; 182 m_obj_settings_t* vf_settings = NULL;