]> git.sesse.net Git - vlc/blob - modules/access/vcdx/vcd.h
Minor name-change tidying up.
[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 VideoLAN
6  * $Id: vcd.h,v 1.3 2003/11/26 01:28:52 rocky Exp $
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., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
23  *****************************************************************************/
24
25 #include <libvcd/info.h>
26
27 /*****************************************************************************
28  * dvd_data_t: structure for communication between dvdplay access, demux
29  * and intf.
30  *****************************************************************************/
31
32 /*****************************************************************************
33  * vcd_data_t: structure for communication between access and intf.
34  *****************************************************************************/
35 typedef struct
36 {
37 #if FINISHED
38     vcdplay_ptr             vmg;
39 #endif
40     intf_thread_t *         p_intf;
41
42 #if DEMUX_FINISHED
43     int                     i_audio_nb;
44     int                     i_spu_nb;
45 #endif
46
47     int                     i_still_time;
48     bool                    b_end_of_cell;
49
50 #if FINISHED
51     vcdplay_event_t         event;
52     vcdplay_ctrl_t          control;   
53     vcdplay_highlight_t     hli;
54 #endif
55
56 } vcd_data_t;
57
58 int  VCDSetArea      ( input_thread_t *, input_area_t * );
59 void VCDSeek         ( input_thread_t *, off_t );
60 int  VCDPlay         ( input_thread_t *, vcdinfo_itemid_t );