ogg.c File Reference

Include dependency graph for ogg.c:


Data Structures

struct  oggds_header_video_t
struct  oggds_header_audio_t
struct  oggds_header_t
struct  ogg_stream_t
struct  sout_mux_sys_t

Defines

#define PACKET_TYPE_HEADER   0x01
#define PACKET_TYPE_COMMENT   0x03
#define PACKET_IS_SYNCPOINT   0x08

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 int Control (sout_mux_t *, int, va_list)
static int AddStream (sout_mux_t *, sout_input_t *)
static int DelStream (sout_mux_t *, sout_input_t *)
static int Mux (sout_mux_t *)
static int MuxBlock (sout_mux_t *, sout_input_t *)
static block_tOggCreateHeader (sout_mux_t *)
static block_tOggCreateFooter (sout_mux_t *)
static void OggSetDate (block_t *, mtime_t, mtime_t)
static block_tOggStreamFlush (sout_mux_t *, ogg_stream_state *, mtime_t)
static block_tOggStreamGetPage (sout_mux_t *p_mux, ogg_stream_state *p_os, mtime_t i_pts, bool flush)
static block_tOggStreamPageOut (sout_mux_t *p_mux, ogg_stream_state *p_os, mtime_t i_pts)

Define Documentation

#define PACKET_IS_SYNCPOINT   0x08

#define PACKET_TYPE_COMMENT   0x03

Referenced by OggCreateHeader().

#define PACKET_TYPE_HEADER   0x01


Function Documentation

static int AddStream ( sout_mux_t p_mux,
sout_input_t p_input 
) [static]

References oggds_header_t::audio, es_format_t::audio, AUDIO_ES, ogg_stream_t::b_new, fourcc_to_wf_tag(), FREENULL, oggds_header_t::header, sout_mux_sys_t::i_add_streams, oggds_header_audio_t::i_avgbytespersec, es_format_t::i_bitrate, oggds_header_t::i_bits_per_sample, audio_format_t::i_bitspersample, oggds_header_audio_t::i_block_align, audio_format_t::i_blockalign, oggds_header_t::i_buffer_size, es_format_t::i_cat, ogg_stream_t::i_cat, audio_format_t::i_channels, oggds_header_audio_t::i_channels, es_format_t::i_codec, oggds_header_t::i_default_len, es_format_t::i_extra, ogg_stream_t::i_fourcc, video_format_t::i_frame_rate, video_format_t::i_frame_rate_base, video_format_t::i_height, oggds_header_video_t::i_height, ogg_stream_t::i_last_keyframe, sout_mux_sys_t::i_next_serial_no, ogg_stream_t::i_num_frames, ogg_stream_t::i_num_keyframes, ogg_stream_t::i_packet_no, oggds_header_t::i_packet_type, audio_format_t::i_rate, oggds_header_t::i_samples_per_unit, ogg_stream_t::i_serial_no, oggds_header_t::i_size, i_tag, oggds_header_t::i_time_unit, video_format_t::i_width, oggds_header_video_t::i_width, msg_Dbg, msg_Warn, es_format_t::p_extra, sout_input_t::p_fmt, ogg_stream_t::p_oggds_header, p_stream, sout_input_t::p_sys, sout_mux_t::p_sys, PACKET_TYPE_HEADER, SetDWLE, SetQWLE, SetWLE, SPU_ES, oggds_header_t::stream_type, oggds_header_t::sub_type, oggds_header_t::video, es_format_t::video, VIDEO_ES, VLC_CODEC_DIRAC, VLC_CODEC_DIV3, VLC_CODEC_FLAC, VLC_CODEC_MJPG, VLC_CODEC_MP4V, VLC_CODEC_MPGV, VLC_CODEC_SNOW, VLC_CODEC_SPEEX, VLC_CODEC_SUBT, VLC_CODEC_THEORA, VLC_CODEC_VORBIS, VLC_CODEC_WMV1, VLC_CODEC_WMV2, VLC_CODEC_WMV3, VLC_EGENERIC, VLC_ENOMEM, VLC_SUCCESS, and WAVE_FORMAT_UNKNOWN.

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 Control ( sout_mux_t p_mux,
int  i_query,
va_list  args 
) [static]

static int DelStream ( sout_mux_t p_mux,
sout_input_t p_input 
) [static]

static int Mux ( sout_mux_t p_mux  )  [static]

static int MuxBlock ( sout_mux_t p_mux,
sout_input_t p_input 
) [static]

static block_t * OggCreateFooter ( sout_mux_t p_mux  )  [static]

static block_t * OggCreateHeader ( sout_mux_t p_mux  )  [static]

static void OggSetDate ( block_t p_og,
mtime_t  i_dts,
mtime_t  i_length 
) [static]

static block_t * OggStreamFlush ( sout_mux_t p_mux,
ogg_stream_state *  p_os,
mtime_t  i_pts 
) [static]

static block_t* OggStreamGetPage ( sout_mux_t p_mux,
ogg_stream_state *  p_os,
mtime_t  i_pts,
bool  flush 
) [static]

static block_t* OggStreamPageOut ( sout_mux_t p_mux,
ogg_stream_state *  p_os,
mtime_t  i_pts 
) [static]

References OggStreamGetPage().

Referenced by MuxBlock(), and OggCreateHeader().

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

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