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 beginning 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 beginning 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 (const char *path) |
| Setup read functions with either libdvdcss or minimal DVD access. | |
Variables | |
| dvd_input_t(* | dvdinput_open )(const char *) |
| Function pointers that will be filled in by the input implementation. | |
| 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 struct dvdcss_s* dvdcss_handle |
Definition at line 64 of file dvd_input.c.
| static dvd_input_t css_open | ( | const char * | target | ) | [static] |
initialize and open a DVD device or file.
Definition at line 86 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 111 of file dvd_input.c.
Referenced by dvdinput_setup().
| static int css_seek | ( | dvd_input_t | dev, | |
| int | blocks | |||
| ) | [static] |
| static int css_title | ( | dvd_input_t | dev, | |
| int | block | |||
| ) | [static] |
set the block for the beginning of a new title (key).
Definition at line 128 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 136 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 144 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 161 of file dvd_input.c.
| static char* file_error | ( | dvd_input_t | dev | ) | [static] |
return the last error message
Definition at line 190 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 199 of file dvd_input.c.
Referenced by _open_m2ts(), _seek_stream(), bs_init(), bs_read(), bs_seek(), bs_skip(), dvdinput_setup(), and meta_parse().
| static int file_title | ( | dvd_input_t | dev, | |
| int | block | |||
| ) | [static] |
set the block for the beginning 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.
Referenced by _read_block(), bs_init(), bs_read(), bs_seek(), bs_skip(), dvdinput_setup(), and meta_parse().
| 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.
Referenced by _close_m2ts(), _libaacs_required(), _libbdplus_required(), clpi_parse(), dvdinput_setup(), indx_parse(), meta_parse(), mobj_parse(), mpls_parse(), and sound_parse().
| int dvdinput_setup | ( | const char * | path | ) |
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().
| dvd_input_t(* dvdinput_open)(const char *) |
Function pointers that will be filled in by the input implementation.
These functions provide the main API.
Definition at line 34 of file dvd_input.c.
Referenced by dvdinput_setup(), DVDOpenFilePath(), DVDOpenImageFile(), and DVDOpenVOBPath().
| int(* dvdinput_close)(dvd_input_t) |
Definition at line 35 of file dvd_input.c.
Referenced by DVDClose(), DVDCloseFile(), dvdinput_setup(), DVDOpenFilePath(), DVDOpenImageFile(), and DVDOpenVOBPath().
| int(* dvdinput_seek)(dvd_input_t, int) |
Definition at line 36 of file dvd_input.c.
Referenced by dvdinput_setup(), DVDReadBlocksPath(), and UDFReadBlocksRaw().
| int(* dvdinput_title)(dvd_input_t, int) |
Definition at line 37 of file dvd_input.c.
Referenced by dvdinput_setup(), DVDOpenVOBPath(), DVDReadBlocks(), and initAllCSSKeys().
| int(* dvdinput_read)(dvd_input_t, void *, int, int) |
Definition at line 38 of file dvd_input.c.
Referenced by dvdinput_setup(), DVDReadBlocksPath(), and UDFReadBlocksRaw().
| char*(* dvdinput_error)(dvd_input_t) |
Definition at line 39 of file dvd_input.c.
Referenced by dvdinput_setup().
dvdcss_handle(* DVDcss_open)(const char *) [static] |
Definition at line 65 of file dvd_input.c.
Referenced by css_open(), and dvdinput_setup().
int(* DVDcss_close)(dvdcss_handle) [static] |
Definition at line 66 of file dvd_input.c.
Referenced by css_close(), and dvdinput_setup().
int(* DVDcss_seek)(dvdcss_handle, int, int) [static] |
Definition at line 67 of file dvd_input.c.
Referenced by css_seek(), and dvdinput_setup().
int(* DVDcss_title)(dvdcss_handle, int) [static] |
Definition at line 68 of file dvd_input.c.
Referenced by css_title(), and dvdinput_setup().
int(* DVDcss_read)(dvdcss_handle, void *, int, int) [static] |
Definition at line 69 of file dvd_input.c.
Referenced by css_read(), and dvdinput_setup().
char*(* DVDcss_error)(dvdcss_handle) [static] |
Definition at line 70 of file dvd_input.c.
Referenced by css_error(), and dvdinput_setup().
1.6.3