vorbis.c File Reference

Include dependency graph for vorbis.c:


Data Structures

struct  decoder_sys_t

Defines

#define ENC_QUALITY_TEXT   N_("Encoding quality")
#define ENC_QUALITY_LONGTEXT
#define ENC_MAXBR_TEXT   N_("Maximum encoding bitrate")
#define ENC_MAXBR_LONGTEXT
#define ENC_MINBR_TEXT   N_("Minimum encoding bitrate")
#define ENC_MINBR_LONGTEXT
#define ENC_CBR_TEXT   N_("CBR encoding")
#define ENC_CBR_LONGTEXT
#define ENC_CFG_PREFIX   "sout-vorbis-"

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 int ProcessHeaders (decoder_t *)
static void * ProcessPacket (decoder_t *, ogg_packet *, block_t **)
static aout_buffer_tDecodePacket (decoder_t *, ogg_packet *)
static block_tSendPacket (decoder_t *, ogg_packet *, block_t *)
static void ParseVorbisComments (decoder_t *)
static void ConfigureChannelOrder (int *, int, uint32_t, bool)
static void Interleave (float *, const float **, int, int, int *)
static int OpenEncoder (vlc_object_t *)
static void CloseEncoder (vlc_object_t *)
static block_tEncode (encoder_t *, aout_buffer_t *)
int vlc_entry__main (module_t *p_module)
const char * vlc_entry_license__main (void)

Variables

static const int pi_channels_maps [9]
static const uint32_t pi_6channels_in []
static const uint32_t pi_4channels_in []
static const uint32_t pi_3channels_in []
static const uint32_t pi_channels_out []
static const char *const ppsz_enc_options []

Define Documentation

#define ENC_CBR_LONGTEXT

Value:

N_( \
  "Force a constant bitrate encoding (CBR)." )

#define ENC_CBR_TEXT   N_("CBR encoding")

#define ENC_CFG_PREFIX   "sout-vorbis-"

#define ENC_MAXBR_LONGTEXT

Value:

N_( \
  "Maximum bitrate in kbps. This is useful for streaming applications." )

#define ENC_MAXBR_TEXT   N_("Maximum encoding bitrate")

#define ENC_MINBR_LONGTEXT

Value:

N_( \
  "Minimum bitrate in kbps. This is useful for encoding for a fixed-size channel." )

#define ENC_MINBR_TEXT   N_("Minimum encoding bitrate")

#define ENC_QUALITY_LONGTEXT

Value:

N_( \
  "Enforce a quality between 1 (low) and 10 (high), instead " \
  "of specifying a particular bitrate. This will produce a VBR stream." )

#define ENC_QUALITY_TEXT   N_("Encoding quality")


Function Documentation

static void CloseDecoder ( vlc_object_t  )  [static]

static void CloseEncoder ( vlc_object_t  )  [static]

static void ConfigureChannelOrder ( int *  ,
int  ,
uint32_t  ,
bool   
) [static]

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

static aout_buffer_t * DecodePacket ( decoder_t ,
ogg_packet *   
) [static]

static block_t* Encode ( encoder_t ,
aout_buffer_t  
) [static]

static void Interleave ( float *  ,
const float **  ,
int  ,
int  ,
int *   
) [static]

static int OpenDecoder ( vlc_object_t  )  [static]

static int OpenEncoder ( vlc_object_t  )  [static]

static int OpenPacketizer ( vlc_object_t  )  [static]

static void ParseVorbisComments ( decoder_t  )  [static]

static int ProcessHeaders ( decoder_t  )  [static]

static void * ProcessPacket ( decoder_t ,
ogg_packet *  ,
block_t **   
) [static]

static block_t * SendPacket ( decoder_t ,
ogg_packet *  ,
block_t  
) [static]

int vlc_entry__main ( module_t p_module  ) 

const char* vlc_entry_license__main ( void   ) 


Variable Documentation

const uint32_t pi_3channels_in[] [static]

Initial value:

{  0x2 ,  0x1 ,  0x4 , 0 }

const uint32_t pi_4channels_in[] [static]

Initial value:

{  0x2 ,  0x4 ,  0x1 ,  0x1000 , 0 }

const uint32_t pi_6channels_in[] [static]

Initial value:

{  0x2 ,  0x1 ,  0x4 ,
   0x20 ,  0x40 , 0x1000 ,0 }

const int pi_channels_maps[9] [static]

Initial value:

{
    0,
     0x1 ,
     0x2  |  0x4 ,
     0x1  |  0x2  |  0x4 ,
     0x2  |  0x4  |  0x20 
     |  0x40 ,
     0x2  |  0x4  |  0x1 
     |  0x20  |  0x40 ,
     0x2  |  0x4  |  0x1 
     |  0x20  |  0x40  |  0x1000 ,
     0x2  |  0x4  |  0x1 
     |  0x20  |  0x40  |  0x100 
     |  0x200 ,
     0x2  |  0x4  |  0x1  |  0x20 
     |  0x40  |  0x100  |  0x200 
     |  0x1000 
}

const uint32_t pi_channels_out[] [static]

Initial value:

{  0x2 ,  0x4 ,  0x20 ,  0x40 ,
   0x1 ,  0x1000 , 0 }

const char* const ppsz_enc_options[] [static]

Initial value:

 {
    "quality", "max-bitrate", "min-bitrate", "cbr", NULL
}


Generated on Wed Aug 13 08:03:18 2008 for VLC by  doxygen 1.5.1