
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 | MENU_TEXT N_("Start directly in menu") |
| #define | MENU_LONGTEXT |
| #define | LANGUAGE_DEFAULT ("en") |
| #define | DVD_READ_CACHE 1 |
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 *, const uint8_t *, int) |
| static void | DemuxForceStill (demux_t *) |
| static void | DemuxTitles (demux_t *) |
| static void | ESSubtitleUpdate (demux_t *) |
| static void | ButtonUpdate (demux_t *, bool) |
| static void | ESNew (demux_t *, int) |
| static int | ProbeDVD (demux_t *, char *) |
| static char * | DemuxGetLanguageCode (demux_t *p_demux, const char *psz_var) |
| static int | ControlInternal (demux_t *, int,...) |
| static void | StillTimer (void *) |
| static int | EventKey (vlc_object_t *, char const *, vlc_value_t, vlc_value_t, void *) |
| static int | EventMouse (vlc_object_t *, char const *, vlc_value_t, vlc_value_t, void *) |
| static int | EventIntf (vlc_object_t *, char const *, vlc_value_t, vlc_value_t, void *) |
| #define ANGLE_LONGTEXT |
Value:
N_( \ "Default DVD angle." )
| #define ANGLE_TEXT N_("DVD angle") |
| #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 DVD_READ_CACHE 1 |
Referenced by Open().
| #define LANGUAGE_DEFAULT ("en") |
Referenced by DemuxGetLanguageCode(), and Open().
| #define MENU_LONGTEXT |
Value:
N_( \ "Start the DVD directly in the main menu. This "\ "will try to skip all the useless warning introductions." )
| #define MENU_TEXT N_("Start directly in menu") |
| static void ButtonUpdate | ( | demux_t * | p_demux, | |
| bool | b_mode | |||
| ) | [static] |
References demux_sys_t::clut, demux_sys_t::dvdnav, i, msg_Dbg, msg_Err, vlc_value_t::p_address, demux_sys_t::p_input, demux_t::p_sys, p_sys, demux_sys_t::palette, var_Get, var_SetAddress, var_SetBool, var_SetInteger, vlc_mutex_lock(), vlc_mutex_unlock(), and VLC_SUCCESS.
Referenced by Demux(), ESNew(), ESSubtitleUpdate(), EventKey(), and EventMouse().
| 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 demux_sys_t::b_created, ps_track_t::b_seen, demux_sys_t::dvdnav, ps_track_t::es, es_format_Clean(), es_out_Del(), EventIntf(), EventKey(), EventMouse(), ps_track_t::fmt, i, demux_sys_t::lock, msg_Warn, demux_t::out, demux_sys_t::p_input, demux_t::p_libvlc, demux_t::p_sys, p_sys, demux_sys_t::p_vout, PS_TK_COUNT, demux_sys_t::still, demux_sys_t::timer, demux_sys_t::tk, tk, var_DelCallback, var_Destroy, vlc_mutex_destroy(), vlc_object_release, and vlc_timer_destroy().
| 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_META, 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, demux_sys_t::dvdnav, i, demux_sys_t::i_pgc_length, demux_t::i_seekpoint, demux_t::i_title, demux_sys_t::i_title, demux_t::i_update, demux_t::info, INPUT_UPDATE_SEEKPOINT, INPUT_UPDATE_TITLE, msg_Warn, demux_t::p_sys, p_sys, demux_sys_t::title, var_GetInteger, VLC_EGENERIC, vlc_input_title_Duplicate(), vlc_meta_Set(), vlc_meta_Title, and VLC_SUCCESS.
| static int ControlInternal | ( | demux_t * | p_demux, | |
| int | i_query, | |||
| ... | ||||
| ) | [static] |
| static int Demux | ( | demux_t * | p_demux | ) | [static] |
References demux_sys_t::b_created, demux_sys_t::b_enabled, demux_sys_t::b_reset_pcr, ps_track_t::b_seen, demux_sys_t::b_spu_change, ButtonUpdate(), CLOCK_FREQ, demux_sys_t::clut, ControlInternal(), DEMUX_SET_TITLE, DemuxBlock(), DemuxForceStill(), demux_sys_t::dvdnav, ps_track_t::es, es_format_Clean(), es_out_Control(), es_out_Del(), ES_OUT_GET_EMPTY, ES_OUT_RESET_PCR, ESNew(), ESSubtitleUpdate(), ps_track_t::fmt, i, demux_sys_t::i_den, i_height, demux_sys_t::i_num, demux_sys_t::i_pgc_length, demux_t::i_seekpoint, demux_t::i_title, demux_t::i_update, demux_sys_t::i_vobu_flush, demux_sys_t::i_vobu_index, demux_t::info, INPUT_UPDATE_SEEKPOINT, INPUT_UPDATE_TITLE, demux_sys_t::lock, msg_Dbg, msg_Warn, msleep, demux_t::out, demux_t::p_sys, p_sys, PS_TK_COUNT, demux_sys_t::sar, demux_sys_t::still, demux_sys_t::timer, demux_sys_t::tk, tk, vlc_mutex_lock(), vlc_mutex_unlock(), VLC_SUCCESS, vlc_timer_schedule(), pci_gi_t::vobu_e_ptm, and pci_gi_t::vobu_se_e_ptm.
| static int DemuxBlock | ( | demux_t * | p_demux, | |
| const 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.
Referenced by Demux(), and DemuxForceStill().
| static void DemuxForceStill | ( | demux_t * | p_demux | ) | [static] |
References DemuxBlock(), es_out_Control(), ES_OUT_GET_EMPTY, and demux_t::out.
Referenced by Demux().
| static char * DemuxGetLanguageCode | ( | demux_t * | p_demux, | |
| const char * | psz_var | |||
| ) | [static] |
| static void DemuxTitles | ( | demux_t * | p_demux | ) | [static] |
References __MAX, input_title_t::b_menu, demux_sys_t::dvdnav, i, input_title_t::i_seekpoint, demux_sys_t::i_title, demux_t::p_sys, p_sys, seekpoint_t::psz_name, input_title_t::psz_name, input_title_t::seekpoint, strdup(), TAB_APPEND, demux_sys_t::title, vlc_input_title_New(), and vlc_seekpoint_New().
Referenced by Open().
| static void ESNew | ( | demux_t * | p_demux, | |
| int | i_id | |||
| ) | [static] |
References AUDIO_ES, ps_track_t::b_seen, ButtonUpdate(), demux_sys_t::clut, demux_sys_t::dvdnav, ps_track_t::es, es_out_Add(), es_out_Control(), ES_OUT_SET_ES, ps_track_t::fmt, es_format_t::i_cat, demux_sys_t::i_den, demux_sys_t::i_num, video_format_t::i_sar_den, 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, demux_sys_t::sar, subs_format_t::spu, SPU_ES, es_format_t::subs, demux_sys_t::tk, tk, es_format_t::video, and VIDEO_ES.
Referenced by Demux(), DemuxBlock(), DvdReadSetArea(), and ESSubtitleUpdate().
| static void ESSubtitleUpdate | ( | demux_t * | p_demux | ) | [static] |
References ps_track_t::b_seen, ButtonUpdate(), demux_sys_t::dvdnav, ps_track_t::es, es_out_Control(), ES_OUT_SET_ES, ES_OUT_SET_ES_STATE, ESNew(), demux_t::out, demux_t::p_sys, p_sys, PS_ID_TO_TK, demux_sys_t::tk, and tk.
Referenced by Demux().
| static int EventIntf | ( | vlc_object_t * | p_input, | |
| char const * | psz_var, | |||
| vlc_value_t | oldval, | |||
| vlc_value_t | val, | |||
| void * | p_data | |||
| ) | [static] |
| static int EventKey | ( | vlc_object_t * | p_this, | |
| char const * | psz_var, | |||
| vlc_value_t | oldval, | |||
| vlc_value_t | newval, | |||
| void * | p_data | |||
| ) | [static] |
| static int EventMouse | ( | vlc_object_t * | p_vout, | |
| char const * | psz_var, | |||
| vlc_value_t | oldval, | |||
| vlc_value_t | val, | |||
| void * | p_data | |||
| ) | [static] |
References ButtonUpdate(), vlc_value_t::coords, demux_sys_t::dvdnav, demux_t::p_sys, p_sys, VLC_SUCCESS, vlc_value_t::x, and vlc_value_t::y.
Referenced by Close(), and EventIntf().
| 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 _, demux_sys_t::b_created, demux_sys_t::b_enabled, demux_sys_t::b_reset_pcr, demux_sys_t::b_spu_change, decode_URI(), demux_GetParentInput(), DEMUX_INIT_COMMON, DemuxGetLanguageCode(), DemuxTitles(), dialog_Fatal, DVD_READ_CACHE, demux_sys_t::dvdnav, EventIntf(), EventKey(), demux_sys_t::i_den, demux_sys_t::i_mux_rate, demux_sys_t::i_num, demux_sys_t::i_pgc_length, demux_sys_t::i_vobu_flush, demux_sys_t::i_vobu_index, LANGUAGE_DEFAULT, demux_sys_t::lock, msg_Dbg, msg_Err, msg_Warn, demux_sys_t::p_input, demux_t::p_libvlc, demux_t::p_sys, p_sys, ProbeDVD(), ps_track_init(), demux_t::psz_access, psz_name, demux_t::psz_path, demux_sys_t::sar, demux_sys_t::still, StillTimer(), strdup(), demux_sys_t::timer, demux_sys_t::tk, ToLocaleDup(), var_AddCallback, var_Create, var_CreateGetBool, var_CreateGetInteger, var_CreateGetString, VLC_EGENERIC, vlc_mutex_init(), VLC_SUCCESS, vlc_timer_create(), VLC_VAR_ADDRESS, VLC_VAR_BOOL, VLC_VAR_DOINHERIT, VLC_VAR_INTEGER, and VLC_VAR_MUTEX.
| static int ProbeDVD | ( | demux_t * | p_demux, | |
| char * | psz_name | |||
| ) | [static] |
| static void StillTimer | ( | void * | p_data | ) | [static] |
References demux_sys_t::b_enabled, demux_sys_t::dvdnav, likely, demux_sys_t::lock, p_sys, demux_sys_t::still, vlc_mutex_lock(), and vlc_mutex_unlock().
Referenced by Open().
| int vlc_entry__main | ( | module_t * | p_module | ) |
| const char* vlc_entry_license__main | ( | void | ) |
1.5.6