xine-lib  1.2.9
dxr3_scr.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2000-2009 the xine project
3  *
4  * This file is part of xine, a free video player.
5  *
6  * xine is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * xine is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
19  */
20 
21 #include <xine/xine_internal.h>
22 
23 
24 /* plugin structure */
25 typedef struct dxr3_scr_s {
27  pthread_mutex_t mutex;
28 
30 
31  int fd_control; /* to access the dxr3 control device */
32 
33  int priority;
34  int64_t offset; /* difference between real scr and internal dxr3 clock */
35  uint32_t last_pts; /* last known value of internal dxr3 clock to detect wrap around */
36  int scanning; /* are we in a scanning mode */
37  int sync; /* are we in sync mode */
38 } dxr3_scr_t;
39 
40 /* plugin initialization function */
xine_t * xine
Definition: dxr3_scr.h:29
dxr3_scr_t * dxr3_scr_init(xine_t *xine)
Definition: dxr3_scr.c:68
scr_plugin_t scr_plugin
Definition: dxr3_scr.h:26
int fd_control
Definition: dxr3_scr.h:31
int sync
Definition: dxr3_scr.h:37
pthread_mutex_t mutex
Definition: dxr3_scr.h:27
int scanning
Definition: dxr3_scr.h:36
uint32_t last_pts
Definition: dxr3_scr.h:35
Definition: xine_internal.h:81
Definition: dxr3_scr.h:25
struct dxr3_scr_s dxr3_scr_t
Definition: metronom.h:342
int priority
Definition: dxr3_scr.h:33
int64_t offset
Definition: dxr3_scr.h:34