vlc_messages.h File Reference

This file defines structures and functions to handle messages and statistics gathering. More...

Include dependency graph for vlc_messages.h:

Go to the source code of this file.

Data Structures

struct  msg_item_t
 Store a single message sent to user. More...
struct  counter_sample_t
struct  counter_t

Defines

#define VLC_MSG_INFO   0
 standard messages
#define VLC_MSG_ERR   1
 error messages
#define VLC_MSG_WARN   2
 warning messages
#define VLC_MSG_DBG   3
 debug messages
#define msg_GenericVa(a, b, c, d, e)   __msg_GenericVa(VLC_OBJECT(a), b, c, d, e)
#define msg_Info(p_this,...)
#define msg_Err(p_this,...)
#define msg_Warn(p_this,...)
#define msg_Dbg(p_this,...)
#define msg_EnableObjectPrinting(a, b)   __msg_EnableObjectPrinting(VLC_OBJECT(a),b)
#define msg_DisableObjectPrinting(a, b)   __msg_DisableObjectPrinting(VLC_OBJECT(a),b)
#define stats_TimerStart(a, b, c)   __stats_TimerStart( VLC_OBJECT(a), b,c )
#define stats_TimerStop(a, b)   __stats_TimerStop( VLC_OBJECT(a), b )
#define stats_TimerDump(a, b)   __stats_TimerDump( VLC_OBJECT(a), b )
#define stats_TimersDumpAll(a)   __stats_TimersDumpAll( VLC_OBJECT(a) )
#define stats_TimersCleanAll(a)   __stats_TimersCleanAll( VLC_OBJECT(a) )
#define stats_TimerClean(a, b)   __stats_TimerClean( VLC_OBJECT(a), b )

Typedefs

typedef struct msg_subscription_t msg_subscription_t
 Used by interface plugins which subscribe to the message bank.
typedef struct msg_cb_data_t msg_cb_data_t
typedef void(* msg_callback_t )(msg_cb_data_t *, msg_item_t *, unsigned)
 Message logging callback signature.

Enumerations

enum  {
  STATS_LAST, STATS_COUNTER, STATS_MAX, STATS_MIN,
  STATS_DERIVATIVE, STATS_TIMER
}
enum  {
  STATS_INPUT_BITRATE, STATS_READ_BYTES, STATS_READ_PACKETS, STATS_DEMUX_READ,
  STATS_DEMUX_BITRATE, STATS_DEMUX_CORRUPTED, STATS_DEMUX_DISCONTINUITY, STATS_PLAYED_ABUFFERS,
  STATS_LOST_ABUFFERS, STATS_DECODED_AUDIO, STATS_DECODED_VIDEO, STATS_DECODED_SUB,
  STATS_CLIENT_CONNECTIONS, STATS_ACTIVE_CONNECTIONS, STATS_SOUT_SENT_PACKETS, STATS_SOUT_SENT_BYTES,
  STATS_SOUT_SEND_BITRATE, STATS_DISPLAYED_PICTURES, STATS_LOST_PICTURES, STATS_TIMER_PLAYLIST_BUILD,
  STATS_TIMER_ML_LOAD, STATS_TIMER_ML_DUMP, STATS_TIMER_INTERACTION, STATS_TIMER_PREPARSE,
  STATS_TIMER_INPUT_LAUNCHING, STATS_TIMER_MODULE_NEED, STATS_TIMER_VIDEO_FRAME_ENCODING, STATS_TIMER_AUDIO_FRAME_ENCODING,
  STATS_TIMER_SKINS_PLAYTREE_IMAGE
}

Functions

static msg_item_tmsg_Hold (msg_item_t *msg)
static void msg_Release (msg_item_t *msg)
void __msg_Generic (vlc_object_t *, int, const char *, const char *,...)
void __msg_GenericVa (vlc_object_t *, int, const char *, const char *, va_list args)
msg_subscription_tmsg_Subscribe (libvlc_int_t *, msg_callback_t, msg_cb_data_t *)
 Subscribe to the message queue.
void msg_Unsubscribe (msg_subscription_t *)
 Unsubscribe from the message queue.
void __msg_EnableObjectPrinting (vlc_object_t *, char *psz_object)
void __msg_DisableObjectPrinting (vlc_object_t *, char *psz_object)
void __stats_TimerStart (vlc_object_t *, const char *, unsigned int)
void __stats_TimerStop (vlc_object_t *, unsigned int)
void __stats_TimerDump (vlc_object_t *, unsigned int)
void __stats_TimersDumpAll (vlc_object_t *)
void __stats_TimersCleanAll (vlc_object_t *)
void __stats_TimerClean (vlc_object_t *, unsigned int)


Detailed Description

This file defines structures and functions to handle messages and statistics gathering.


Generated on Sat Nov 21 08:05:26 2009 for VLC by  doxygen 1.5.6