encoder.c File Reference

Include dependency graph for encoder.c:


Data Structures

struct  thread_context_t
struct  encoder_sys_t

Defines

#define HAVE_MMX   1
#define HURRY_UP_GUARD1   (450000)
#define HURRY_UP_GUARD2   (300000)
#define HURRY_UP_GUARD3   (100000)
#define MAX_FRAME_DELAY   (FF_MAX_B_FRAMES + 2)
#define RAW_AUDIO_FRAME_SIZE   (2048)

Functions

int OpenEncoder (vlc_object_t *)
void CloseEncoder (vlc_object_t *)
static block_tEncodeVideo (encoder_t *, picture_t *)
static block_tEncodeAudio (encoder_t *, aout_buffer_t *)

Variables

static const char *const ppsz_enc_options []
static const uint16_t mpa_bitrate_tab [2][15]
static const uint16_t mpa_freq_tab [6]
static const uint16_t mpeg4_default_intra_matrix [64]
static const uint16_t mpeg4_default_non_intra_matrix [64]

Define Documentation

#define HAVE_MMX   1

#define HURRY_UP_GUARD1   (450000)

#define HURRY_UP_GUARD2   (300000)

#define HURRY_UP_GUARD3   (100000)

#define MAX_FRAME_DELAY   (FF_MAX_B_FRAMES + 2)

#define RAW_AUDIO_FRAME_SIZE   (2048)


Function Documentation

void CloseEncoder ( vlc_object_t p_this  ) 

static block_t * EncodeAudio ( encoder_t p_enc,
aout_buffer_t p_aout_buf 
) [static]

static block_t * EncodeVideo ( encoder_t p_enc,
picture_t p_pict 
) [static]

Referenced by OpenEncoder().

int OpenEncoder ( vlc_object_t p_this  ) 


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 uint16_t mpeg4_default_intra_matrix[64] [static]

Initial value:

 {
  8, 17, 18, 19, 21, 23, 25, 27,
 17, 18, 19, 21, 23, 25, 27, 28,
 20, 21, 22, 23, 24, 26, 28, 30,
 21, 22, 23, 24, 26, 28, 30, 32,
 22, 23, 24, 26, 28, 30, 32, 35,
 23, 24, 26, 28, 30, 32, 35, 38,
 25, 26, 28, 30, 32, 35, 38, 41,
 27, 28, 30, 32, 35, 38, 41, 45,
}

const uint16_t mpeg4_default_non_intra_matrix[64] [static]

Initial value:

 {
 16, 17, 18, 19, 20, 21, 22, 23,
 17, 18, 19, 20, 21, 22, 23, 24,
 18, 19, 20, 21, 22, 23, 24, 25,
 19, 20, 21, 22, 23, 24, 26, 27,
 20, 21, 22, 23, 25, 26, 27, 28,
 21, 22, 23, 24, 26, 27, 28, 30,
 22, 23, 24, 26, 27, 28, 30, 31,
 23, 24, 25, 27, 28, 30, 31, 33,
}

const char* const ppsz_enc_options[] [static]

Initial value:

 {
    "keyint", "bframes", "vt", "qmin", "qmax", "hq",
    "rc-buffer-size", "rc-buffer-aggressivity", "pre-me", "hurry-up",
    "interlace", "interlace-me", "i-quant-factor", "noise-reduction", "mpeg4-matrix",
    "trellis", "qscale", "strict", "lumi-masking", "dark-masking",
    "p-masking", "border-masking", "luma-elim-threshold",
    "chroma-elim-threshold",
     "aac-profile",
     NULL
}


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