~ubuntu-branches/ubuntu/trusty/vdr-plugin-xineliboutput/trusty-proposed

« back to all changes in this revision

Viewing changes to xine/adjustable_scr.h

  • Committer: Bazaar Package Importer
  • Author(s): Tobias Grimm
  • Date: 2010-05-02 15:19:11 UTC
  • mfrom: (1.2.1 upstream) (3.1.6 sid)
  • Revision ID: james.westby@ubuntu.com-20100502151911-76o36blrqp5jjsgb
Tags: 1.0.6~cvs20100502.0851-1
* New Upstream Snapshot
* source/format 1.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * adjustable_scr.h:
3
 
 *
4
 
 * See the main source file 'xineliboutput.c' for copyright information and
5
 
 * how to reach the author.
6
 
 *
7
 
 * $Id: adjustable_scr.h,v 1.1 2008/12/03 22:50:04 phintuka Exp $
8
 
 *
9
 
 */
10
 
 
11
 
#ifndef XINELIBOUTPUT_ADJUSTABLE_SCR_H_
12
 
#define XINELIBOUTPUT_ADJUSTABLE_SCR_H_
13
 
 
14
 
/******************************* SCR *************************************
15
 
 *
16
 
 * unix System Clock Reference + fine tuning
17
 
 *
18
 
 * fine tuning is used to change playback speed in live mode
19
 
 * to keep in sync with mpeg source
20
 
 *************************************************************************/
21
 
 
22
 
typedef struct adjustable_scr_s adjustable_scr_t;
23
 
 
24
 
struct adjustable_scr_s {
25
 
  scr_plugin_t scr;
26
 
 
27
 
  void (*set_speed_tuning)(adjustable_scr_t *this, double factor);
28
 
  void (*set_speed_base)  (adjustable_scr_t *this, int hz);
29
 
  void (*jump)            (adjustable_scr_t *this, int pts);
30
 
 
31
 
  void (*dispose)         (adjustable_scr_t *this);
32
 
};
33
 
 
34
 
adjustable_scr_t *adjustable_scr_start (xine_t *xine);
35
 
 
36
 
 
37
 
#endif /* XINELIBOUTPUT_ADJUSTABLE_SCR_H_ */