00001 /* 00002 * Delay Locked Loop based time filter prototypes and declarations 00003 * Copyright (c) 2009 Samalyse 00004 * Copyright (c) 2009 Michael Niedermayer 00005 * Author: Olivier Guilyardi <olivier samalyse com> 00006 * Michael Niedermayer <michaelni gmx at> 00007 * 00008 * This file is part of FFmpeg. 00009 * 00010 * FFmpeg is free software; you can redistribute it and/or 00011 * modify it under the terms of the GNU Lesser General Public 00012 * License as published by the Free Software Foundation; either 00013 * version 2.1 of the License, or (at your option) any later version. 00014 * 00015 * FFmpeg is distributed in the hope that it will be useful, 00016 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00017 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00018 * Lesser General Public License for more details. 00019 * 00020 * You should have received a copy of the GNU Lesser General Public 00021 * License along with FFmpeg; if not, write to the Free Software 00022 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 00023 */ 00024 00025 #ifndef AVDEVICE_TIMEFILTER_H 00026 #define AVDEVICE_TIMEFILTER_H 00027 00036 typedef struct TimeFilter TimeFilter; 00037 00038 00062 TimeFilter * ff_timefilter_new(double clock_period, double feedback2_factor, double feedback3_factor); 00063 00080 double ff_timefilter_update(TimeFilter *self, double system_time, double period); 00081 00090 void ff_timefilter_reset(TimeFilter *); 00091 00095 void ff_timefilter_destroy(TimeFilter *); 00096 00097 #endif /* AVDEVICE_TIMEFILTER_H */