3 Copyright (c) 2003-2015 HandBrake Team
4 This file is part of the HandBrake source code
5 Homepage: <http://handbrake.fr/>.
6 It may be used under the terms of the GNU General Public License v2.
7 For full terms see the file COPYING file or visit http://www.gnu.org/licenses/gpl-2.0.html
13 #include "dvdnav/dvdnav.h"
14 #include "dvdread/ifo_read.h"
15 #include "dvdread/nav_read.h"
21 dvd_reader_t
* reader
;
34 int title_block_count
;
53 dvd_reader_t
* reader
;
56 int title_block_count
;
59 hb_list_t
* list_chapter
;
64 typedef struct hb_dvdnav_s hb_dvdnav_t
;
65 typedef struct hb_dvdread_s hb_dvdread_t
;
76 hb_dvd_t
* (* init
) ( hb_handle_t
*, char * );
77 void (* close
) ( hb_dvd_t
** );
78 char * (* name
) ( char * );
79 int (* title_count
) ( hb_dvd_t
* );
80 hb_title_t
* (* title_scan
) ( hb_dvd_t
*, int, uint64_t );
81 int (* start
) ( hb_dvd_t
*, hb_title_t
*, int );
82 void (* stop
) ( hb_dvd_t
* );
83 int (* seek
) ( hb_dvd_t
*, float );
84 hb_buffer_t
* (* read
) ( hb_dvd_t
* );
85 int (* chapter
) ( hb_dvd_t
* );
86 int (* angle_count
) ( hb_dvd_t
* );
87 void (* set_angle
) ( hb_dvd_t
*, int );
88 int (* main_feature
)( hb_dvd_t
*, hb_list_t
* );
90 typedef struct hb_dvd_func_s hb_dvd_func_t
;
92 hb_dvd_func_t
* hb_dvdnav_methods( void );
93 hb_dvd_func_t
* hb_dvdread_methods( void );