Data Structures | |
| struct | access_t |
Defines | |
| #define | ACCESS_SET_CALLBACKS(read, block, control, seek) |
| #define | STANDARD_READ_ACCESS_INIT |
| #define | STANDARD_BLOCK_ACCESS_INIT |
Enumerations | |
| enum | access_query_e { ACCESS_CAN_SEEK, ACCESS_CAN_FASTSEEK, ACCESS_CAN_PAUSE, ACCESS_CAN_CONTROL_PACE, ACCESS_GET_PTS_DELAY = 0x101, ACCESS_GET_TITLE_INFO, ACCESS_GET_META, ACCESS_GET_CONTENT_TYPE, ACCESS_GET_SIGNAL, ACCESS_SET_PAUSE_STATE = 0x200, ACCESS_SET_TITLE, ACCESS_SET_SEEKPOINT, ACCESS_SET_PRIVATE_ID_STATE = 0x1000, ACCESS_SET_PRIVATE_ID_CA, ACCESS_GET_PRIVATE_ID_STATE } |
Functions | |
| static int | access_vaControl (access_t *p_access, int i_query, va_list args) |
| static int | access_Control (access_t *p_access, int i_query,...) |
| static void | access_InitFields (access_t *p_a) |
| VLC_API input_thread_t * | access_GetParentInput (access_t *p_access) VLC_USED |
| This function will return the parent input of this access. | |
| #define ACCESS_SET_CALLBACKS | ( | read, | ||
| block, | ||||
| control, | ||||
| seek | ||||
| ) |
do { \ p_access->pf_read = (read); \ p_access->pf_block = (block); \ p_access->pf_control = (control); \ p_access->pf_seek = (seek); \ } while(0)
| #define STANDARD_BLOCK_ACCESS_INIT |
do { \ access_InitFields( p_access ); \ ACCESS_SET_CALLBACKS( NULL, Block, Control, Seek ); \ p_sys = p_access->p_sys = calloc( 1, sizeof( access_sys_t ) ); \ if( !p_sys ) return VLC_ENOMEM; \ } while(0);
| #define STANDARD_READ_ACCESS_INIT |
do { \ access_InitFields( p_access ); \ ACCESS_SET_CALLBACKS( Read, NULL, Control, Seek ); \ p_sys = p_access->p_sys = calloc( 1, sizeof( access_sys_t ) ); \ if( !p_sys ) return VLC_ENOMEM;\ } while(0);
| enum access_query_e |
| static int access_Control | ( | access_t * | p_access, | |
| int | i_query, | |||
| ... | ||||
| ) | [inline, static] |
References access_vaControl(), va_end(), and va_start().
Referenced by AStreamControl(), AStreamReadBlock(), AStreamSeekBlock(), AStreamSeekStream(), Control(), ControlPause(), ControlUnpause(), InputSourceInit(), InputSourceMeta(), stream_AccessNew(), and UpdateGenericFromAccess().
| VLC_API input_thread_t* access_GetParentInput | ( | access_t * | p_access | ) |
This function will return the parent input of this access.
It is retained. It can return NULL.
References access_t::p_input, and vlc_object_hold.
| static void access_InitFields | ( | access_t * | p_a | ) | [inline, static] |
References access_t::b_eof, access_t::i_pos, access_t::i_seekpoint, access_t::i_size, access_t::i_title, access_t::i_update, and access_t::info.
Referenced by access_New().
| static int access_vaControl | ( | access_t * | p_access, | |
| int | i_query, | |||
| va_list | args | |||
| ) | [inline, static] |
References access_t::pf_control.
Referenced by access_Control(), and AStreamControl().
1.7.1