twolame.c File Reference

Include dependency graph for twolame.c:


Data Structures

struct  encoder_sys_t

Defines

#define MPEG_FRAME_SIZE   1152
#define MAX_CODED_FRAME_SIZE   1792
#define ENC_CFG_PREFIX   "sout-twolame-"
#define ENC_QUALITY_TEXT   N_("Encoding quality")
#define ENC_QUALITY_LONGTEXT
#define ENC_MODE_TEXT   N_("Stereo mode")
#define ENC_MODE_LONGTEXT   N_( "Handling mode for stereo streams" )
#define ENC_VBR_TEXT   N_("VBR mode")
#define ENC_VBR_LONGTEXT
#define ENC_PSY_TEXT   N_("Psycho-acoustic model")
#define ENC_PSY_LONGTEXT

Functions

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)
static void Bufferize (encoder_t *p_enc, int16_t *p_in, int i_nb_samples)

Variables

static const int pi_stereo_values [] = { 0, 1, 2 }
static const char *const ppsz_stereo_descriptions []
static const char *const ppsz_enc_options []
static const uint16_t mpa_bitrate_tab [2][15]
static const uint16_t mpa_freq_tab [6]

Define Documentation

#define ENC_CFG_PREFIX   "sout-twolame-"

#define ENC_MODE_LONGTEXT   N_( "Handling mode for stereo streams" )

#define ENC_MODE_TEXT   N_("Stereo mode")

#define ENC_PSY_LONGTEXT

Value:

N_( \
  "Integer from -1 (no model) to 4." )

#define ENC_PSY_TEXT   N_("Psycho-acoustic model")

#define ENC_QUALITY_LONGTEXT

Value:

N_( \
  "Force a specific encoding quality between 0.0 (high) and 50.0 (low), " \
  "instead of specifying a particular bitrate. " \
  "This will produce a VBR stream." )

#define ENC_QUALITY_TEXT   N_("Encoding quality")

#define ENC_VBR_LONGTEXT

Value:

N_( \
  "Use Variable BitRate. Default is to use Constant BitRate (CBR)." )

#define ENC_VBR_TEXT   N_("VBR mode")

#define MAX_CODED_FRAME_SIZE   1792

#define MPEG_FRAME_SIZE   1152


Function Documentation

static void Bufferize ( encoder_t p_enc,
int16_t *  p_in,
int  i_nb_samples 
) [static]

static void CloseEncoder ( vlc_object_t  )  [static]

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

static int OpenEncoder ( vlc_object_t  )  [static]

int vlc_entry__main ( module_t p_module  ) 

const char* vlc_entry_license__main ( void   ) 


Variable Documentation

const uint16_t mpa_bitrate_tab[2][15] [static]

Initial value:

{
    {0, 32, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320, 384},
    {0, 8, 16, 24, 32, 40, 48, 56, 64, 80, 96, 112, 128, 144, 160}
}

const uint16_t mpa_freq_tab[6] [static]

Initial value:

{ 44100, 48000, 32000, 22050, 24000, 16000 }

const int pi_stereo_values[] = { 0, 1, 2 } [static]

const char* const ppsz_enc_options[] [static]

Initial value:

 {
    "quality", "mode", "vbr", "psy", NULL
}

const char* const ppsz_stereo_descriptions[] [static]

Initial value:

{ N_("Stereo"), N_("Dual mono"), N_("Joint stereo") }


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