switcher.c File Reference

Include dependency graph for switcher.c:


Data Structures

struct  sout_stream_sys_t
struct  sout_stream_id_t

Defines

#define HAVE_MMX
#define SOUT_CFG_PREFIX   "sout-switcher-"
#define MAX_PICTURES   10
#define MAX_AUDIO   30
#define MAX_THRESHOLD   99999999
#define FILES_TEXT   N_("Files")
#define FILES_LONGTEXT
#define SIZES_TEXT   N_("Sizes")
#define SIZES_LONGTEXT
#define RATIO_TEXT   N_("Aspect ratio")
#define RATIO_LONGTEXT
#define PORT_TEXT   N_("Command UDP port")
#define PORT_LONGTEXT
#define COMMAND_TEXT   N_("Command")
#define COMMAND_LONGTEXT
#define GOP_TEXT   N_("GOP size")
#define GOP_LONGTEXT
#define QSCALE_TEXT   N_("Quantizer scale")
#define QSCALE_LONGTEXT
#define AUDIO_TEXT   N_("Mute audio")
#define AUDIO_LONGTEXT

Functions

static int Open (vlc_object_t *)
static void Close (vlc_object_t *)
static sout_stream_id_tAdd (sout_stream_t *, es_format_t *)
static int Del (sout_stream_t *, sout_stream_id_t *)
static int Send (sout_stream_t *, sout_stream_id_t *, block_t *)
static mtime_t Process (sout_stream_t *p_stream, sout_stream_id_t *id, mtime_t i_max_dts)
static int UnpackFromFile (sout_stream_t *p_stream, const char *psz_file, int i_width, int i_height, picture_t *p_pic)
static void NetCommand (sout_stream_t *p_stream)
static mtime_t VideoCommand (sout_stream_t *p_stream, sout_stream_id_t *id)
static block_tVideoGetBuffer (sout_stream_t *p_stream, sout_stream_id_t *id, block_t *p_buffer)
static block_tAudioGetBuffer (sout_stream_t *p_stream, sout_stream_id_t *id, block_t *p_buffer)
int vlc_entry__main (module_t *p_module)
const char * vlc_entry_license__main (void)

Variables

static const char *const ppsz_sout_options []

Define Documentation

#define AUDIO_LONGTEXT

Value:

N_( \
    "Mute audio when command is not 0." )

#define AUDIO_TEXT   N_("Mute audio")

#define COMMAND_LONGTEXT

Value:

N_( \
    "Initial command to execute." )

#define COMMAND_TEXT   N_("Command")

#define FILES_LONGTEXT

Value:

N_( \
    "Full paths of the files separated by colons." )

#define FILES_TEXT   N_("Files")

#define GOP_LONGTEXT

Value:

N_( \
    "Number of P frames between two I frames." )

#define GOP_TEXT   N_("GOP size")

#define HAVE_MMX

#define MAX_AUDIO   30

#define MAX_PICTURES   10

#define MAX_THRESHOLD   99999999

#define PORT_LONGTEXT

Value:

N_( \
    "UDP port to listen to for commands." )

#define PORT_TEXT   N_("Command UDP port")

#define QSCALE_LONGTEXT

Value:

N_( \
    "Fixed quantizer scale to use." )

#define QSCALE_TEXT   N_("Quantizer scale")

#define RATIO_LONGTEXT

Value:

N_( \
    "Aspect ratio (4:3, 16:9)." )

#define RATIO_TEXT   N_("Aspect ratio")

#define SIZES_LONGTEXT

Value:

N_( \
    "List of sizes separated by colons (720x576:480x576)." )

#define SIZES_TEXT   N_("Sizes")

#define SOUT_CFG_PREFIX   "sout-switcher-"


Function Documentation

static sout_stream_id_t * Add ( sout_stream_t ,
es_format_t  
) [static]

static block_t * AudioGetBuffer ( sout_stream_t p_stream,
sout_stream_id_t id,
block_t p_buffer 
) [static]

static void Close ( vlc_object_t  )  [static]

static int Del ( sout_stream_t ,
sout_stream_id_t  
) [static]

static void NetCommand ( sout_stream_t p_stream  )  [static]

static int Open ( vlc_object_t  )  [static]

static mtime_t Process ( sout_stream_t p_stream,
sout_stream_id_t id,
mtime_t  i_max_dts 
) [static]

static int Send ( sout_stream_t ,
sout_stream_id_t ,
block_t  
) [static]

static int UnpackFromFile ( sout_stream_t p_stream,
const char *  psz_file,
int  i_width,
int  i_height,
picture_t p_pic 
) [static]

static mtime_t VideoCommand ( sout_stream_t p_stream,
sout_stream_id_t id 
) [static]

static block_t * VideoGetBuffer ( sout_stream_t p_stream,
sout_stream_id_t id,
block_t p_buffer 
) [static]

int vlc_entry__main ( module_t p_module  ) 

const char* vlc_entry_license__main ( void   ) 


Variable Documentation

const char* const ppsz_sout_options[] [static]

Initial value:

 {
    "files", "sizes", "aspect-ratio", "port", "command", "gop", "qscale",
    "mute-audio", NULL
}


Generated on Wed Aug 13 08:04:49 2008 for VLC by  doxygen 1.5.1