dvdread.c File Reference

Include dependency graph for dvdread.c:


Data Structures

struct  demux_sys_t

Defines

#define ANGLE_TEXT   N_("DVD angle")
#define ANGLE_LONGTEXT
#define CACHING_TEXT   N_("Caching value in ms")
#define CACHING_LONGTEXT
#define DVD_BLOCK_READ_ONCE   4
#define BCD2D(__x__)   (((__x__ & 0xf0) >> 4) * 10 + (__x__ & 0x0f))
#define p_pgc   p_sys->p_cur_pgc
#define p_vmg   p_sys->p_vmg_file
#define p_vts   p_sys->p_vts_file
#define audio_control   p_sys->p_vts_file->vts_pgcit->pgci_srp[pgc_id-1].pgc->audio_control[i-1]
#define spu_palette   p_sys->p_vts_file->vts_pgcit->pgci_srp[pgc_id-1].pgc->palette
#define spu_control   p_sys->p_vts_file->vts_pgcit->pgci_srp[pgc_id-1].pgc->subp_control[i-1]
#define p_pgc   p_sys->p_cur_pgc
#define p_vts   p_sys->p_vts_file
#define cell   p_sys->p_cur_pgc->cell_playback
#define tt_srpt   p_sys->p_vmg_file->tt_srpt

Functions

static int Open (vlc_object_t *)
 Probes and initializes.
static void Close (vlc_object_t *)
 Releases resources.
int vlc_entry__main (module_t *p_module)
const char * vlc_entry_license__main (void)
static int Control (demux_t *, int, va_list)
static int Demux (demux_t *)
static int DemuxBlock (demux_t *, uint8_t *, int)
static void DemuxTitles (demux_t *, int *)
static void ESNew (demux_t *, int, int)
static int DvdReadSetArea (demux_t *, int, int, int)
static void DvdReadSeek (demux_t *, int)
static void DvdReadHandleDSI (demux_t *, uint8_t *)
static void DvdReadFindCell (demux_t *)
static int64_t dvdtime_to_time (dvd_time_t *dtime, uint8_t still_time)

Define Documentation

#define ANGLE_LONGTEXT

Value:

N_( \
    "Default DVD angle." )

#define ANGLE_TEXT   N_("DVD angle")

#define audio_control   p_sys->p_vts_file->vts_pgcit->pgci_srp[pgc_id-1].pgc->audio_control[i-1]

Referenced by DvdReadSetArea().

#define BCD2D ( __x__   )     (((__x__ & 0xf0) >> 4) * 10 + (__x__ & 0x0f))

Referenced by dvdtime_to_time().

#define CACHING_LONGTEXT

Value:

N_( \
    "Caching value for DVDs. " \
    "This value should be set in milliseconds." )

#define CACHING_TEXT   N_("Caching value in ms")

#define cell   p_sys->p_cur_pgc->cell_playback

Referenced by DvdReadFindCell().

#define DVD_BLOCK_READ_ONCE   4

Referenced by Demux().

#define p_pgc   p_sys->p_cur_pgc

#define p_pgc   p_sys->p_cur_pgc

#define p_vmg   p_sys->p_vmg_file

Referenced by DvdReadSetArea().

#define p_vts   p_sys->p_vts_file

#define p_vts   p_sys->p_vts_file

Referenced by DvdReadSeek(), and DvdReadSetArea().

#define spu_control   p_sys->p_vts_file->vts_pgcit->pgci_srp[pgc_id-1].pgc->subp_control[i-1]

Referenced by DvdReadSetArea().

#define spu_palette   p_sys->p_vts_file->vts_pgcit->pgci_srp[pgc_id-1].pgc->palette

Referenced by DvdReadSetArea().

#define tt_srpt   p_sys->p_vmg_file->tt_srpt

Referenced by DemuxTitles().


Function Documentation

static void Close ( vlc_object_t p_this  )  [static]

Releases resources.

Close the module.

Destroys the X11 window.

Disconnect from the X server.

Close a SDL video output.

It destroys an OpenGL vout display.

Terminate a vout display created by Open.

It destroyes a Direct3D vout display.

Terminate an output method created by Open.

Release the drawable.

Close a libcaca video output.

Close a aa video output method.

Close the filter.

Terminate a splitter module.

This function closes a clone video splitter module.

Common close function.

Releases allocate resources.

Close: Destructor.

Parameters:
p_this pointer to this filter object
p_this,: the filter object

References ps_track_t::b_seen, ps_track_t::es, es_format_Clean(), es_out_Del(), ps_track_t::fmt, i, demux_t::out, demux_sys_t::p_dvdread, demux_t::p_sys, p_sys, demux_sys_t::p_title, demux_sys_t::p_vmg_file, demux_sys_t::p_vts_file, PS_TK_COUNT, demux_sys_t::tk, and tk.

static int Control ( demux_t p_demux,
int  i_query,
va_list  args 
) [static]

static int Demux ( demux_t p_demux  )  [static]

static int DemuxBlock ( demux_t p_demux,
uint8_t *  pkt,
int  i_pkt 
) [static]

static void DemuxTitles ( demux_t p_demux,
int *  pi_angle 
) [static]

static void DvdReadFindCell ( demux_t p_demux  )  [static]

static void DvdReadHandleDSI ( demux_t p_demux,
uint8_t *  p_data 
) [static]

static void DvdReadSeek ( demux_t p_demux,
int  i_block_offset 
) [static]

static int DvdReadSetArea ( demux_t p_demux,
int  i_title,
int  i_chapter,
int  i_angle 
) [static]

static int64_t dvdtime_to_time ( dvd_time_t dtime,
uint8_t  still_time 
) [static]

static void ESNew ( demux_t p_demux,
int  i_id,
int  i_lang 
) [static]

static int Open ( vlc_object_t p_this  )  [static]

Probes and initializes.

Todo:

  • Improve CDDB support (non-blocking, cache, .

Open the module.

Create an X11 window.

Probe the X server.

This function initializes SDL vout method.

It creates an OpenGL vout display.

This function allocates and initialize the DirectX vout display.

It creates a Direct3D vout display.

This function allocates and initializes a FB vout method.

Find the drawable set by libvlc application.

This function initializes libcaca vout method.

This function allocates and initializes a aa vout method.

This function allocates and initializes a Wall splitter module.

Open the filter.

This function allocates and initializes a Clone splitter module.

Open: initialize and create stuff.

Connect to the sftp server and ask for a file.

Parameters:
p_this,: the vlc_object
Returns:
VLC_SUCCESS if everything was fine
Parameters:
p_this 
p_this,: the filter object
Returns:
VLC_SUCCESS or vlc error codes

Todo:
Reinstate meta codec name

References _, Close(), DEMUX_INIT_COMMON, DemuxTitles(), dialog_Fatal, DvdReadSetArea(), demux_sys_t::i_angle, demux_sys_t::i_cell_cur_time, demux_sys_t::i_cell_duration, demux_sys_t::i_chapter, demux_sys_t::i_mux_rate, demux_sys_t::i_sar_den, demux_sys_t::i_sar_num, demux_sys_t::i_title, demux_sys_t::i_title_cur_time, msg_Dbg, msg_Err, msg_Warn, demux_sys_t::p_dvdread, demux_t::p_sys, p_sys, demux_sys_t::p_title, demux_sys_t::p_vmg_file, demux_sys_t::p_vts_file, ps_track_init(), demux_t::psz_access, psz_name, demux_t::psz_path, strdup(), demux_sys_t::tk, ToLocaleDup(), var_Create, var_CreateGetInteger, var_CreateGetString, VLC_EGENERIC, VLC_SUCCESS, VLC_VAR_DOINHERIT, and VLC_VAR_INTEGER.

int vlc_entry__main ( module_t p_module  ) 

const char* vlc_entry_license__main ( void   ) 


Generated on Tue May 25 08:05:07 2010 for VLC by  doxygen 1.5.6