smf.c File Reference

Include dependency graph for smf.c:


Data Structures

struct  smf_track_t
struct  demux_sys_t

Defines

#define TEMPO_MIN   20
#define TEMPO_MAX   250

Typedefs

typedef struct smf_track_t mtrk_t

Functions

static int Open (vlc_object_t *)
 Probes and initializes.
static void Close (vlc_object_t *p_this)
 Releases allocate resources.
int vlc_entry__main (module_t *p_module)
const char * vlc_entry_license__main (void)
static int Demux (demux_t *)
static int Control (demux_t *, int i_query, va_list args)
static int ReadDeltaTime (stream_t *s, mtrk_t *track)
 Reads (delta) time from the next event of a given track.
static int32_t ReadVarInt (stream_t *s)
 Reads MIDI variable length (7, 14, 21 or 28 bits) integer.
static int HandleMeta (demux_t *p_demux, mtrk_t *tr)
 Non-MIDI Meta events handler.
static int HandleMessage (demux_t *p_demux, mtrk_t *tr)

Define Documentation

#define TEMPO_MAX   250

Referenced by HandleMeta().

#define TEMPO_MIN   20

Referenced by HandleMeta().


Typedef Documentation

typedef struct smf_track_t mtrk_t


Function Documentation

static void Close ( vlc_object_t p_this  )  [static]

Releases allocate 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 Control ( demux_t p_demux,
int  i_query,
va_list  args 
) [static]

static int Demux ( demux_t p_demux  )  [static]

static int HandleMessage ( demux_t p_demux,
mtrk_t tr 
) [static]

static int HandleMeta ( demux_t p_demux,
mtrk_t tr 
) [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 int ReadDeltaTime ( stream_t s,
mtrk_t track 
) [static]

Reads (delta) time from the next event of a given track.

Parameters:
s stream to read data from (must be positioned at the right offset)

References smf_track_t::end, smf_track_t::next, smf_track_t::offset, ReadVarInt(), and stream_Tell().

Referenced by Demux().

static int32_t ReadVarInt ( stream_t s  )  [static]

Reads MIDI variable length (7, 14, 21 or 28 bits) integer.

Returns:
read value, or -1 on EOF/error.

References i, and stream_Read().

Referenced by HandleMessage(), HandleMeta(), and ReadDeltaTime().

int vlc_entry__main ( module_t p_module  ) 

const char* vlc_entry_license__main ( void   ) 


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