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

Classes

struct  demux_t
 
struct  demux_meta_t
 

Macros

#define DEMUX_INIT_COMMON()
 

Typedefs

typedef struct demux_meta_t demux_meta_t
 

Enumerations

enum  demux_query_e {
  DEMUX_GET_POSITION, DEMUX_SET_POSITION, DEMUX_GET_LENGTH, DEMUX_GET_TIME,
  DEMUX_SET_TIME, DEMUX_GET_TITLE_INFO, DEMUX_SET_TITLE, DEMUX_SET_SEEKPOINT,
  DEMUX_SET_GROUP, DEMUX_SET_NEXT_DEMUX_TIME, DEMUX_GET_FPS, DEMUX_GET_META,
  DEMUX_HAS_UNSUPPORTED_META, DEMUX_GET_ATTACHMENTS, DEMUX_CAN_RECORD, DEMUX_SET_RECORD_STATE,
  DEMUX_CAN_PAUSE = 0x1000, DEMUX_SET_PAUSE_STATE, DEMUX_GET_PTS_DELAY, DEMUX_CAN_CONTROL_PACE,
  DEMUX_CAN_CONTROL_RATE, DEMUX_SET_RATE, DEMUX_CAN_SEEK, DEMUX_NAV_ACTIVATE,
  DEMUX_NAV_UP, DEMUX_NAV_DOWN, DEMUX_NAV_LEFT, DEMUX_NAV_RIGHT
}
 

Functions

VLC_API int demux_vaControlHelper (stream_t *, int64_t i_start, int64_t i_end, int64_t i_bitrate, int i_align, int i_query, va_list args)
 
VLC_API decoder_tdemux_PacketizerNew (demux_t *p_demux, es_format_t *p_fmt, const char *psz_msg) VLC_USED
 
VLC_API void demux_PacketizerDestroy (decoder_t *p_packetizer)
 
VLC_API input_thread_tdemux_GetParentInput (demux_t *p_demux) VLC_USED
 

Detailed Description

Macro Definition Documentation

#define DEMUX_INIT_COMMON ( )
Value:
do { \
p_demux->pf_control = Control; \
p_demux->pf_demux = Demux; \
p_demux->p_sys = calloc( 1, sizeof( demux_sys_t ) ); \
if( !p_demux->p_sys ) return VLC_ENOMEM;\
} while(0)
#define VLC_ENOMEM
Definition: vlc_common.h:375

Function Documentation

VLC_API input_thread_t* demux_GetParentInput ( demux_t p_demux)

This function will return the parent input of this demux. It is retained. Can return NULL.

VLC_API void demux_PacketizerDestroy ( decoder_t p_packetizer)

This function will destroy a packetizer create by demux_PacketizerNew.

VLC_API decoder_t* demux_PacketizerNew ( demux_t p_demux,
es_format_t p_fmt,
const char *  psz_msg 
)

This function will create a packetizer suitable for a demuxer that parses elementary stream.

The provided es_format_t will be cleaned on error or by demux_PacketizerDestroy.