1 /* $Id: dvd.h,v 1.1 2004/08/02 07:19:05 stebbins Exp $
3 This file is part of the HandBrake source code.
4 Homepage: <http://handbrake.fr/>.
5 It may be used under the terms of the GNU General Public License. */
10 #include "dvdnav/dvdnav.h"
11 #include "dvdread/ifo_read.h"
12 #include "dvdread/nav_read.h"
18 dvd_reader_t * reader;
31 int title_block_count;
49 dvd_reader_t * reader;
52 int title_block_count;
54 hb_list_t * list_chapter;
58 typedef struct hb_dvdnav_s hb_dvdnav_t;
59 typedef struct hb_dvdread_s hb_dvdread_t;
70 hb_dvd_t * (* init) ( char * );
71 void (* close) ( hb_dvd_t ** );
72 char * (* name) ( char * );
73 int (* title_count) ( hb_dvd_t * );
74 hb_title_t * (* title_scan) ( hb_dvd_t *, int );
75 int (* start) ( hb_dvd_t *, hb_title_t *, int );
76 void (* stop) ( hb_dvd_t * );
77 int (* seek) ( hb_dvd_t *, float );
78 int (* read) ( hb_dvd_t *, hb_buffer_t * );
79 int (* chapter) ( hb_dvd_t * );
80 int (* angle_count) ( hb_dvd_t * );
81 void (* set_angle) ( hb_dvd_t *, int );
83 typedef struct hb_dvd_func_s hb_dvd_func_t;
85 hb_dvd_func_t * hb_dvdnav_methods( void );
86 hb_dvd_func_t * hb_dvdread_methods( void );