mpeg_audio.c File Reference

Include dependency graph for mpeg_audio.c:


Data Structures

struct  decoder_sys_t

Defines

#define MAD_BUFFER_GUARD   8
#define MPGA_HEADER_SIZE   4

Enumerations

enum  {
  STATE_NOSYNC, STATE_SYNC, STATE_HEADER, STATE_NEXT_SYNC,
  STATE_GET_DATA, STATE_SEND_DATA
}

Functions

static int OpenDecoder (vlc_object_t *)
static int OpenPacketizer (vlc_object_t *)
static void CloseDecoder (vlc_object_t *)
static void * DecodeBlock (decoder_t *, block_t **)
static uint8_t * GetOutBuffer (decoder_t *, block_t **)
static aout_buffer_tGetAoutBuffer (decoder_t *)
static block_tGetSoutBuffer (decoder_t *)
static int SyncInfo (uint32_t i_header, unsigned int *pi_channels, unsigned int *pi_channels_conf, unsigned int *pi_sample_rate, unsigned int *pi_bit_rate, unsigned int *pi_frame_length, unsigned int *pi_max_frame_size, unsigned int *pi_layer)
int vlc_entry__main (module_t *p_module)
const char * vlc_entry_license__main (void)
static int Open (vlc_object_t *p_this)

Define Documentation

#define MAD_BUFFER_GUARD   8

#define MPGA_HEADER_SIZE   4

Referenced by DecodeBlock(), and Open().


Enumeration Type Documentation

anonymous enum

Enumerator:
STATE_NOSYNC 
STATE_SYNC 
STATE_HEADER 
STATE_NEXT_SYNC 
STATE_GET_DATA 
STATE_SEND_DATA 


Function Documentation

static void CloseDecoder ( vlc_object_t p_this  )  [static]

static void * DecodeBlock ( decoder_t p_dec,
block_t **  pp_block 
) [static]

static aout_buffer_t * GetAoutBuffer ( decoder_t p_dec  )  [static]

static uint8_t * GetOutBuffer ( decoder_t p_dec,
block_t **  pp_out_buffer 
) [static]

static block_t * GetSoutBuffer ( decoder_t p_dec  )  [static]

static int Open ( vlc_object_t p_this  )  [static]

static int OpenDecoder ( vlc_object_t p_this  )  [static]

References module_exists(), Open(), and VLC_EGENERIC.

static int OpenPacketizer ( vlc_object_t p_this  )  [static]

static int SyncInfo ( uint32_t  i_header,
unsigned int *  pi_channels,
unsigned int *  pi_channels_conf,
unsigned int *  pi_sample_rate,
unsigned int *  pi_bit_rate,
unsigned int *  pi_frame_length,
unsigned int *  pi_max_frame_size,
unsigned int *  pi_layer 
) [static]

int vlc_entry__main ( module_t p_module  ) 

const char* vlc_entry_license__main ( void   ) 


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