
Data Structures | |
| struct | demux_sys_t |
| struct | es_out_sys_t |
Defines | |
| #define | CACHING_TEXT N_("Caching value in ms") |
| #define | CACHING_LONGTEXT |
| #define | BD_TS_PACKET_HEADER (4) |
| #define | BD_TS_PACKET_SIZE (192) |
| #define | BD_45KHZ INT64_C(45000) |
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 char * | FindPathBase (const char *, bool *pb_shortname) |
| static int | LoadPlaylist (demux_t *) |
| static int | LoadClip (demux_t *) |
| static void | ReorderPlaylist (demux_t *) |
| static void | InitTitles (demux_t *) |
| static int | SetTitle (demux_t *, int) |
| static int | SetChapter (demux_t *, int) |
| static int64_t | GetTime (demux_t *p_demux) |
| Retreive the current time using current EP + ATC delta. | |
| static double | GetPosition (demux_t *) |
| static int | SetTime (demux_t *, int64_t) |
| static int | SetPosition (demux_t *, double) |
| static int | SetPlayItem (demux_t *p_demux, int i_mpls, int i_play_item) |
| static void | ClosePlayItem (demux_t *) |
| static int64_t | GetClpiPacket (demux_t *p_demux, int *pi_ep, const bd_mpls_clpi_t *p_mpls_clpi, int64_t i_time) |
| static es_out_t * | EsOutNew (demux_t *p_demux) |
| static int64_t | GetMplsUniqueDuration (const bd_mpls_t *p_mpls) |
| static int | SortMpls (const void *a, const void *b) |
| static int | CheckFileList (const char *psz_base, const char *ppsz_name[]) |
| static block_t * | LoadBlock (demux_t *p_demux, const char *psz_name) |
| static int | FilterMplsLong (const char *psz_name) |
| static int | FilterMplsShort (const char *psz_name) |
| static void | LoadMpls (demux_t *p_demux, const char *psz_name, int i_id) |
| static int | FilterClpiLong (const char *psz_name) |
| static int | FilterClpiShort (const char *psz_name) |
| static void | LoadClpi (demux_t *p_demux, const char *psz_name, int i_id) |
| static int | ScanSort (const char **ppsz_a, const char **ppsz_b) |
| static int | Load (demux_t *p_demux, const char *psz_dir, int(*pf_filter)(const char *), void(*pf_load)(demux_t *p_demux, const char *psz_name, int i_id)) |
| static es_out_id_t * | EsOutAdd (es_out_t *p_out, const es_format_t *p_fmt) |
| static int | EsOutSend (es_out_t *p_out, es_out_id_t *p_es, block_t *p_block) |
| static void | EsOutDel (es_out_t *p_out, es_out_id_t *p_es) |
| static int | EsOutControl (es_out_t *p_out, int i_query, va_list args) |
| static void | EsOutDestroy (es_out_t *p_out) |
| #define BD_45KHZ INT64_C(45000) |
Referenced by GetTime(), InitTitles(), and SetTime().
| #define BD_TS_PACKET_HEADER (4) |
Referenced by Demux().
| #define BD_TS_PACKET_SIZE (192) |
Referenced by Demux(), and SetPlayItem().
| #define CACHING_LONGTEXT |
Value:
N_( \ "Caching value for BDs. This "\ "value should be set in milliseconds." )
| #define CACHING_TEXT N_("Caching value in ms") |
| static int CheckFileList | ( | const char * | psz_base, | |
| const char * | ppsz_name[] | |||
| ) | [static] |
| 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 bd_clpi_Clean(), bd_mpls_Clean(), ClosePlayItem(), es_out_Delete(), i, demux_sys_t::i_clpi, demux_sys_t::i_mpls, demux_sys_t::i_title, demux_sys_t::p_out, demux_t::p_sys, p_sys, demux_sys_t::pp_clpi, demux_sys_t::pp_mpls, demux_sys_t::pp_title, demux_sys_t::psz_base, TAB_CLEAN, and vlc_input_title_Delete().
| static void ClosePlayItem | ( | demux_t * | p_demux | ) | [static] |
References es_out_Control(), ES_OUT_RESET_PCR, demux_t::out, demux_sys_t::p_m2ts, demux_sys_t::p_parser, demux_t::p_sys, p_sys, and stream_Delete().
Referenced by Close(), and SetPlayItem().
| 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_TIME, DEMUX_SET_TITLE, GetPosition(), GetTime(), i, input_title_t::i_length, demux_sys_t::i_title, demux_t::i_title, demux_t::info, demux_t::p_sys, p_sys, demux_sys_t::pp_title, SetChapter(), SetPosition(), SetTime(), SetTitle(), var_GetInteger, VLC_EGENERIC, vlc_input_title_Duplicate(), and VLC_SUCCESS.
| static int Demux | ( | demux_t * | p_demux | ) | [static] |
References __MIN, BD_TS_PACKET_HEADER, BD_TS_PACKET_SIZE, block_New, GetDWBE, GetTime(), demux_sys_t::i_atc_current, demux_sys_t::i_atc_initial, demux_sys_t::i_atc_last, demux_sys_t::i_atc_wrap, block_t::i_buffer, demux_sys_t::i_clpi_ep, bd_clpi_ep_map_t::i_ep, bd_clpi_t::i_ep_map, bd_clpi_ep_t::i_packet, demux_sys_t::i_packet, demux_sys_t::i_packet_headers, demux_sys_t::i_packet_start, demux_sys_t::i_packet_stop, bd_mpls_t::i_play_item, demux_sys_t::i_play_item, input_title_t::i_seekpoint, demux_t::i_seekpoint, seekpoint_t::i_time_offset, demux_t::i_title, demux_t::i_update, demux_t::info, INPUT_UPDATE_SEEKPOINT, msg_Err, msg_Warn, block_t::p_buffer, demux_sys_t::p_clpi, bd_clpi_ep_map_t::p_ep, bd_clpi_t::p_ep_map, demux_sys_t::p_m2ts, demux_sys_t::p_parser, demux_t::p_sys, p_sys, demux_sys_t::pp_mpls, demux_sys_t::pp_title, input_title_t::seekpoint, SetPlayItem(), SetTitle(), stream_Block(), stream_DemuxSend(), stream_Read(), and stream_Seek().
| static es_out_id_t* EsOutAdd | ( | es_out_t * | p_out, | |
| const es_format_t * | p_fmt | |||
| ) | [static] |
References BD_MPLS_STREAM_CLASS_SECONDARY_AUDIO, BD_MPLS_STREAM_TYPE_PLAY_ITEM, es_format_Clean(), es_format_Copy(), es_out_Add(), i, bd_mpls_stream_t::i_charset, bd_mpls_stream_t::i_class, es_format_t::i_id, demux_sys_t::i_play_item, es_format_t::i_priority, bd_mpls_play_item_t::i_stream, demux_t::i_title, bd_mpls_stream_t::i_type, demux_t::info, msg_Dbg, demux_t::out, es_out_sys_t::p_demux, p_item, bd_mpls_t::p_play_item, bd_mpls_play_item_t::p_stream, p_stream, demux_t::p_sys, es_out_t::p_sys, bd_mpls_stream_t::play_item, demux_sys_t::pp_mpls, es_format_t::psz_description, es_format_t::psz_language, bd_mpls_stream_t::psz_language, and strdup().
| static int EsOutControl | ( | es_out_t * | p_out, | |
| int | i_query, | |||
| va_list | args | |||
| ) | [static] |
References es_out_vaControl(), demux_t::out, es_out_sys_t::p_demux, and es_out_t::p_sys.
| static void EsOutDel | ( | es_out_t * | p_out, | |
| es_out_id_t * | p_es | |||
| ) | [static] |
References es_out_Del(), demux_t::out, es_out_sys_t::p_demux, and es_out_t::p_sys.
| static void EsOutDestroy | ( | es_out_t * | p_out | ) | [static] |
References EsOutAdd(), EsOutControl(), EsOutDel(), EsOutDestroy(), EsOutSend(), es_out_sys_t::p_demux, es_out_t::p_sys, p_sys, es_out_t::pf_add, es_out_t::pf_control, es_out_t::pf_del, es_out_t::pf_destroy, and es_out_t::pf_send.
Referenced by Open().
| static int EsOutSend | ( | es_out_t * | p_out, | |
| es_out_id_t * | p_es, | |||
| block_t * | p_block | |||
| ) | [static] |
References es_out_Send(), demux_t::out, es_out_sys_t::p_demux, and es_out_t::p_sys.
| static int FilterClpiLong | ( | const char * | psz_name | ) | [static] |
Referenced by LoadClip().
| static int FilterClpiShort | ( | const char * | psz_name | ) | [static] |
Referenced by LoadClip().
| static int FilterMplsLong | ( | const char * | psz_name | ) | [static] |
Referenced by LoadPlaylist().
| static int FilterMplsShort | ( | const char * | psz_name | ) | [static] |
Referenced by LoadPlaylist().
| static char * FindPathBase | ( | const char * | psz_path, | |
| bool * | pb_shortname | |||
| ) | [static] |
| static int64_t GetClpiPacket | ( | demux_t * | p_demux, | |
| int * | pi_ep, | |||
| const bd_mpls_clpi_t * | p_mpls_clpi, | |||
| int64_t | i_time | |||
| ) | [static] |
References bd_clpi_stc_t::i_end, bd_clpi_ep_map_t::i_ep, bd_clpi_t::i_ep_map, bd_clpi_ep_t::i_packet, bd_clpi_stc_t::i_packet, bd_clpi_ep_t::i_pts, bd_clpi_t::i_stc, bd_mpls_clpi_t::i_stc_id, demux_sys_t::p_clpi, bd_clpi_ep_map_t::p_ep, bd_clpi_t::p_ep_map, bd_clpi_t::p_stc, demux_t::p_sys, and p_sys.
Referenced by SetPlayItem().
| static int64_t GetMplsUniqueDuration | ( | const bd_mpls_t * | p_mpls | ) | [static] |
| static double GetPosition | ( | demux_t * | p_demux | ) | [static] |
References GetTime(), input_title_t::i_length, demux_t::i_title, demux_t::info, demux_t::p_sys, p_sys, and demux_sys_t::pp_title.
Referenced by Control().
| static int64_t GetTime | ( | demux_t * | p_demux | ) | [static] |
Retreive the current time using current EP + ATC delta.
References BD_45KHZ, CLOCK_FREQ, demux_sys_t::i_atc_current, demux_sys_t::i_atc_initial, demux_sys_t::i_clpi_ep, bd_clpi_ep_map_t::i_ep, bd_clpi_t::i_ep_map, bd_mpls_play_item_t::i_in_time, bd_mpls_play_item_t::i_out_time, demux_sys_t::i_play_item, bd_clpi_ep_t::i_pts, demux_t::i_title, demux_t::info, demux_sys_t::p_clpi, bd_clpi_ep_map_t::p_ep, bd_clpi_t::p_ep_map, p_item, bd_mpls_t::p_play_item, demux_t::p_sys, p_sys, and demux_sys_t::pp_mpls.
Referenced by Control(), Demux(), and GetPosition().
| static void InitTitles | ( | demux_t * | p_demux | ) | [static] |
References BD_45KHZ, BD_MPLS_MARK_TYPE_BOOKMARK, CLOCK_FREQ, i, bd_mpls_play_item_t::i_in_time, input_title_t::i_length, bd_mpls_t::i_mark, demux_sys_t::i_mpls, bd_mpls_play_item_t::i_out_time, bd_mpls_t::i_play_item, bd_mpls_mark_t::i_play_item_id, input_title_t::i_seekpoint, bd_mpls_mark_t::i_time, seekpoint_t::i_time_offset, demux_sys_t::i_title, bd_mpls_mark_t::i_type, msg_Warn, MSTRTIME_MAX_SIZE, p_item, bd_mpls_t::p_mark, bd_mpls_t::p_play_item, demux_t::p_sys, p_sys, demux_sys_t::pp_mpls, demux_sys_t::pp_title, secstotimestr(), input_title_t::seekpoint, TAB_APPEND, vlc_input_title_New(), and vlc_seekpoint_New().
Referenced by Open().
| static int Load | ( | demux_t * | p_demux, | |
| const char * | psz_dir, | |||
| int(*)(const char *) | pf_filter, | |||
| void(*)(demux_t *p_demux, const char *psz_name, int i_id) | pf_load | |||
| ) | [static] |
References asprintf(), i, demux_t::p_sys, demux_sys_t::psz_base, ScanSort(), VLC_EGENERIC, vlc_scandir(), and VLC_SUCCESS.
Referenced by LoadClip(), and LoadPlaylist().
References stream_Block(), stream_Delete(), stream_Size(), and stream_UrlNew.
Referenced by LoadClpi(), and LoadMpls().
| static int LoadClip | ( | demux_t * | p_demux | ) | [static] |
References demux_sys_t::b_shortname, FilterClpiLong(), FilterClpiShort(), Load(), LoadClpi(), and demux_t::p_sys.
Referenced by Open().
| static void LoadClpi | ( | demux_t * | p_demux, | |
| const char * | psz_name, | |||
| int | i_id | |||
| ) | [static] |
References bd_clpi_Parse(), block_Release(), bs_init(), i, block_t::i_buffer, demux_sys_t::i_clpi, bd_clpi_stc_t::i_end, bd_clpi_ep_map_t::i_ep, bd_clpi_t::i_ep_map, bd_clpi_t::i_id, bd_clpi_ep_t::i_packet, bd_clpi_stc_t::i_packet, bd_clpi_stc_t::i_pcr_pid, bd_clpi_ep_map_t::i_pid, bd_clpi_stream_t::i_pid, bd_clpi_ep_t::i_pts, bd_clpi_stc_t::i_start, bd_clpi_t::i_stc, bd_clpi_t::i_stream, bd_clpi_ep_map_t::i_type, bd_clpi_stream_t::i_type, LoadBlock(), msg_Err, block_t::p_buffer, bd_clpi_ep_map_t::p_ep, bd_clpi_t::p_ep_map, bd_clpi_t::p_stc, bd_clpi_t::p_stream, demux_t::p_sys, p_sys, demux_sys_t::pp_clpi, and TAB_APPEND.
Referenced by LoadClip().
| static void LoadMpls | ( | demux_t * | p_demux, | |
| const char * | psz_name, | |||
| int | i_id | |||
| ) | [static] |
References bd_mpls_sub_path_t::b_repeat, bd_mpls_Parse(), block_Release(), bs_init(), bd_mpls_play_item_t::clpi, i, block_t::i_buffer, bd_mpls_stream_t::i_charset, bd_mpls_stream_t::i_class, bd_mpls_play_item_t::i_clpi, bd_mpls_play_item_t::i_connection, bd_mpls_mark_t::i_entry_es_pid, bd_mpls_clpi_t::i_id, bd_mpls_t::i_id, bd_mpls_play_item_t::i_in_time, bd_mpls_sub_path_t::i_item, bd_mpls_t::i_mark, demux_sys_t::i_mpls, bd_mpls_play_item_t::i_out_time, bd_mpls_t::i_play_item, bd_mpls_mark_t::i_play_item_id, bd_mpls_clpi_t::i_stc_id, bd_mpls_play_item_t::i_still, bd_mpls_play_item_t::i_still_time, bd_mpls_play_item_t::i_stream, bd_mpls_stream_t::i_stream_type, bd_mpls_t::i_sub_path, bd_mpls_mark_t::i_time, bd_mpls_mark_t::i_type, bd_mpls_sub_path_t::i_type, bd_mpls_stream_t::i_type, LoadBlock(), msg_Err, block_t::p_buffer, bd_mpls_play_item_t::p_clpi, p_item, bd_mpls_t::p_mark, bd_mpls_t::p_play_item, bd_mpls_play_item_t::p_stream, bd_mpls_t::p_sub_path, demux_t::p_sys, p_sys, demux_sys_t::pp_mpls, bd_mpls_stream_t::psz_language, and TAB_APPEND.
Referenced by LoadPlaylist().
| static int LoadPlaylist | ( | demux_t * | p_demux | ) | [static] |
References demux_sys_t::b_shortname, FilterMplsLong(), FilterMplsShort(), Load(), LoadMpls(), and demux_t::p_sys.
Referenced by Open().
| static int Open | ( | vlc_object_t * | p_this | ) | [static] |
Probes and initializes.
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_shortname, Close(), Control(), Demux(), EsOutNew(), FindPathBase(), demux_sys_t::i_clpi, demux_sys_t::i_clpi_ep, demux_sys_t::i_mpls, demux_sys_t::i_packet, demux_sys_t::i_packet_headers, demux_sys_t::i_packet_start, demux_sys_t::i_packet_stop, demux_sys_t::i_play_item, demux_t::i_title, demux_sys_t::i_title, demux_t::info, InitTitles(), LoadClip(), LoadPlaylist(), msg_Dbg, demux_sys_t::p_clpi, demux_sys_t::p_m2ts, demux_sys_t::p_out, demux_sys_t::p_parser, demux_t::p_sys, p_sys, demux_t::pf_control, demux_t::pf_demux, demux_sys_t::pp_clpi, demux_sys_t::pp_mpls, demux_sys_t::pp_title, demux_t::psz_access, demux_sys_t::psz_base, demux_t::psz_path, ReorderPlaylist(), SetTitle(), TAB_INIT, var_Create, var_SetBool, VLC_EGENERIC, VLC_OBJECT, VLC_SUCCESS, and VLC_VAR_BOOL.
| static void ReorderPlaylist | ( | demux_t * | p_demux | ) | [static] |
References demux_sys_t::i_mpls, demux_t::p_sys, p_sys, demux_sys_t::pp_mpls, and SortMpls().
Referenced by Open().
| static int ScanSort | ( | const char ** | ppsz_a, | |
| const char ** | ppsz_b | |||
| ) | [static] |
Referenced by Load().
| static int SetChapter | ( | demux_t * | p_demux, | |
| int | i_chapter | |||
| ) | [static] |
References input_title_t::i_seekpoint, seekpoint_t::i_time_offset, demux_t::i_title, demux_t::info, demux_t::p_sys, p_sys, demux_sys_t::pp_title, input_title_t::seekpoint, SetTime(), VLC_EGENERIC, and VLC_SUCCESS.
Referenced by Control().
| static int SetPlayItem | ( | demux_t * | p_demux, | |
| int | i_mpls, | |||
| int | i_play_item | |||
| ) | [static] |
References __MIN, asprintf(), demux_sys_t::b_shortname, BD_TS_PACKET_SIZE, ClosePlayItem(), bd_mpls_play_item_t::clpi, GetClpiPacket(), demux_sys_t::i_atc_current, demux_sys_t::i_atc_initial, demux_sys_t::i_atc_last, demux_sys_t::i_atc_wrap, demux_sys_t::i_clpi, demux_sys_t::i_clpi_ep, bd_clpi_ep_map_t::i_ep, bd_clpi_t::i_ep_map, bd_mpls_clpi_t::i_id, bd_clpi_t::i_id, bd_mpls_play_item_t::i_in_time, bd_mpls_play_item_t::i_out_time, bd_clpi_ep_t::i_packet, demux_sys_t::i_packet, demux_sys_t::i_packet_headers, demux_sys_t::i_packet_start, demux_sys_t::i_packet_stop, demux_sys_t::i_play_item, bd_mpls_t::i_play_item, demux_t::i_title, demux_t::info, msg_Dbg, msg_Err, demux_sys_t::p_clpi, bd_clpi_ep_map_t::p_ep, bd_clpi_t::p_ep_map, p_item, demux_sys_t::p_m2ts, demux_sys_t::p_out, demux_sys_t::p_parser, bd_mpls_t::p_play_item, demux_t::p_sys, p_sys, demux_sys_t::pp_clpi, demux_sys_t::pp_mpls, demux_sys_t::psz_base, stream_Delete(), stream_DemuxNew(), stream_Size(), stream_UrlNew, VLC_EGENERIC, and VLC_SUCCESS.
Referenced by Demux(), SetTime(), and SetTitle().
| static int SetPosition | ( | demux_t * | p_demux, | |
| double | f_position | |||
| ) | [static] |
References input_title_t::i_length, demux_t::i_title, demux_t::info, demux_t::p_sys, p_sys, demux_sys_t::pp_title, SetTime(), and VLC_EGENERIC.
Referenced by Control().
| static int SetTime | ( | demux_t * | p_demux, | |
| int64_t | i_time | |||
| ) | [static] |
References BD_45KHZ, CLOCK_FREQ, es_out_Control(), ES_OUT_SET_NEXT_DISPLAY_TIME, demux_sys_t::i_clpi_ep, bd_clpi_ep_map_t::i_ep, bd_clpi_t::i_ep_map, bd_mpls_play_item_t::i_in_time, bd_mpls_play_item_t::i_out_time, bd_clpi_ep_t::i_packet, demux_sys_t::i_packet, demux_sys_t::i_packet_start, bd_mpls_t::i_play_item, bd_clpi_ep_t::i_pts, input_title_t::i_seekpoint, demux_t::i_seekpoint, seekpoint_t::i_time_offset, demux_t::i_title, demux_t::i_update, demux_t::info, INPUT_UPDATE_SEEKPOINT, demux_t::out, demux_sys_t::p_clpi, bd_clpi_ep_map_t::p_ep, bd_clpi_t::p_ep_map, p_item, bd_mpls_t::p_play_item, demux_t::p_sys, p_sys, demux_sys_t::pp_mpls, demux_sys_t::pp_title, input_title_t::seekpoint, SetPlayItem(), VLC_EGENERIC, and VLC_SUCCESS.
Referenced by Control(), SetChapter(), and SetPosition().
| static int SetTitle | ( | demux_t * | p_demux, | |
| int | i_title | |||
| ) | [static] |
| static int SortMpls | ( | const void * | a, | |
| const void * | b | |||
| ) | [static] |
| int vlc_entry__main | ( | module_t * | p_module | ) |
| const char* vlc_entry_license__main | ( | void | ) |
1.5.6