smem.c File Reference

Include dependency graph for smem.c:


Data Structures

struct  sout_stream_id_t
struct  sout_stream_sys_t

Defines

#define T_VIDEO_PRERENDER_CALLBACK   N_( "Video prerender callback" )
#define LT_VIDEO_PRERENDER_CALLBACK
#define T_AUDIO_PRERENDER_CALLBACK   N_( "Audio prerender callback" )
#define LT_AUDIO_PRERENDER_CALLBACK
#define T_VIDEO_POSTRENDER_CALLBACK   N_( "Video postrender callback" )
#define LT_VIDEO_POSTRENDER_CALLBACK
#define T_AUDIO_POSTRENDER_CALLBACK   N_( "Audio postrender callback" )
#define LT_AUDIO_POSTRENDER_CALLBACK
#define T_VIDEO_DATA   N_( "Video Callback data" )
#define LT_VIDEO_DATA   N_( "Data for the video callback function." )
#define T_AUDIO_DATA   N_( "Audio callback data" )
#define LT_AUDIO_DATA   N_( "Data for the audio callback function." )
#define T_TIME_SYNC   N_( "Time Synchronized output" )
#define LT_TIME_SYNC
#define SOUT_CFG_PREFIX   "sout-smem-"
#define SOUT_PREFIX_VIDEO   SOUT_CFG_PREFIX"video-"
#define SOUT_PREFIX_AUDIO   SOUT_CFG_PREFIX"audio-"

Functions

static int Open (vlc_object_t *)
 Probes and initializes.
static void Close (vlc_object_t *)
 Releases resources.
int vlc_entry__main (module_t *p_module)
const char * vlc_entry_license__main (void)
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 sout_stream_id_tAddVideo (sout_stream_t *p_stream, es_format_t *p_fmt)
static sout_stream_id_tAddAudio (sout_stream_t *p_stream, es_format_t *p_fmt)
static int SendVideo (sout_stream_t *p_stream, sout_stream_id_t *id, block_t *p_buffer)
static int SendAudio (sout_stream_t *p_stream, sout_stream_id_t *id, block_t *p_buffer)

Variables

static const char *const ppsz_sout_options []

Define Documentation

#define LT_AUDIO_DATA   N_( "Data for the audio callback function." )

#define LT_AUDIO_POSTRENDER_CALLBACK

Value:

N_( "Address of the audio postrender callback function." \
                                        "this function will be called when the render is into the buffer" )

#define LT_AUDIO_PRERENDER_CALLBACK

Value:

N_( "Address of the audio prerender callback function." \
                                        "this function will set the buffer where render will be done" )

#define LT_TIME_SYNC

Value:

N_( "Time Synchronisation option for output. " \
                        "If true, stream will render as usual, else " \
                        "it will be rendered as fast as possible.")

#define LT_VIDEO_DATA   N_( "Data for the video callback function." )

#define LT_VIDEO_POSTRENDER_CALLBACK

Value:

N_( "Address of the video postrender callback function." \
                                        "this function will be called when the render is into the buffer" )

#define LT_VIDEO_PRERENDER_CALLBACK

Value:

N_( "Address of the video prerender callback function" \
                                "this function will set the buffer where render will be done" )

#define SOUT_CFG_PREFIX   "sout-smem-"

#define SOUT_PREFIX_AUDIO   SOUT_CFG_PREFIX"audio-"

Referenced by AddAudio().

#define SOUT_PREFIX_VIDEO   SOUT_CFG_PREFIX"video-"

Referenced by AddVideo().

#define T_AUDIO_DATA   N_( "Audio callback data" )

#define T_AUDIO_POSTRENDER_CALLBACK   N_( "Audio postrender callback" )

#define T_AUDIO_PRERENDER_CALLBACK   N_( "Audio prerender callback" )

#define T_TIME_SYNC   N_( "Time Synchronized output" )

#define T_VIDEO_DATA   N_( "Video Callback data" )

#define T_VIDEO_POSTRENDER_CALLBACK   N_( "Video postrender callback" )

#define T_VIDEO_PRERENDER_CALLBACK   N_( "Video prerender callback" )


Function Documentation

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

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

static sout_stream_id_t * AddVideo ( sout_stream_t p_stream,
es_format_t p_fmt 
) [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]

References VLC_SUCCESS, and VLC_UNUSED.

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 int Send ( sout_stream_t p_stream,
sout_stream_id_t id,
block_t p_buffer 
) [static]

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

static int SendVideo ( 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:

 {
    "video-prerender-callback", "audio-prerender-callback",
    "video-postrender-callback", "audio-postrender-callback", "video-data", "audio-data", "time-sync", NULL
}


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