
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 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 |
Referenced by DvdReadFindCell(), DvdReadSeek(), and DvdReadSetArea().
| #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().
| 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.
| 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] |
References DEMUX_CAN_CONTROL_PACE, DEMUX_CAN_PAUSE, DEMUX_CAN_SEEK, DEMUX_GET_LENGTH, DEMUX_GET_POSITION, DEMUX_GET_PTS_DELAY, DEMUX_GET_TIME, DEMUX_GET_TITLE_INFO, DEMUX_SET_PAUSE_STATE, DEMUX_SET_POSITION, DEMUX_SET_SEEKPOINT, DEMUX_SET_TITLE, DvdReadSeek(), DvdReadSetArea(), dvdtime_to_time(), i, demux_t::i_seekpoint, demux_t::i_title, demux_sys_t::i_title_blocks, demux_sys_t::i_title_offset, demux_sys_t::i_titles, demux_t::i_update, demux_t::info, INPUT_UPDATE_SEEKPOINT, INPUT_UPDATE_TITLE, msg_Warn, demux_sys_t::p_cur_pgc, demux_t::p_sys, p_sys, demux_sys_t::titles, var_GetInteger, VLC_EGENERIC, vlc_input_title_Duplicate(), and VLC_SUCCESS.
| static int Demux | ( | demux_t * | p_demux | ) | [static] |
References _, __MIN, DemuxBlock(), dialog_Fatal, DVD_BLOCK_READ_ONCE, DvdReadHandleDSI(), DvdReadSetArea(), i, demux_sys_t::i_cur_block, demux_sys_t::i_cur_cell, demux_sys_t::i_next_vobu, demux_sys_t::i_pack_len, demux_sys_t::i_title, demux_sys_t::i_title_offset, demux_sys_t::i_titles, msg_Dbg, msg_Err, demux_sys_t::p_cur_pgc, demux_t::p_sys, p_sys, and demux_sys_t::p_title.
| static int DemuxBlock | ( | demux_t * | p_demux, | |
| uint8_t * | pkt, | |||
| int | i_pkt | |||
| ) | [static] |
References ps_track_t::b_seen, block_New, block_Release(), ps_track_t::es, es_out_Control(), es_out_Send(), ES_OUT_SET_PCR, ESNew(), demux_sys_t::i_mux_rate, ps_track_t::i_skip, msg_Warn, demux_t::out, block_t::p_buffer, demux_t::p_sys, p_sys, PS_ID_TO_TK, ps_pkt_id(), ps_pkt_parse_pack(), ps_pkt_parse_pes(), ps_pkt_size(), demux_sys_t::tk, tk, and VLC_SUCCESS.
| static void DemuxTitles | ( | demux_t * | p_demux, | |
| int * | pi_angle | |||
| ) | [static] |
| static void DvdReadFindCell | ( | demux_t * | p_demux | ) | [static] |
References cell, i, demux_sys_t::i_angle, demux_sys_t::i_chapter, demux_sys_t::i_chapters, demux_sys_t::i_cur_cell, demux_sys_t::i_next_cell, demux_t::i_seekpoint, demux_sys_t::i_ttn, demux_t::i_update, demux_t::info, INPUT_UPDATE_SEEKPOINT, p_pgc, demux_t::p_sys, p_sys, and demux_sys_t::p_vts_file.
Referenced by DvdReadHandleDSI(), DvdReadSeek(), and DvdReadSetArea().
| static void DvdReadHandleDSI | ( | demux_t * | p_demux, | |
| uint8_t * | p_data | |||
| ) | [static] |
References demux_sys_t::dsi_pack, DvdReadFindCell(), dvdtime_to_time(), demux_sys_t::i_angle, demux_sys_t::i_cell_cur_time, demux_sys_t::i_cell_duration, demux_sys_t::i_cur_block, demux_sys_t::i_cur_cell, demux_sys_t::i_next_cell, demux_sys_t::i_next_vobu, demux_sys_t::i_pack_len, demux_sys_t::i_title_cur_time, msg_Dbg, demux_sys_t::p_cur_pgc, demux_t::p_sys, and p_sys.
Referenced by Demux().
| static void DvdReadSeek | ( | demux_t * | p_demux, | |
| int | i_block_offset | |||
| ) | [static] |
References DvdReadFindCell(), demux_sys_t::i_chapter, demux_sys_t::i_chapters, demux_sys_t::i_cur_block, demux_sys_t::i_cur_cell, demux_sys_t::i_next_vobu, demux_sys_t::i_pack_len, demux_t::i_seekpoint, demux_sys_t::i_title_end_cell, demux_sys_t::i_title_offset, demux_sys_t::i_title_start_cell, demux_sys_t::i_ttn, demux_t::i_update, demux_t::info, INPUT_UPDATE_SEEKPOINT, msg_Dbg, msg_Err, demux_sys_t::p_cur_pgc, p_pgc, demux_t::p_sys, p_sys, and p_vts.
Referenced by Control().
| static int DvdReadSetArea | ( | demux_t * | p_demux, | |
| int | i_title, | |||
| int | i_chapter, | |||
| int | i_angle | |||
| ) | [static] |
References audio_control, ps_track_t::b_seen, demux_sys_t::clut, DvdReadFindCell(), ps_track_t::es, es_format_Clean(), es_out_Control(), es_out_Del(), ES_OUT_RESET_PCR, ESNew(), ps_track_t::fmt, i, demux_sys_t::i_angle, demux_sys_t::i_angles, demux_sys_t::i_chapter, demux_sys_t::i_chapters, demux_sys_t::i_cur_block, demux_sys_t::i_cur_cell, demux_sys_t::i_next_cell, demux_sys_t::i_next_vobu, demux_sys_t::i_pack_len, demux_sys_t::i_sar_den, demux_sys_t::i_sar_num, demux_t::i_seekpoint, demux_t::i_title, demux_sys_t::i_title, demux_sys_t::i_title_blocks, demux_sys_t::i_title_end_block, demux_sys_t::i_title_end_cell, demux_sys_t::i_title_offset, demux_sys_t::i_title_start_block, demux_sys_t::i_title_start_cell, demux_sys_t::i_ttn, demux_t::i_update, demux_t::info, INPUT_UPDATE_SEEKPOINT, INPUT_UPDATE_TITLE, msg_Dbg, msg_Err, demux_t::out, demux_sys_t::p_dvdread, p_pgc, demux_t::p_sys, p_sys, demux_sys_t::p_title, p_vmg, p_vts, demux_sys_t::p_vts_file, PS_TK_COUNT, spu_control, spu_palette, demux_sys_t::tk, tk, VLC_EGENERIC, VLC_SUCCESS, and VLC_UNUSED.
| static int64_t dvdtime_to_time | ( | dvd_time_t * | dtime, | |
| uint8_t | still_time | |||
| ) | [static] |
References BCD2D, dvd_time_t::frame_u, dvd_time_t::hour, dvd_time_t::minute, and dvd_time_t::second.
Referenced by Control(), and DvdReadHandleDSI().
| static void ESNew | ( | demux_t * | p_demux, | |
| int | i_id, | |||
| int | i_lang | |||
| ) | [static] |
References AUDIO_ES, ps_track_t::b_seen, demux_sys_t::clut, ps_track_t::es, es_out_Add(), ps_track_t::fmt, es_format_t::i_cat, demux_sys_t::i_sar_den, video_format_t::i_sar_den, demux_sys_t::i_sar_num, video_format_t::i_sar_num, msg_Warn, demux_t::out, demux_t::p_sys, p_sys, subs_format_t::palette, PS_ID_TO_TK, ps_track_fill(), es_format_t::psz_language, subs_format_t::spu, SPU_ES, strdup(), es_format_t::subs, demux_sys_t::tk, tk, es_format_t::video, and VIDEO_ES.
| static int Open | ( | vlc_object_t * | p_this | ) | [static] |
Probes and initializes.
Todo:
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.
| p_this,: | the vlc_object |
| p_this | ||
| p_this,: | the filter object |
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 | ) |
1.5.6