
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_t * | EncodeVideo (encoder_t *, picture_t *) |
| static block_t * | EncodeAudio (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 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) |
| void CloseEncoder | ( | vlc_object_t * | p_this | ) |
| static block_t * EncodeAudio | ( | encoder_t * | p_enc, | |
| aout_buffer_t * | p_aout_buf | |||
| ) | [static] |
References block_ChainAppend(), block_New, encoder_sys_t::i_buffer_out, block_t::i_dts, encoder_sys_t::i_frame_size, block_t::i_length, encoder_sys_t::i_pts, block_t::i_pts, encoder_sys_t::i_sample_bytes, encoder_sys_t::i_samples_delay, msg_Warn, block_t::p_buffer, encoder_sys_t::p_buffer, encoder_sys_t::p_buffer_out, and encoder_sys_t::p_context.
Referenced by OpenEncoder().
Referenced by OpenEncoder().
| int OpenEncoder | ( | vlc_object_t * | p_this | ) |
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
}
1.5.6