xine-lib: xine-lib-1.2.12/src/dxr3/dxr3_scr.h Source File

xine-lib 1.2.12

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 {
26 scr_plugin_t scr_plugin;
27 pthread_mutex_t mutex;
28
29 xine_t *xine;
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 */
41 dxr3_scr_t *dxr3_scr_init(xine_t *xine);
dxr3_scr_init
dxr3_scr_t * dxr3_scr_init(xine_t *xine)
Definition: dxr3_scr.c:72
dxr3_scr_t
struct dxr3_scr_s dxr3_scr_t
dxr3_scr_s
Definition: dxr3_scr.h:25
dxr3_scr_s::mutex
pthread_mutex_t mutex
Definition: dxr3_scr.h:27
dxr3_scr_s::xine
xine_t * xine
Definition: dxr3_scr.h:29
dxr3_scr_s::priority
int priority
Definition: dxr3_scr.h:33
dxr3_scr_s::fd_control
int fd_control
Definition: dxr3_scr.h:31
dxr3_scr_s::scanning
int scanning
Definition: dxr3_scr.h:36
dxr3_scr_s::last_pts
uint32_t last_pts
Definition: dxr3_scr.h:35
dxr3_scr_s::scr_plugin
scr_plugin_t scr_plugin
Definition: dxr3_scr.h:26
dxr3_scr_s::offset
int64_t offset
Definition: dxr3_scr.h:34
dxr3_scr_s::sync
int sync
Definition: dxr3_scr.h:37
scr_plugin_s
Definition: metronom.h:310
xine_s
Definition: xine_internal.h:80
xine_internal.h