mosaic_bridge.c File Reference

Include dependency graph for mosaic_bridge.c:


Data Structures

struct  sout_stream_sys_t
struct  decoder_owner_sys_t

Defines

#define ID_TEXT   N_("ID")
#define ID_LONGTEXT
#define WIDTH_TEXT   N_("Video width")
#define WIDTH_LONGTEXT
#define HEIGHT_TEXT   N_("Video height")
#define HEIGHT_LONGTEXT
#define RATIO_TEXT   N_("Sample aspect ratio")
#define RATIO_LONGTEXT
#define VFILTER_TEXT   N_("Video filter")
#define VFILTER_LONGTEXT
#define CHROMA_TEXT   N_("Image chroma")
#define CHROMA_LONGTEXT
#define ALPHA_TEXT   N_("Transparency")
#define ALPHA_LONGTEXT
#define X_TEXT   N_("X offset")
#define X_LONGTEXT
#define Y_TEXT   N_("Y offset")
#define Y_LONGTEXT
#define CFG_PREFIX   "sout-mosaic-bridge-"
#define INT_COMMAND(a)

Functions

static int Open (vlc_object_t *)
 Probes and initializes.
static void Close (vlc_object_t *)
 Releases resources.
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 void video_del_buffer_decoder (decoder_t *, picture_t *)
static void video_del_buffer_filter (filter_t *, picture_t *)
static picture_tvideo_new_buffer_decoder (decoder_t *)
static picture_tvideo_new_buffer_filter (filter_t *)
static picture_tvideo_new_buffer (vlc_object_t *, decoder_owner_sys_t *, es_format_t *)
static void video_link_picture_decoder (decoder_t *, picture_t *)
static void video_unlink_picture_decoder (decoder_t *, picture_t *)
static int HeightCallback (vlc_object_t *, char const *, vlc_value_t, vlc_value_t, void *)
static int WidthCallback (vlc_object_t *, char const *, vlc_value_t, vlc_value_t, void *)
static int alphaCallback (vlc_object_t *, char const *, vlc_value_t, vlc_value_t, void *)
static int xCallback (vlc_object_t *, char const *, vlc_value_t, vlc_value_t, void *)
static int yCallback (vlc_object_t *, char const *, vlc_value_t, vlc_value_t, void *)
int vlc_entry__main (module_t *p_module)
const char * vlc_entry_license__main (void)
static int video_filter_buffer_allocation_init (filter_t *p_filter, void *p_data)
static void PushPicture (sout_stream_t *p_stream, picture_t *p_picture)

Variables

static const char *const ppsz_sout_options []

Define Documentation

#define ALPHA_LONGTEXT

Value:

N_( \
    "Transparency of the mosaic picture." )

#define ALPHA_TEXT   N_("Transparency")

#define CFG_PREFIX   "sout-mosaic-bridge-"

#define CHROMA_LONGTEXT

Value:

N_( \
    "Force the use of a specific chroma. Use YUVA if you're planning " \
    "to use the Alphamask or Bluescreen video filter." )

#define CHROMA_TEXT   N_("Image chroma")

#define HEIGHT_LONGTEXT

Value:

N_( \
    "Output video height." )

#define HEIGHT_TEXT   N_("Video height")

#define ID_LONGTEXT

Value:

N_( \
    "Specify an identifier string for this subpicture" )

#define ID_TEXT   N_("ID")

#define INT_COMMAND ( a   ) 

Value:

do { \
    var_Create( p_stream, CFG_PREFIX #a, \
                VLC_VAR_INTEGER | VLC_VAR_DOINHERIT | VLC_VAR_ISCOMMAND ); \
    var_AddCallback( p_stream, CFG_PREFIX #a, a ## Callback, \
                     p_stream ); } while(0)

#define RATIO_LONGTEXT

Value:

N_( \
    "Sample aspect ratio of the destination (1:1, 3:4, 2:3)." )

#define RATIO_TEXT   N_("Sample aspect ratio")

#define VFILTER_LONGTEXT

Value:

N_( \
    "Video filters will be applied to the video stream." )

#define VFILTER_TEXT   N_("Video filter")

#define WIDTH_LONGTEXT

Value:

N_( \
    "Output video width." )

#define WIDTH_TEXT   N_("Video width")

#define X_LONGTEXT

Value:

N_( \
    "X coordinate of the upper left corner in the mosaic if non negative." )

#define X_TEXT   N_("X offset")

#define Y_LONGTEXT

Value:

N_( \
    "Y coordinate of the upper left corner in the mosaic if non negative." )

#define Y_TEXT   N_("Y offset")


Function Documentation

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

References bridged_es_t::b_empty, sout_stream_sys_t::b_inited, decoder_t::b_pace_control, CFG_PREFIX, es_format_Copy(), filter_chain_AppendFromString(), filter_chain_New, filter_chain_Reset(), decoder_t::fmt_in, decoder_t::fmt_out, GetBridge, i, bridged_es_t::i_alpha, es_format_t::i_cat, video_format_t::i_chroma, sout_stream_sys_t::i_chroma, bridge_t::i_es_num, es_format_t::i_extra, sout_stream_sys_t::i_height, sout_stream_sys_t::i_width, bridged_es_t::i_x, bridged_es_t::i_y, image_HandlerCreate, module_need, module_unneed, msg_Dbg, msg_Err, vlc_value_t::p_address, sout_stream_sys_t::p_decoder, sout_stream_sys_t::p_es, es_format_t::p_extra, sout_stream_sys_t::p_image, sout_stream_t::p_libvlc, sout_stream_sys_t::p_lock, decoder_t::p_module, decoder_t::p_owner, bridged_es_t::p_picture, sout_stream_t::p_sys, sout_stream_sys_t::p_vf2, decoder_t::pf_decode_video, decoder_t::pf_picture_link, decoder_t::pf_picture_unlink, decoder_t::pf_vout_buffer_del, decoder_t::pf_vout_buffer_new, bridge_t::pp_es, bridged_es_t::pp_last, sout_stream_sys_t::psz_id, bridged_es_t::psz_id, var_Create, var_GetInteger, var_GetNonEmptyString, var_Set, es_format_t::video, decoder_owner_sys_t::video, video_del_buffer_decoder(), VIDEO_ES, video_filter_buffer_allocation_init(), video_link_picture_decoder(), video_new_buffer_decoder(), video_unlink_picture_decoder(), vlc_mutex_lock(), vlc_mutex_unlock(), VLC_OBJECT, vlc_object_attach, vlc_object_create, vlc_object_release, VLC_VAR_ADDRESS, xmalloc(), and xrealloc().

static int alphaCallback ( vlc_object_t p_this,
char const *  psz_var,
vlc_value_t  oldval,
vlc_value_t  newval,
void *  p_data 
) [static]

static void Close ( vlc_object_t p_this  )  [static]

Releases resources.

Close the module.

Destroys the X11 window.

Disconnect from the X server.

Close a SDL video output.

It destroys an OpenGL vout display.

Terminate a vout display created by Open.

It destroyes a Direct3D vout display.

Terminate an output method created by Open.

Release the drawable.

Close a libcaca video output.

Close a aa video output method.

Close the filter.

Terminate a splitter module.

This function closes a clone video splitter module.

Common close function.

Releases allocate resources.

Close: Destructor.

Parameters:
p_this pointer to this filter object
p_this,: the filter object

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

static int HeightCallback ( vlc_object_t p_this,
char const *  psz_var,
vlc_value_t  oldval,
vlc_value_t  newval,
void *  p_data 
) [static]

static int Open ( vlc_object_t p_this  )  [static]

Probes and initializes.

Status of this demuxer: Real Media format -----------------.

Basic chorus/flanger/delay audio filter This implements a variable delay filter for VLC.

Todo:

  • Improve CDDB support (non-blocking, cache, .

Open the module.

Create an X11 window.

Probe the X server.

This function initializes SDL vout method.

It creates an OpenGL vout display.

This function allocates and initialize the DirectX vout display.

It creates a Direct3D vout display.

This function allocates and initializes a FB vout method.

Find the drawable set by libvlc application.

This function initializes libcaca vout method.

This function allocates and initializes a aa vout method.

This function allocates and initializes a Wall splitter module.

Open the filter.

This function allocates and initializes a Clone splitter module.

Open: initialize and create stuff.

Connect to the sftp server and ask for a file.

Parameters:
p_this,: the vlc_object
Returns:
VLC_SUCCESS if everything was fine
Parameters:
p_this 
p_this,: the filter object
Returns:
VLC_SUCCESS or vlc error codes

Todo:
Reinstate meta codec name

static void PushPicture ( sout_stream_t p_stream,
picture_t p_picture 
) [static]

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

static void video_del_buffer_decoder ( decoder_t p_this,
picture_t p_pic 
) [inline, static]

References picture_Release(), and VLC_UNUSED.

Referenced by Add(), and transcode_video_new().

static void video_del_buffer_filter ( filter_t p_this,
picture_t p_pic 
) [inline, static]

static int video_filter_buffer_allocation_init ( filter_t p_filter,
void *  p_data 
) [static]

static void video_link_picture_decoder ( decoder_t p_dec,
picture_t p_pic 
) [static]

References picture_Hold(), and VLC_UNUSED.

Referenced by Add(), and transcode_video_new().

static picture_t * video_new_buffer ( vlc_object_t p_this,
decoder_owner_sys_t p_sys,
es_format_t fmt_out 
) [static]

static picture_t * video_new_buffer_decoder ( decoder_t p_dec  )  [inline, static]

static picture_t * video_new_buffer_filter ( filter_t p_filter  )  [inline, static]

static void video_unlink_picture_decoder ( decoder_t p_dec,
picture_t p_pic 
) [static]

References picture_Release(), and VLC_UNUSED.

Referenced by Add(), and transcode_video_new().

int vlc_entry__main ( module_t p_module  ) 

const char* vlc_entry_license__main ( void   ) 

static int WidthCallback ( vlc_object_t p_this,
char const *  psz_var,
vlc_value_t  oldval,
vlc_value_t  newval,
void *  p_data 
) [static]

static int xCallback ( vlc_object_t p_this,
char const *  psz_var,
vlc_value_t  oldval,
vlc_value_t  newval,
void *  p_data 
) [static]

static int yCallback ( vlc_object_t p_this,
char const *  psz_var,
vlc_value_t  oldval,
vlc_value_t  newval,
void *  p_data 
) [static]


Variable Documentation

const char* const ppsz_sout_options[] [static]

Initial value:

 {
    "id", "width", "height", "sar", "vfilter", "chroma", "alpha", "x", "y", NULL
}


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