Go to the source code of this file.
Data Structures | |
struct | dvdcss_stream_cb |
Defines | |
#define | DVDCSS_BLOCK_SIZE 2048 |
#define | DVDCSS_NOFLAGS 0 |
#define | DVDCSS_READ_DECRYPT (1 << 0) |
#define | DVDCSS_SEEK_MPEG (1 << 0) |
#define | DVDCSS_SEEK_KEY (1 << 1) |
#define | LIBDVDCSS_EXPORT extern |
Typedefs | |
typedef dvdcss_s * | dvdcss_t |
typedef dvdcss_stream_cb | dvdcss_stream_cb |
Functions | |
LIBDVDCSS_EXPORT dvdcss_t | dvdcss_open (const char *psz_target) |
Open a DVD device or directory and return a dvdcss instance. More... | |
LIBDVDCSS_EXPORT dvdcss_t | dvdcss_open_stream (void *p_stream, dvdcss_stream_cb *p_stream_cb) |
Open a DVD device using dvdcss_stream_cb. More... | |
LIBDVDCSS_EXPORT int | dvdcss_close (dvdcss_t) |
Clean up library state and structures. More... | |
LIBDVDCSS_EXPORT int | dvdcss_seek (dvdcss_t, int i_blocks, int i_flags) |
Seek in the disc and change the current key if requested. More... | |
LIBDVDCSS_EXPORT int | dvdcss_read (dvdcss_t, void *p_buffer, int i_blocks, int i_flags) |
Read from the disc and decrypt data if requested. More... | |
LIBDVDCSS_EXPORT int | dvdcss_readv (dvdcss_t, void *p_iovec, int i_blocks, int i_flags) |
Read data from the disc into multiple buffers and decrypt data if requested. More... | |
LIBDVDCSS_EXPORT const char * | dvdcss_error (const dvdcss_t) |
Return a string containing the last error that occurred in the given libdvdcss instance. More... | |
LIBDVDCSS_EXPORT int | dvdcss_is_scrambled (dvdcss_t) |
Detect whether or not a DVD is scrambled. More... |
Public types and functions that describe the API of the libdvdcss library.
|
The block size of a DVD. |
|
The default flag to be used by libdvdcss functions. |
|
Flag to ask dvdcss_read() to decrypt the data it reads. |
|
Flag to ask dvdcss_seek() to check the current title key. |
|
Flag to tell dvdcss_seek() it is seeking in MPEG data. |
|
Macro for setting symbol storage-class or visibility. Define LIBDVDCSS_IMPORTS before importing this header to get the correct DLL storage-class when using libdvdcss from MSVC. |
|
Set of callbacks to access DVDs in custom ways. |
|
Library instance handle, to be used for each library call. |
|
Clean up library state and structures.
|
|
Return a string containing the last error that occurred in the given libdvdcss instance.
|
|
Detect whether or not a DVD is scrambled.
|
|
Open a DVD device or directory and return a dvdcss instance.
|
|
Open a DVD device using dvdcss_stream_cb.
|
|
Read from the disc and decrypt data if requested.
i_blocks logical blocks from the DVD.
You typically set
If DVDCSS_READ_DECRYPT is specified in
|
|
Read data from the disc into multiple buffers and decrypt data if requested.
i_blocks logical blocks from the DVD and write them to an array of iovec structures.
You typically set
If DVDCSS_READ_DECRYPT is specified in
|
|
Seek in the disc and change the current key if requested.
You typically set
If DVDCSS_SEEK_MPEG is specified in If DVDCSS_SEEK_KEY is specified, the title key will always be checked, even with the "title" method. This flag is typically used when seeking in a new title. |