bridge.c File Reference

Include dependency graph for bridge.c:


Data Structures

struct  bridged_es_t
struct  bridge_t
struct  out_sout_stream_sys_t
struct  in_sout_stream_sys_t
struct  sout_stream_id_t

Defines

#define ID_TEXT   N_("ID")
#define ID_LONGTEXT
#define DEST_TEXT   N_( "Destination bridge-in name" )
#define DEST_LONGTEXT
#define DELAY_TEXT   N_("Delay")
#define DELAY_LONGTEXT
#define ID_OFFSET_TEXT   N_("ID Offset")
#define ID_OFFSET_LONGTEXT
#define NAME_TEXT   N_( "Name of current instance" )
#define NAME_LONGTEXT
#define PLACEHOLDER_TEXT   N_( "Fallback to placeholder stream when out of data" )
#define PLACEHOLDER_LONGTEXT
#define PLACEHOLDER_DELAY_TEXT   N_( "Placeholder delay" )
#define PLACEHOLDER_DELAY_LONGTEXT
#define PLACEHOLDER_IFRAME_TEXT   N_( "Wait for I frame before toggling placholder" )
#define PLACEHOLDER_IFRAME_LONGTEXT
#define SOUT_CFG_PREFIX_OUT   "sout-bridge-out-"
#define SOUT_CFG_PREFIX_IN   "sout-bridge-in-"

Enumerations

enum  { placeholder_on, placeholder_off }

Functions

static int OpenOut (vlc_object_t *)
static void CloseOut (vlc_object_t *)
static int OpenIn (vlc_object_t *)
static void CloseIn (vlc_object_t *)
int vlc_entry__main (module_t *p_module)
const char * vlc_entry_license__main (void)
static sout_stream_id_tAddOut (sout_stream_t *, es_format_t *)
static int DelOut (sout_stream_t *, sout_stream_id_t *)
static int SendOut (sout_stream_t *, sout_stream_id_t *, block_t *)
static sout_stream_id_tAddIn (sout_stream_t *, es_format_t *)
static int DelIn (sout_stream_t *, sout_stream_id_t *)
static int SendIn (sout_stream_t *, sout_stream_id_t *, block_t *)

Variables

static const char *const ppsz_sout_options_out []
static const char *const ppsz_sout_options_in []

Define Documentation

#define DELAY_LONGTEXT

Value:

N_("Pictures coming from the picture video outputs " \
        "will be delayed according to this value (in milliseconds, should be "\
        ">= 100 ms). For high values, you will need to raise caching values." )

#define DELAY_TEXT   N_("Delay")

#define DEST_LONGTEXT

Value:

N_( \
    "Name of the destination bridge-in. If you do not need more " \
    "than one bridge-in at a time, you can discard this option." )

#define DEST_TEXT   N_( "Destination bridge-in name" )

#define ID_LONGTEXT

Value:

N_( \
    "Integer identifier for this elementary stream. This will be used to " \
    "\"find\" this stream later." )

#define ID_OFFSET_LONGTEXT

Value:

N_("Offset to add to the stream IDs specified in " \
        "bridge_out to obtain the stream IDs bridge_in will register.")

#define ID_OFFSET_TEXT   N_("ID Offset")

#define ID_TEXT   N_("ID")

#define NAME_LONGTEXT

Value:

N_( \
    "Name of this bridge-in instance. If you do not need more " \
    "than one bridge-in at a time, you can discard this option." )

#define NAME_TEXT   N_( "Name of current instance" )

#define PLACEHOLDER_DELAY_LONGTEXT

Value:

N_( \
    "Delay (in ms) before the placeholder kicks in." )

#define PLACEHOLDER_DELAY_TEXT   N_( "Placeholder delay" )

#define PLACEHOLDER_IFRAME_LONGTEXT

Value:

N_( \
    "If enabled, switching between the placeholder and the normal stream " \
    "will only occur on I frames. This will remove artifacts on stream " \
    "switching at the expense of a slightly longer delay, depending on " \
    "the frequence of I frames in the streams." )

#define PLACEHOLDER_IFRAME_TEXT   N_( "Wait for I frame before toggling placholder" )

#define PLACEHOLDER_LONGTEXT

Value:

N_( \
    "If set to true, the bridge will discard all input elementary streams " \
    "except if it doesn't receive data from another bridge-in. This can " \
    "be used to configure a place holder stream when the real source " \
    "breaks. Source and placeholder streams should have the same format. " )

#define PLACEHOLDER_TEXT   N_( "Fallback to placeholder stream when out of data" )

#define SOUT_CFG_PREFIX_IN   "sout-bridge-in-"

Referenced by OpenIn().

#define SOUT_CFG_PREFIX_OUT   "sout-bridge-out-"

Referenced by OpenOut().


Enumeration Type Documentation

anonymous enum

Enumerator:
placeholder_on 
placeholder_off 


Function Documentation

static sout_stream_id_t * AddIn ( sout_stream_t p_stream,
es_format_t p_fmt 
) [static]

static sout_stream_id_t * AddOut ( sout_stream_t p_stream,
es_format_t p_fmt 
) [static]

static void CloseIn ( vlc_object_t p_this  )  [static]

static void CloseOut ( vlc_object_t p_this  )  [static]

static int DelIn ( sout_stream_t p_stream,
sout_stream_id_t id 
) [static]

static int DelOut ( sout_stream_t p_stream,
sout_stream_id_t id 
) [static]

static int OpenIn ( vlc_object_t p_this  )  [static]

static int OpenOut ( vlc_object_t p_this  )  [static]

static int SendIn ( sout_stream_t p_stream,
sout_stream_id_t id,
block_t p_buffer 
) [static]

static int SendOut ( 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_in[] [static]

Initial value:

 {
    "delay", "id-offset", "name",
    "placeholder", "placeholder-delay", "placeholder-switch-on-iframe",
    NULL
}

Referenced by OpenIn().

const char* const ppsz_sout_options_out[] [static]

Initial value:

 {
    "id", "in-name", NULL
}

Referenced by OpenOut().


Generated on Tue May 25 08:05:27 2010 for VLC by  doxygen 1.5.6