Main Page
Related Pages
Modules
Data Structures
Files
Examples
File List
Globals
libavdevice
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
62
TimeFilter
*
ff_timefilter_new
(
double
clock_period
,
double
feedback2_factor
,
double
feedback3_factor
);
63
80
double
ff_timefilter_update
(
TimeFilter
*
self
,
double
system_time,
double
period);
81
90
void
ff_timefilter_reset
(
TimeFilter
*);
91
95
void
ff_timefilter_destroy
(
TimeFilter
*);
96
97
#endif
/* AVDEVICE_TIMEFILTER_H */
ff_timefilter_update
double ff_timefilter_update(TimeFilter *self, double system_time, double period)
Update the filter.
Definition:
timefilter.c:59
TimeFilter
Definition:
timefilter.c:30
ff_timefilter_reset
void ff_timefilter_reset(TimeFilter *)
Reset the filter.
Definition:
timefilter.c:54
TimeFilter::clock_period
double clock_period
Definition:
timefilter.c:36
ff_timefilter_destroy
void ff_timefilter_destroy(TimeFilter *)
Free all resources associated with the filter.
Definition:
timefilter.c:49
ff_timefilter_new
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
TimeFilter::feedback3_factor
double feedback3_factor
Definition:
timefilter.c:35
TimeFilter::feedback2_factor
double feedback2_factor
Definition:
timefilter.c:34