
Data Structures | |
| struct | decoder_sys_t |
| struct | encoder_sys_t |
Defines | |
| #define | OV_ECTL_RATEMANAGE_AVG 0x0 |
| #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_t * | DecodePacket (decoder_t *, ogg_packet *) |
| static block_t * | SendPacket (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_t * | Encode (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_8channels_in [] |
| static const uint32_t | pi_7channels_in [] |
| static const uint32_t | pi_6channels_in [] |
| static const uint32_t | pi_4channels_in [] |
| static const uint32_t | pi_3channels_in [] |
| static const char *const | ppsz_enc_options [] |
| #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") |
| #define OV_ECTL_RATEMANAGE_AVG 0x0 |
| static void CloseDecoder | ( | vlc_object_t * | p_this | ) | [static] |
| static void CloseEncoder | ( | vlc_object_t * | p_this | ) | [static] |
| static void ConfigureChannelOrder | ( | int * | pi_chan_table, | |
| int | i_channels, | |||
| uint32_t | i_channel_mask, | |||
| bool | b_decode | |||
| ) | [static] |
References AOUT_CHAN_PHYSMASK, aout_CheckChannelReorder(), i, pi_3channels_in, pi_4channels_in, pi_6channels_in, pi_7channels_in, pi_8channels_in, and pi_channels_in.
Referenced by ProcessHeaders().
| static aout_buffer_t * DecodePacket | ( | decoder_t * | p_dec, | |
| ogg_packet * | p_oggpacket | |||
| ) | [static] |
| static block_t * Encode | ( | encoder_t * | p_enc, | |
| aout_buffer_t * | p_aout_buf | |||
| ) | [static] |
References es_format_t::audio, block_ChainAppend(), block_New, encoder_t::fmt_in, encoder_sys_t::i_channels, block_t::i_dts, encoder_sys_t::i_last_block_size, block_t::i_length, block_t::i_nb_samples, block_t::i_pts, audio_format_t::i_rate, encoder_sys_t::i_samples_delay, block_t::p_buffer, encoder_t::p_sys, encoder_sys_t::pi_chan_table, encoder_sys_t::vb, encoder_sys_t::vd, and encoder_sys_t::vi.
| static void Interleave | ( | float * | p_out, | |
| const float ** | pp_in, | |||
| int | i_nb_channels, | |||
| int | i_samples, | |||
| int * | pi_chan_table | |||
| ) | [static] |
| static int OpenDecoder | ( | vlc_object_t * | p_this | ) | [static] |
References AUDIO_ES, decoder_sys_t::b_has_headers, decoder_sys_t::b_packetizer, date_Set(), DecodeBlock(), decoder_sys_t::end_date, decoder_t::fmt_in, decoder_t::fmt_out, es_format_t::i_cat, es_format_t::i_codec, decoder_sys_t::i_last_block_size, decoder_t::p_sys, p_sys, decoder_t::pf_decode_audio, decoder_t::pf_packetize, decoder_sys_t::vc, decoder_sys_t::vi, VLC_CODEC_FI32, VLC_CODEC_FL32, VLC_CODEC_VORBIS, VLC_EGENERIC, VLC_ENOMEM, and VLC_SUCCESS.
| static int OpenEncoder | ( | vlc_object_t * | p_this | ) | [static] |
| static int OpenPacketizer | ( | vlc_object_t * | p_this | ) | [static] |
| static void ParseVorbisComments | ( | decoder_t * | p_dec | ) | [static] |
References atof(), es_format_t::audio_replay_gain, AUDIO_REPLAY_GAIN_ALBUM, AUDIO_REPLAY_GAIN_TRACK, decoder_t::fmt_out, i, decoder_t::p_description, decoder_t::p_sys, p_sys, audio_replay_gain_t::pb_gain, audio_replay_gain_t::pb_peak, audio_replay_gain_t::pf_gain, audio_replay_gain_t::pf_peak, psz_name, psz_value, strcasecmp(), strdup(), decoder_sys_t::vc, vlc_meta_AddExtra(), and vlc_meta_New().
Referenced by ProcessHeaders().
| static int ProcessHeaders | ( | decoder_t * | p_dec | ) | [static] |
References es_format_t::audio, decoder_sys_t::b_packetizer, ConfigureChannelOrder(), date_Init(), decoder_sys_t::end_date, decoder_t::fmt_in, decoder_t::fmt_out, i, es_format_t::i_bitrate, audio_format_t::i_channels, es_format_t::i_extra, audio_format_t::i_original_channels, audio_format_t::i_physical_channels, audio_format_t::i_rate, msg_Dbg, msg_Err, es_format_t::p_extra, decoder_t::p_sys, p_sys, ParseVorbisComments(), decoder_sys_t::pi_chan_table, pi_channels_maps, decoder_sys_t::vb, decoder_sys_t::vc, decoder_sys_t::vd, decoder_sys_t::vi, VLC_EGENERIC, VLC_SUCCESS, XIPH_MAX_HEADER_COUNT, xiph_SplitHeaders(), and xrealloc().
| int vlc_entry__main | ( | module_t * | p_module | ) |
| const char* vlc_entry_license__main | ( | void | ) |
const uint32_t pi_3channels_in[] [static] |
const uint32_t pi_4channels_in[] [static] |
const uint32_t pi_6channels_in[] [static] |
const uint32_t pi_7channels_in[] [static] |
Initial value:
{ 0x2 , 0x1 , 0x4 ,
0x100 , 0x200 ,
0x10 , 0x1000 ,0 }
Referenced by ConfigureChannelOrder().
const uint32_t pi_8channels_in[] [static] |
Initial value:
{ 0x2 , 0x1 , 0x4 ,
0x100 , 0x200 ,
0x20 , 0x40 , 0x1000 ,0 }
Referenced by ConfigureChannelOrder().
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
| 0x10 | 0x100
| 0x200 | 0x1000 ,
0x2 | 0x4 | 0x1 | 0x20
| 0x40 | 0x100 | 0x200
| 0x1000 ,
}
const char* const ppsz_enc_options[] [static] |
Initial value:
{
"quality", "max-bitrate", "min-bitrate", "cbr", NULL
}
1.5.6