timefilter.h
Go to the documentation of this file.
1 /*
2  * Delay Locked Loop based time filter prototypes and declarations
3  * Copyright (c) 2009 Samalyse
4  * Copyright (c) 2009 Michael Niedermayer
5  * Author: Olivier Guilyardi <olivier samalyse com>
6  * Michael Niedermayer <michaelni gmx at>
7  *
8  * This file is part of Libav.
9  *
10  * Libav is free software; you can redistribute it and/or
11  * modify it under the terms of the GNU Lesser General Public
12  * License as published by the Free Software Foundation; either
13  * version 2.1 of the License, or (at your option) any later version.
14  *
15  * Libav is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18  * Lesser General Public License for more details.
19  *
20  * You should have received a copy of the GNU Lesser General Public
21  * License along with Libav; if not, write to the Free Software
22  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
23  */
24 
25 #ifndef AVDEVICE_TIMEFILTER_H
26 #define AVDEVICE_TIMEFILTER_H
27 
36 typedef struct TimeFilter TimeFilter;
37 
38 
63 
80 double ff_timefilter_update(TimeFilter *self, double system_time, double period);
81 
91 
96 
97 #endif /* AVDEVICE_TIMEFILTER_H */
double ff_timefilter_update(TimeFilter *self, double system_time, double period)
Update the filter.
Definition: timefilter.c:61
void ff_timefilter_reset(TimeFilter *)
Reset the filter.
Definition: timefilter.c:56
double clock_period
Definition: timefilter.c:36
void ff_timefilter_destroy(TimeFilter *)
Free all resources associated with the filter.
Definition: timefilter.c:51
TimeFilter * ff_timefilter_new(double clock_period, double feedback2_factor, double feedback3_factor)
Create a new Delay Locked Loop time filter.
Definition: timefilter.c:40
double feedback3_factor
Definition: timefilter.c:35
double feedback2_factor
Definition: timefilter.c:34