/*****************************************************************************
* Preamble
*****************************************************************************/
+/* Logical block size for DVD-VIDEO */
#define DVD_LB_SIZE 2048
/*****************************************************************************
- * thread_dvd_data_t: extension of input_thread_t for DVD specificity
+ * thread_dvd_data_t: extension of input_thread_t for DVD specificity.
*****************************************************************************/
typedef struct thread_dvd_data_s
{
int i_fd; // File descriptor of device
boolean_t b_encrypted; // CSS encryption
int i_read_once; // NB of bytes read by DVDRead
- int i_title; // Current Title
- /* FIXME: include these in a struct */
int i_start_byte;
int i_start_cell;
int i_end_cell;
/* Scrambling Information */
-#if defined( HAVE_SYS_DVDIO_H ) || defined( LINUX_DVD )
+#if defined( HAVE_SYS_DVDIO_H ) || defined( LINUX_DVD ) || defined( SYS_BEOS )
struct css_s css;
#endif
* Prototypes in dvd_ifo.c
*****************************************************************************/
struct ifo_s IfoInit( int );
+int IfoReadVTS( struct ifo_s * );
void IfoRead( struct ifo_s * );
void IfoEnd( ifo_t * );
/*****************************************************************************
* Prototypes in dvd_css.c
*****************************************************************************/
-#if defined( HAVE_SYS_DVDIO_H ) || defined( LINUX_DVD )
+#if defined( HAVE_SYS_DVDIO_H ) || defined( LINUX_DVD ) || defined( SYS_BEOS )
int CSSTest ( int );
struct css_s CSSInit ( int );
-int CSSGetKeys ( struct css_s * );
+int CSSGetKey ( struct css_s * );
int CSSDescrambleSector( u8 * , u8 * );
#endif