00001 /***************************************************************************** 00002 * vcd.h : VCD input module header for vlc 00003 * using libcdio, libvcd and libvcdinfo 00004 ***************************************************************************** 00005 * Copyright (C) 2003, 2004 the VideoLAN team 00006 * $Id: vcd.h 11664 2005-07-09 06:17:09Z courmisch $ 00007 * 00008 * Authors: Rocky Bernstein <[email protected]> 00009 * 00010 * This program is free software; you can redistribute it and/or modify 00011 * it under the terms of the GNU General Public License as published by 00012 * the Free Software Foundation; either version 2 of the License, or 00013 * (at your option) any later version. 00014 * 00015 * This program is distributed in the hope that it will be useful, 00016 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00017 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00018 * GNU General Public License for more details. 00019 * 00020 * You should have received a copy of the GNU General Public License 00021 * along with this program; if not, write to the Free Software 00022 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. 00023 *****************************************************************************/ 00024 00025 #include <libvcd/info.h> 00026 00027 #define VCD_MRL_PREFIX "vcdx://" 00028 00029 /***************************************************************************** 00030 * vcd_data_t: structure for communication between access and intf. 00031 *****************************************************************************/ 00032 typedef struct 00033 { 00034 #if FINISHED 00035 vcdplay_ptr vmg; 00036 #endif 00037 intf_thread_t * p_intf; 00038 00039 #if DEMUX_FINISHED 00040 int i_audio_nb; 00041 int i_spu_nb; 00042 #endif 00043 00044 int i_still_time; 00045 vlc_bool_t b_end_of_cell; 00046 00047 #if FINISHED 00048 vcdplay_event_t event; 00049 vcdplay_ctrl_t control; 00050 vcdplay_highlight_t hli; 00051 #endif 00052 00053 } vcd_data_t; 00054 00055 int VCDSetArea ( access_t * ); 00056 int VCDSeek ( access_t *, off_t );