
Defines | |
| #define | CACHING_TEXT N_("Caching value in ms") |
| #define | CACHING_LONGTEXT |
| #define | ADAPTER_TEXT N_("Adapter card to tune") |
| #define | ADAPTER_LONGTEXT N_("Adapter cards have a device file in directory named /dev/dvb/adapter[n] with n>=0.") |
| #define | DEVICE_TEXT N_("Device number to use on adapter") |
| #define | DEVICE_LONGTEXT "" |
| #define | FREQ_TEXT N_("Transponder/multiplex frequency") |
| #define | FREQ_LONGTEXT N_("In kHz for DVB-S or Hz for DVB-C/T") |
| #define | INVERSION_TEXT N_("Inversion mode") |
| #define | INVERSION_LONGTEXT N_("Inversion mode [0=off, 1=on, 2=auto]") |
| #define | PROBE_TEXT N_("Probe DVB card for capabilities") |
| #define | PROBE_LONGTEXT N_("Some DVB cards do not like to be probed for their capabilities, you can disable this feature if you experience some trouble.") |
| #define | BUDGET_TEXT N_("Budget mode") |
| #define | BUDGET_LONGTEXT N_("This allows you to stream an entire transponder with a \"budget\" card.") |
| #define | SATNO_TEXT N_("Satellite number in the Diseqc system") |
| #define | SATNO_LONGTEXT N_("[0=no diseqc, 1-4=satellite number].") |
| #define | VOLTAGE_TEXT N_("LNB voltage") |
| #define | VOLTAGE_LONGTEXT N_("In Volts [0, 13=vertical, 18=horizontal].") |
| #define | HIGH_VOLTAGE_TEXT N_("High LNB voltage") |
| #define | HIGH_VOLTAGE_LONGTEXT |
| #define | TONE_TEXT N_("22 kHz tone") |
| #define | TONE_LONGTEXT N_("[0=off, 1=on, -1=auto].") |
| #define | FEC_TEXT N_("Transponder FEC") |
| #define | FEC_LONGTEXT N_("FEC=Forward Error Correction mode [9=auto].") |
| #define | SRATE_TEXT N_("Transponder symbol rate in kHz") |
| #define | SRATE_LONGTEXT "" |
| #define | LNB_LOF1_TEXT N_("Antenna lnb_lof1 (kHz)") |
| #define | LNB_LOF1_LONGTEXT "" |
| #define | LNB_LOF2_TEXT N_("Antenna lnb_lof2 (kHz)") |
| #define | LNB_LOF2_LONGTEXT "" |
| #define | LNB_SLOF_TEXT N_("Antenna lnb_slof (kHz)") |
| #define | LNB_SLOF_LONGTEXT "" |
| #define | MODULATION_TEXT N_("Modulation type") |
| #define | MODULATION_LONGTEXT N_("Modulation type for front-end device.") |
| #define | CODE_RATE_HP_TEXT N_("Terrestrial high priority stream code rate (FEC)") |
| #define | CODE_RATE_HP_LONGTEXT "" |
| #define | CODE_RATE_LP_TEXT N_("Terrestrial low priority stream code rate (FEC)") |
| #define | CODE_RATE_LP_LONGTEXT "" |
| #define | BANDWIDTH_TEXT N_("Terrestrial bandwidth") |
| #define | BANDWIDTH_LONGTEXT N_("Terrestrial bandwidth [0=auto,6,7,8 in MHz]") |
| #define | GUARD_TEXT N_("Terrestrial guard interval") |
| #define | GUARD_LONGTEXT "" |
| #define | TRANSMISSION_TEXT N_("Terrestrial transmission mode") |
| #define | TRANSMISSION_LONGTEXT "" |
| #define | HIERARCHY_TEXT N_("Terrestrial hierarchy mode") |
| #define | HIERARCHY_LONGTEXT "" |
| #define | HOST_TEXT N_( "HTTP Host address" ) |
| #define | HOST_LONGTEXT |
| #define | USER_TEXT N_( "HTTP user name" ) |
| #define | USER_LONGTEXT |
| #define | PASSWORD_TEXT N_( "HTTP password" ) |
| #define | PASSWORD_LONGTEXT |
| #define | ACL_TEXT N_( "HTTP ACL" ) |
| #define | ACL_LONGTEXT |
| #define | CERT_TEXT N_( "Certificate file" ) |
| #define | CERT_LONGTEXT |
| #define | KEY_TEXT N_( "Private key file" ) |
| #define | KEY_LONGTEXT N_( "HTTP interface x509 PEM private key file" ) |
| #define | CA_TEXT N_( "Root CA file" ) |
| #define | CA_LONGTEXT |
| #define | CRL_TEXT N_( "CRL file" ) |
| #define | CRL_LONGTEXT N_( "HTTP interface Certificates Revocation List file" ) |
| #define | DVB_READ_ONCE 20 |
| #define | DVB_READ_ONCE_START 2 |
| #define | DVB_READ_ONCE_SCAN 1 |
| #define | TS_PACKET_SIZE 188 |
| #define | DVB_SCAN_MAX_SIGNAL_TIME (300*1000) |
| #define | DVB_SCAN_MAX_LOCK_TIME (5000*1000) |
| #define | DVB_SCAN_MAX_PROBE_TIME (30000*1000) |
| #define | GET_OPTION_INT(option) |
| #define | GET_OPTION_BOOL(option) |
Functions | |
| static int | Open (vlc_object_t *p_this) |
| Probes and initializes. | |
| static void | Close (vlc_object_t *p_this) |
| Releases resources. | |
| int | vlc_entry__main (module_t *p_module) |
| const char * | vlc_entry_license__main (void) |
| static block_t * | Block (access_t *) |
| static int | Control (access_t *, int, va_list) |
| static block_t * | BlockScan (access_t *) |
| static void | FilterUnset (access_t *, int i_max) |
| static void | FilterUnsetPID (access_t *, int i_pid) |
| static void | FilterSet (access_t *, int i_pid, int i_type) |
| static void | VarInit (access_t *) |
| static int | ParseMRL (access_t *) |
| #define ACL_LONGTEXT |
Value:
N_( \ "Access control list (equivalent to .hosts) file path, " \ "which will limit the range of IPs entitled to log into the internal " \ "HTTP server." )
| #define ACL_TEXT N_( "HTTP ACL" ) |
| #define ADAPTER_LONGTEXT N_("Adapter cards have a device file in directory named /dev/dvb/adapter[n] with n>=0.") |
| #define ADAPTER_TEXT N_("Adapter card to tune") |
| #define BANDWIDTH_LONGTEXT N_("Terrestrial bandwidth [0=auto,6,7,8 in MHz]") |
| #define BANDWIDTH_TEXT N_("Terrestrial bandwidth") |
| #define BUDGET_LONGTEXT N_("This allows you to stream an entire transponder with a \"budget\" card.") |
| #define BUDGET_TEXT N_("Budget mode") |
| #define CA_LONGTEXT |
Value:
N_( "HTTP interface x509 PEM trusted root CA " \ "certificates file" )
| #define CA_TEXT N_( "Root CA file" ) |
| #define CACHING_LONGTEXT |
Value:
N_( \ "Caching value for DVB streams. This " \ "value should be set in milliseconds." )
| #define CACHING_TEXT N_("Caching value in ms") |
| #define CERT_LONGTEXT |
Value:
N_( "HTTP interface x509 PEM certificate file " \ "(enables SSL)" )
| #define CERT_TEXT N_( "Certificate file" ) |
| #define CODE_RATE_HP_LONGTEXT "" |
| #define CODE_RATE_HP_TEXT N_("Terrestrial high priority stream code rate (FEC)") |
| #define CODE_RATE_LP_LONGTEXT "" |
| #define CODE_RATE_LP_TEXT N_("Terrestrial low priority stream code rate (FEC)") |
| #define CRL_LONGTEXT N_( "HTTP interface Certificates Revocation List file" ) |
| #define CRL_TEXT N_( "CRL file" ) |
| #define DEVICE_LONGTEXT "" |
| #define DEVICE_TEXT N_("Device number to use on adapter") |
| #define DVB_READ_ONCE 20 |
Referenced by Block(), FilterSet(), and Open().
| #define DVB_READ_ONCE_SCAN 1 |
Referenced by Open().
| #define DVB_READ_ONCE_START 2 |
Referenced by Open().
| #define DVB_SCAN_MAX_LOCK_TIME (5000*1000) |
Referenced by BlockScan().
| #define DVB_SCAN_MAX_PROBE_TIME (30000*1000) |
Referenced by BlockScan().
| #define DVB_SCAN_MAX_SIGNAL_TIME (300*1000) |
Referenced by BlockScan().
| #define FEC_LONGTEXT N_("FEC=Forward Error Correction mode [9=auto].") |
| #define FEC_TEXT N_("Transponder FEC") |
| #define FREQ_LONGTEXT N_("In kHz for DVB-S or Hz for DVB-C/T") |
| #define FREQ_TEXT N_("Transponder/multiplex frequency") |
| #define GET_OPTION_BOOL | ( | option | ) |
Value:
if ( !strncmp( psz_parser, option "=", strlen(option "=") ) ) \ { \ val.b_bool = strtol( psz_parser + strlen(option "="), &psz_parser, \ 0 ); \ var_Set( p_access, "dvb-" option, val ); \ }
Referenced by ParseMRL().
| #define GET_OPTION_INT | ( | option | ) |
Value:
if ( !strncmp( psz_parser, option "=", strlen(option "=") ) ) \ { \ val.i_int = strtol( psz_parser + strlen(option "="), &psz_parser, \ 0 ); \ var_Set( p_access, "dvb-" option, val ); \ }
Referenced by ParseMRL().
| #define GUARD_LONGTEXT "" |
| #define GUARD_TEXT N_("Terrestrial guard interval") |
| #define HIERARCHY_LONGTEXT "" |
| #define HIERARCHY_TEXT N_("Terrestrial hierarchy mode") |
| #define HIGH_VOLTAGE_LONGTEXT |
Value:
N_("Enable high voltage if your cables are " \ "particularly long. This is not supported by all frontends.")
| #define HIGH_VOLTAGE_TEXT N_("High LNB voltage") |
| #define HOST_LONGTEXT |
Value:
N_( \ "To enable the internal HTTP server, set its address and port here." )
| #define HOST_TEXT N_( "HTTP Host address" ) |
| #define INVERSION_LONGTEXT N_("Inversion mode [0=off, 1=on, 2=auto]") |
| #define INVERSION_TEXT N_("Inversion mode") |
| #define KEY_LONGTEXT N_( "HTTP interface x509 PEM private key file" ) |
| #define KEY_TEXT N_( "Private key file" ) |
| #define LNB_LOF1_LONGTEXT "" |
| #define LNB_LOF1_TEXT N_("Antenna lnb_lof1 (kHz)") |
| #define LNB_LOF2_LONGTEXT "" |
| #define LNB_LOF2_TEXT N_("Antenna lnb_lof2 (kHz)") |
| #define LNB_SLOF_LONGTEXT "" |
| #define LNB_SLOF_TEXT N_("Antenna lnb_slof (kHz)") |
| #define MODULATION_LONGTEXT N_("Modulation type for front-end device.") |
| #define MODULATION_TEXT N_("Modulation type") |
| #define PASSWORD_LONGTEXT |
Value:
N_( \ "Password the administrator will use to log into " \ "the internal HTTP server." )
| #define PASSWORD_TEXT N_( "HTTP password" ) |
| #define PROBE_LONGTEXT N_("Some DVB cards do not like to be probed for their capabilities, you can disable this feature if you experience some trouble.") |
| #define PROBE_TEXT N_("Probe DVB card for capabilities") |
| #define SATNO_LONGTEXT N_("[0=no diseqc, 1-4=satellite number].") |
| #define SATNO_TEXT N_("Satellite number in the Diseqc system") |
| #define SRATE_LONGTEXT "" |
| #define SRATE_TEXT N_("Transponder symbol rate in kHz") |
| #define TONE_LONGTEXT N_("[0=off, 1=on, -1=auto].") |
| #define TONE_TEXT N_("22 kHz tone") |
| #define TRANSMISSION_LONGTEXT "" |
| #define TRANSMISSION_TEXT N_("Terrestrial transmission mode") |
| #define TS_PACKET_SIZE 188 |
Referenced by Block(), and BlockScan().
| #define USER_LONGTEXT |
Value:
N_( \ "User name the administrator will use to log into " \ "the internal HTTP server." )
| #define USER_TEXT N_( "HTTP user name" ) |
| #define VOLTAGE_LONGTEXT N_("In Volts [0, 13=vertical, 18=horizontal].") |
| #define VOLTAGE_TEXT N_("LNB voltage") |
References block_New, block_Release(), CAMPoll(), DVB_READ_ONCE, pollfd::events, pollfd::fd, FrontendPoll(), FrontendSet(), block_t::i_buffer, access_sys_t::i_ca_handle, access_sys_t::i_ca_next_event, access_sys_t::i_ca_timeout, access_sys_t::i_frontend_handle, access_sys_t::i_frontend_timeout, access_sys_t::i_handle, access_sys_t::i_read_once, access_sys_t::i_stat_counter, access_t::i_update, access_t::info, INPUT_UPDATE_SIGNAL, mdate(), msg_Err, msg_Warn, block_t::p_buffer, access_t::p_sys, p_sys, poll, POLLIN, POLLPRI, pollfd::revents, strdup(), TS_PACKET_SIZE, vlc_cond_signal(), vlc_mutex_lock(), vlc_mutex_unlock(), and vlc_object_alive.
References access_t::b_eof, frontend_status_t::b_has_carrier, frontend_status_t::b_has_lock, block_New, block_Release(), cfg, DVB_SCAN_MAX_LOCK_TIME, DVB_SCAN_MAX_PROBE_TIME, DVB_SCAN_MAX_SIGNAL_TIME, pollfd::events, pollfd::fd, FrontendGetStatistic(), FrontendGetStatus(), FrontendPoll(), FrontendSet(), scan_configuration_t::i_bandwidth, block_t::i_buffer, scan_configuration_t::i_frequency, access_sys_t::i_frontend_handle, access_sys_t::i_frontend_timeout, access_sys_t::i_handle, frontend_statistic_t::i_snr, access_t::info, mdate(), msg_Dbg, msg_Err, msg_Warn, block_t::p_buffer, access_t::p_sys, p_sys, poll, POLLIN, POLLPRI, pollfd::revents, access_sys_t::scan, scan_GetM3U(), scan_IsCancelled(), scan_Next(), scan_service_SetSNR(), scan_session_Clean(), scan_session_Init(), scan_session_Push(), TS_PACKET_SIZE, var_SetInteger, VLC_OBJECT, and vlc_object_alive.
Referenced by Open().
| 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 access_sys_t::b_budget_mode, access_sys_t::b_scan_mode, CAMClose(), DVRClose(), FilterUnset(), FrontendClose(), MAX_DEMUX, access_t::p_sys, p_sys, access_sys_t::scan, and scan_Clean().
| static int Control | ( | access_t * | p_access, | |
| int | i_query, | |||
| va_list | args | |||
| ) | [static] |
References ACCESS_CAN_CONTROL_PACE, ACCESS_CAN_FASTSEEK, ACCESS_CAN_PAUSE, ACCESS_CAN_SEEK, ACCESS_GET_CONTENT_TYPE, ACCESS_GET_PTS_DELAY, ACCESS_GET_SIGNAL, ACCESS_GET_TITLE_INFO, ACCESS_SET_PAUSE_STATE, ACCESS_SET_PRIVATE_ID_CA, ACCESS_SET_PRIVATE_ID_STATE, ACCESS_SET_SEEKPOINT, ACCESS_SET_TITLE, access_sys_t::b_budget_mode, access_sys_t::b_scan_mode, CAMSet(), FilterSet(), FilterUnsetPID(), FrontendGetStatistic(), frontend_statistic_t::i_signal_strenth, frontend_statistic_t::i_snr, msg_Warn, OTHER_TYPE, access_t::p_sys, p_sys, var_GetInteger, VLC_EGENERIC, and VLC_SUCCESS.
| static void FilterSet | ( | access_t * | p_access, | |
| int | i_pid, | |||
| int | i_type | |||
| ) | [static] |
| static void FilterUnset | ( | access_t * | p_access, | |
| int | i_max | |||
| ) | [static] |
References DMXUnsetFilter(), i, demux_handle_t::i_handle, demux_handle_t::i_type, access_sys_t::p_demux_handles, access_t::p_sys, and p_sys.
Referenced by Close().
| static void FilterUnsetPID | ( | access_t * | p_access, | |
| int | i_pid | |||
| ) | [static] |
References DMXUnsetFilter(), i, demux_handle_t::i_handle, demux_handle_t::i_pid, demux_handle_t::i_type, MAX_DEMUX, access_sys_t::p_demux_handles, access_t::p_sys, and p_sys.
Referenced by Control().
| 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 access_InitFields(), access_sys_t::b_budget_mode, access_sys_t::b_scan_mode, Block(), BlockScan(), CAMOpen(), Close(), Control(), DVB_READ_ONCE, DVB_READ_ONCE_SCAN, DVB_READ_ONCE_START, DVROpen(), FilterSet(), FrontendClose(), FrontendGetScanParameter(), FrontendOpen(), FrontendSet(), access_sys_t::i_read_once, msg_Dbg, OTHER_TYPE, access_t::p_sys, p_sys, ParseMRL(), access_t::pf_block, access_t::pf_control, access_t::pf_read, access_t::pf_seek, access_t::psz_access, access_t::psz_demux, access_sys_t::scan, scan_Init(), strdup(), var_GetBool, var_GetInteger, VarInit(), VLC_EGENERIC, VLC_ENOMEM, VLC_OBJECT, and VLC_SUCCESS.
| static int ParseMRL | ( | access_t * | p_access | ) | [static] |
References _, dialog_Fatal, dialog_FatalWait, GET_OPTION_BOOL, GET_OPTION_INT, vlc_value_t::i_int, msg_Err, access_t::psz_location, strdup(), var_Set, VLC_EGENERIC, and VLC_SUCCESS.
Referenced by AccessOpen(), DemuxOpen(), Open(), and OpenCommon().
| static void VarInit | ( | access_t * | p_access | ) | [static] |
References var_Create, VLC_VAR_BOOL, VLC_VAR_DOINHERIT, VLC_VAR_INTEGER, and VLC_VAR_STRING.
Referenced by Open().
| int vlc_entry__main | ( | module_t * | p_module | ) |
| const char* vlc_entry_license__main | ( | void | ) |
1.5.6