]> git.sesse.net Git - vlc/blob - modules/access/vcdx/vcd.h
614449974b67528301f26f51ab12ac80206b83e4
[vlc] / modules / access / vcdx / vcd.h
1 /*****************************************************************************
2  * vcd.h : VCD input module header for vlc
3  *         using libcdio, libvcd and libvcdinfo
4  *****************************************************************************
5  * Copyright (C) 2003, 2004 the VideoLAN team
6  * $Id$
7  *
8  * Authors: Rocky Bernstein <rocky@panix.com>
9  *
10  * This program is free software; you can redistribute it and/or modify
11  * it under the terms of the GNU General Public License as published by
12  * the Free Software Foundation; either version 2 of the License, or
13  * (at your option) any later version.
14  *
15  * This program 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
18  * GNU General Public License for more details.
19  *
20  * You should have received a copy of the GNU General Public License
21  * along with this program; if not, write to the Free Software
22  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
23  *****************************************************************************/
24
25 #include <libvcd/info.h>
26
27 #define VCD_MRL_PREFIX "vcdx://"
28
29 /*****************************************************************************
30  * vcd_data_t: structure for communication between access and intf.
31  *****************************************************************************/
32 typedef struct
33 {
34 #if FINISHED
35     vcdplay_ptr             vmg;
36 #endif
37     intf_thread_t *         p_intf;
38
39 #if DEMUX_FINISHED
40     int                     i_audio_nb;
41     int                     i_spu_nb;
42 #endif
43
44     int                     i_still_time;
45     vlc_bool_t              b_end_of_cell;
46
47 #if FINISHED
48     vcdplay_event_t         event;
49     vcdplay_ctrl_t          control;
50     vcdplay_highlight_t     hli;
51 #endif
52
53 } vcd_data_t;
54
55 int  VCDSetArea      ( access_t * );
56 int  VCDSeek         ( access_t *, off_t );