QVisu
Qt-based visualization for smart homes
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Access

Classes

struct  access_t
 

Macros

#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

VLC_API input_thread_taccess_GetParentInput (access_t *p_access) VLC_USED
 

Detailed Description

Macro Definition Documentation

#define ACCESS_SET_CALLBACKS (   read,
  block,
  control,
  seek 
)
Value:
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
Value:
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 VLC_ENOMEM
Definition: vlc_common.h:375
#define STANDARD_READ_ACCESS_INIT
Value:
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);
#define VLC_ENOMEM
Definition: vlc_common.h:375

Function Documentation

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.