xine-lib  1.2.10
vcdio.h
Go to the documentation of this file.
1 /*
2  $Id: vcdio.h,v 1.3 2005/01/08 15:12:42 rockyb Exp $
3 
4  Copyright (C) 2002, 2004, 2005 Rocky Bernstein <rocky@panix.com>
5 
6  This program 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  This program 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 
22 #ifndef _VCDIO_H_
23 #define _VCDIO_H_
24 
30 off_t
31 vcdio_read (vcdplayer_t *p_vcdplayer, char *psz_buf, const off_t nlen);
32 
39 bool
40 vcdio_open(vcdplayer_t *p_vcdplayer, char *psz_device);
41 
44 /* FIXME Move player stuff to player. */
45 int
46 vcdio_close(vcdplayer_t *p_vcdplayer);
47 
55 off_t
56 vcdio_seek (vcdplayer_t *p_vcdplayer, off_t offset, int origin);
57 
58 #endif /* _VCDIO_H_ */
59 
60 /*
61  * Local variables:
62  * c-file-style: "gnu"
63  * tab-width: 8
64  * indent-tabs-mode: nil
65  * End:
66  */
vcdplayer_s::origin_lsn
lsn_t origin_lsn
Definition: vcdplayer.h:171
vcdio_seek
off_t vcdio_seek(vcdplayer_t *p_vcdplayer, off_t offset, int origin)
Definition: vcdio.c:197
vcdplayer_s::i_tracks
track_t i_tracks
Definition: vcdplayer.h:185
vcdplayer.h
INPUT_DBG_SEEK_SET
#define INPUT_DBG_SEEK_SET
Definition: vcdplayer.h:60
vcdplayer_s::track
vcdplayer_play_item_info_t * track
Definition: vcdplayer.h:196
VCDPLAYER_SLIDER_LENGTH_TRACK
@ VCDPLAYER_SLIDER_LENGTH_TRACK
Definition: vcdplayer.h:74
vcdio.h
vcdplayer_s::play_item
vcdinfo_itemid_t play_item
Definition: vcdplayer.h:148
vcdio_open
bool vcdio_open(vcdplayer_t *p_vcdplayer, char *psz_device)
Definition: vcdio.c:93
vcdplayer_s::next_entry
uint16_t next_entry
Definition: vcdplayer.h:159
vcdio_close
int vcdio_close(vcdplayer_t *p_vcdplayer)
Definition: vcdio.c:73
LOG_ERR
#define LOG_ERR(p_vcdplayer, s, args...)
Definition: vcdio.c:60
vcdplayer_s::i_segments
segnum_t i_segments
Definition: vcdplayer.h:190
NULL
NULL
Definition: xine_plugin.c:78
vcdplayer_s::entry
vcdplayer_play_item_info_t * entry
Definition: vcdplayer.h:198
INPUT_DBG_SEEK_CUR
#define INPUT_DBG_SEEK_CUR
Definition: vcdplayer.h:61
dbg_print
#define dbg_print(p_vcdplayer, mask, s, args...)
Definition: vcdio.c:64
_
#define _(String)
Definition: vcdplayer.h:39
vcdplayer_s::i_lsn
lsn_t i_lsn
Definition: vcdplayer.h:166
vcdplayer_s::vcd
vcdinfo_obj_t * vcd
Definition: vcdplayer.h:103
vcdplayer_s::b_opened
bool b_opened
Definition: vcdplayer.h:182
vcdplayer_s::i_entries
unsigned int i_entries
Definition: vcdplayer.h:191
vcdplayer_play_item_info_t
Definition: vcdplayer.h:85
FREE_AND_NULL
#define FREE_AND_NULL(ptr)
Definition: vcdio.c:68
vcdplayer_s::vcd_format
vcd_type_t vcd_format
Definition: vcdplayer.h:183
vcdplayer_s::track_lsn
lsn_t track_lsn
Definition: vcdplayer.h:172
vcdplayer_pbc_is_on
bool vcdplayer_pbc_is_on(const vcdplayer_t *p_vcdplayer)
Definition: vcdplayer.c:69
vcdplayer_s::psz_source
char * psz_source
Definition: vcdplayer.h:181
vcdio_seek
off_t vcdio_seek(vcdplayer_t *p_vcdplayer, off_t offset, int origin)
Definition: vcdio.c:197
vcdplayer_play_item_info_t::size
size_t size
Definition: vcdplayer.h:87
vcdplayer_s::slider_length
vcdplayer_slider_length_t slider_length
Definition: vcdplayer.h:218
config.h
vcdplayer_s::i_lids
lid_t i_lids
Definition: vcdplayer.h:192
vcdio_close
int vcdio_close(vcdplayer_t *p_vcdplayer)
Definition: vcdio.c:73
vcdplayer_s
Definition: vcdplayer.h:101
vcdio_open
bool vcdio_open(vcdplayer_t *p_vcdplayer, char *intended_vcd_device)
Definition: vcdio.c:93
vcdio_read
off_t vcdio_read(vcdplayer_t *p_vcdplayer, char *psz_buf, const off_t nlen)
INPUT_DBG_CALL
#define INPUT_DBG_CALL
Definition: vcdplayer.h:56
vcdplayer_s::i_still
int i_still
Definition: vcdplayer.h:136
vcdplayer_s::segment
vcdplayer_play_item_info_t * segment
Definition: vcdplayer.h:197
vcdplayer_play_item_info_t::start_LSN
lsn_t start_LSN
Definition: vcdplayer.h:86