dvd_input.c File Reference

Go to the source code of this file.

Classes

struct  dvd_input_s

Typedefs

typedef struct dvdcss_s * dvdcss_handle

Functions

static dvd_input_t css_open (const char *target)
 initialize and open a DVD device or file.
static char * css_error (dvd_input_t dev)
 return the last error message
static int css_seek (dvd_input_t dev, int blocks)
 seek into the device.
static int css_title (dvd_input_t dev, int block)
 set the block for the begining of a new title (key).
static int css_read (dvd_input_t dev, void *buffer, int blocks, int flags)
 read data from the device.
static int css_close (dvd_input_t dev)
 close the DVD device and clean up the library.
static dvd_input_t file_open (const char *target)
 initialize and open a DVD device or file.
static char * file_error (dvd_input_t dev)
 return the last error message
static int file_seek (dvd_input_t dev, int blocks)
 seek into the device.
static int file_title (dvd_input_t dev, int block)
 set the block for the begining of a new title (key).
static int file_read (dvd_input_t dev, void *buffer, int blocks, int flags)
 read data from the device.
static int file_close (dvd_input_t dev)
 close the DVD device and clean up.
int dvdinput_setup (void)
 Setup read functions with either libdvdcss or minimal DVD access.

Variables

dvd_input_t(* dvdinput_open )(const char *)
 Pointers which will be filled either the input methods functions.
int(* dvdinput_close )(dvd_input_t)
int(* dvdinput_seek )(dvd_input_t, int)
int(* dvdinput_title )(dvd_input_t, int)
int(* dvdinput_read )(dvd_input_t, void *, int, int)
char *(* dvdinput_error )(dvd_input_t)
static dvdcss_handle(* DVDcss_open )(const char *)
static int(* DVDcss_close )(dvdcss_handle)
static int(* DVDcss_seek )(dvdcss_handle, int, int)
static int(* DVDcss_title )(dvdcss_handle, int)
static int(* DVDcss_read )(dvdcss_handle, void *, int, int)
static char *(* DVDcss_error )(dvdcss_handle)


Typedef Documentation

typedef struct dvdcss_s* dvdcss_handle

Definition at line 56 of file dvd_input.c.


Function Documentation

static dvd_input_t css_open ( const char *  target  )  [static]

initialize and open a DVD device or file.

Definition at line 78 of file dvd_input.c.

Referenced by dvdinput_setup().

static char* css_error ( dvd_input_t  dev  )  [static]

return the last error message

Definition at line 103 of file dvd_input.c.

Referenced by dvdinput_setup().

static int css_seek ( dvd_input_t  dev,
int  blocks 
) [static]

seek into the device.

Definition at line 111 of file dvd_input.c.

Referenced by dvdinput_setup().

static int css_title ( dvd_input_t  dev,
int  block 
) [static]

set the block for the begining of a new title (key).

Definition at line 120 of file dvd_input.c.

Referenced by dvdinput_setup().

static int css_read ( dvd_input_t  dev,
void *  buffer,
int  blocks,
int  flags 
) [static]

read data from the device.

Definition at line 128 of file dvd_input.c.

Referenced by dvdinput_setup().

static int css_close ( dvd_input_t  dev  )  [static]

close the DVD device and clean up the library.

Definition at line 136 of file dvd_input.c.

Referenced by dvdinput_setup().

static dvd_input_t file_open ( const char *  target  )  [static]

initialize and open a DVD device or file.

Definition at line 158 of file dvd_input.c.

static char* file_error ( dvd_input_t  dev  )  [static]

return the last error message

Definition at line 187 of file dvd_input.c.

Referenced by dvdinput_setup().

static int file_seek ( dvd_input_t  dev,
int  blocks 
) [static]

seek into the device.

Definition at line 196 of file dvd_input.c.

static int file_title ( dvd_input_t  dev,
int  block 
) [static]

set the block for the begining of a new title (key).

Definition at line 214 of file dvd_input.c.

Referenced by dvdinput_setup().

static int file_read ( dvd_input_t  dev,
void *  buffer,
int  blocks,
int  flags 
) [static]

read data from the device.

Definition at line 222 of file dvd_input.c.

static int file_close ( dvd_input_t  dev  )  [static]

close the DVD device and clean up.

Definition at line 259 of file dvd_input.c.

int dvdinput_setup ( void   ) 

Setup read functions with either libdvdcss or minimal DVD access.

Setup function accessed by dvd_reader.c.

Definition at line 277 of file dvd_input.c.

Referenced by DVDOpen().


Variable Documentation

dvd_input_t(* dvdinput_open)(const char *)

Pointers which will be filled either the input methods functions.

Referenced by dvdinput_setup(), DVDOpenFilePath(), DVDOpenImageFile(), and DVDOpenVOBPath().

int(* dvdinput_seek)(dvd_input_t, int)

int(* dvdinput_read)(dvd_input_t, void *, int, int)

Referenced by dvdinput_setup().

dvdcss_handle(* DVDcss_open)(const char *) [static]

Referenced by css_open(), and dvdinput_setup().

int(* DVDcss_close)(dvdcss_handle) [static]

Referenced by css_close(), and dvdinput_setup().

int(* DVDcss_seek)(dvdcss_handle, int, int) [static]

Referenced by css_seek(), and dvdinput_setup().

int(* DVDcss_title)(dvdcss_handle, int) [static]

Referenced by css_title(), and dvdinput_setup().

int(* DVDcss_read)(dvdcss_handle, void *, int, int) [static]

Referenced by css_read(), and dvdinput_setup().

char*(* DVDcss_error)(dvdcss_handle) [static]

Referenced by css_error(), and dvdinput_setup().


Generated on Sat Dec 18 05:15:51 2010 for MythTV by  doxygen 1.5.5