avi.c File Reference

Include dependency graph for avi.c:


Data Structures

struct  avi_stream_s
struct  avi_idx1_entry_s
struct  avi_idx1_s
struct  sout_mux_sys_t
struct  buffer_out_s

Defines

#define HDR_SIZE   10240
#define AVIF_HASINDEX   0x00000010
#define AVIF_ISINTERLEAVED   0x00000100
#define AVIF_TRUSTCKTYPE   0x00000800
#define AVIIF_KEYFRAME   0x00000010L
#define p_wf   p_stream->p_wf
#define p_bih   p_stream->p_bih
#define AVI_BOX_ENTER(fcc)
#define AVI_BOX_ENTER_LIST(fcc)
#define AVI_BOX_EXIT(i_err)

Typedefs

typedef struct avi_stream_s avi_stream_t
typedef struct avi_idx1_entry_s avi_idx1_entry_t
typedef struct avi_idx1_s avi_idx1_t
typedef struct buffer_out_s buffer_out_t

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 block_tavi_HeaderCreateRIFF (sout_mux_t *)
static block_tavi_HeaderCreateidx1 (sout_mux_t *)
static void SetFCC (uint8_t *p, char *fcc)
static void bo_Init (buffer_out_t *p_bo, int i_size, uint8_t *p_buffer)
static void bo_AddByte (buffer_out_t *p_bo, uint8_t i)
static void bo_AddWordLE (buffer_out_t *p_bo, uint16_t i)
static void bo_AddWordBE (buffer_out_t *p_bo, uint16_t i)
static void bo_AddDWordLE (buffer_out_t *p_bo, uint32_t i)
static void bo_AddDWordBE (buffer_out_t *p_bo, uint32_t i)
static void bo_AddFCC (buffer_out_t *p_bo, const char *fcc)
static void bo_AddMem (buffer_out_t *p_bo, int i_size, uint8_t *p_mem)
static int avi_HeaderAdd_avih (sout_mux_t *p_mux, buffer_out_t *p_bo)
static int avi_HeaderAdd_strh (buffer_out_t *p_bo, avi_stream_t *p_stream)
static int avi_HeaderAdd_strf (buffer_out_t *p_bo, avi_stream_t *p_stream)
static int avi_HeaderAdd_strl (buffer_out_t *p_bo, avi_stream_t *p_stream)

Define Documentation

#define AVI_BOX_ENTER ( fcc   ) 

Value:

buffer_out_t _bo_sav_; \
    bo_AddFCC( p_bo, fcc ); \
    _bo_sav_ = *p_bo; \
    bo_AddDWordLE( p_bo, 0 )

Referenced by avi_HeaderAdd_avih(), avi_HeaderAdd_strf(), and avi_HeaderAdd_strh().

#define AVI_BOX_ENTER_LIST ( fcc   ) 

Value:

AVI_BOX_ENTER( "LIST" ); \
    bo_AddFCC( p_bo, fcc )

Referenced by avi_HeaderAdd_strl().

#define AVI_BOX_EXIT ( i_err   ) 

Value:

if( p_bo->i_buffer&0x01 ) bo_AddByte( p_bo, 0 ); \
    bo_AddDWordLE( &_bo_sav_, p_bo->i_buffer - _bo_sav_.i_buffer - 4 ); \
    return( i_err );

Referenced by avi_HeaderAdd_avih(), avi_HeaderAdd_strf(), avi_HeaderAdd_strh(), and avi_HeaderAdd_strl().

#define AVIF_HASINDEX   0x00000010

#define AVIF_ISINTERLEAVED   0x00000100

#define AVIF_TRUSTCKTYPE   0x00000800

#define AVIIF_KEYFRAME   0x00000010L

#define HDR_SIZE   10240

Referenced by avi_HeaderCreateRIFF().

#define p_bih   p_stream->p_bih

#define p_wf   p_stream->p_wf


Typedef Documentation

typedef struct avi_idx1_s avi_idx1_t

typedef struct avi_stream_s avi_stream_t

typedef struct buffer_out_s buffer_out_t


Function Documentation

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

static int avi_HeaderAdd_avih ( sout_mux_t p_mux,
buffer_out_t p_bo 
) [static]

static int avi_HeaderAdd_strf ( buffer_out_t p_bo,
avi_stream_t p_stream 
) [static]

static int avi_HeaderAdd_strh ( buffer_out_t p_bo,
avi_stream_t p_stream 
) [static]

static int avi_HeaderAdd_strl ( buffer_out_t p_bo,
avi_stream_t p_stream 
) [static]

static block_t * avi_HeaderCreateidx1 ( sout_mux_t p_mux  )  [static]

static block_t * avi_HeaderCreateRIFF ( sout_mux_t p_mux  )  [static]

static void bo_AddByte ( buffer_out_t p_bo,
uint8_t  i 
) [static]

static void bo_AddDWordBE ( buffer_out_t p_bo,
uint32_t  i 
) [static]

References bo_AddWordBE().

Referenced by avi_HeaderAdd_strf(), and avi_HeaderAdd_strh().

static void bo_AddDWordLE ( buffer_out_t p_bo,
uint32_t  i 
) [static]

static void bo_AddFCC ( buffer_out_t p_bo,
const char *  fcc 
) [static]

static void bo_AddMem ( buffer_out_t p_bo,
int  i_size,
uint8_t *  p_mem 
) [static]

References bo_AddByte().

Referenced by avi_HeaderAdd_strf().

static void bo_AddWordBE ( buffer_out_t p_bo,
uint16_t  i 
) [static]

References bo_AddByte().

Referenced by bo_AddDWordBE().

static void bo_AddWordLE ( buffer_out_t p_bo,
uint16_t  i 
) [static]

static void bo_Init ( buffer_out_t p_bo,
int  i_size,
uint8_t *  p_buffer 
) [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 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]

References msg_Dbg, and sout_input_t::p_sys.

static int Mux ( sout_mux_t p_mux  )  [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 SetFCC ( uint8_t *  p,
char *  fcc 
) [static]

Referenced by Mux().

int vlc_entry__main ( module_t p_module  ) 

const char* vlc_entry_license__main ( void   ) 


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