
Data Structures | |
| struct | atomic_operation_t |
| struct | filter_sys_t |
| filter_sys_t: chroma method descriptor More... | |
Defines | |
| #define | MONO_DOWNMIX_TEXT N_("Use downmix algorithm") |
| #define | MONO_DOWNMIX_LONGTEXT |
| #define | MONO_CHANNEL_TEXT N_("Select channel to keep") |
| #define | MONO_CHANNEL_LONGTEXT |
| #define | MONO_CFG "sout-mono-" |
Functions | |
| static int | OpenFilter (vlc_object_t *) |
| static void | CloseFilter (vlc_object_t *) |
| static block_t * | Convert (filter_t *p_filter, block_t *p_block) |
| static unsigned int | stereo_to_mono (aout_filter_t *, aout_buffer_t *, aout_buffer_t *) |
| static unsigned int | mono (aout_filter_t *, aout_buffer_t *, aout_buffer_t *) |
| static void | stereo2mono_downmix (aout_filter_t *, aout_buffer_t *, aout_buffer_t *) |
| int | vlc_entry__main (module_t *p_module) |
| const char * | vlc_entry_license__main (void) |
| static void | ComputeChannelOperations (struct filter_sys_t *p_data, unsigned int i_rate, unsigned int i_next_atomic_operation, int i_source_channel_offset, double d_x, double d_z, double d_compensation_length, double d_channel_amplitude_factor) |
| static int | Init (vlc_object_t *p_this, struct filter_sys_t *p_data, unsigned int i_nb_channels, uint32_t i_physical_channels, unsigned int i_rate) |
Variables | |
| static const int | pi_pos_values [] = { 0, 1, 2, 4, 8, 5 } |
| static const char *const | ppsz_pos_descriptions [] |
| static const uint32_t | pi_channels_out [] |
| #define MONO_CFG "sout-mono-" |
Referenced by CloseFilter(), and OpenFilter().
| #define MONO_CHANNEL_LONGTEXT |
Value:
N_("This option silences all other channels " \ "except the selected channel. Choose one from (0=left, 1=right, " \ "2=rear left, 3=rear right, 4=center, 5=left front)")
| #define MONO_CHANNEL_TEXT N_("Select channel to keep") |
| #define MONO_DOWNMIX_LONGTEXT |
Value:
N_("This option selects a stereo to mono " \ "downmix algorithm that is used in the headphone channel mixer. It " \ "gives the effect of standing in a room full of speakers." )
| #define MONO_DOWNMIX_TEXT N_("Use downmix algorithm") |
| static void CloseFilter | ( | vlc_object_t * | p_this | ) | [static] |
References MONO_CFG, filter_sys_t::p_atomic_operations, filter_sys_t::p_overflow_buffer, filter_t::p_sys, p_sys, and var_Destroy.
| static void ComputeChannelOperations | ( | struct filter_sys_t * | p_data, | |
| unsigned int | i_rate, | |||
| unsigned int | i_next_atomic_operation, | |||
| int | i_source_channel_offset, | |||
| double | d_x, | |||
| double | d_z, | |||
| double | d_compensation_length, | |||
| double | d_channel_amplitude_factor | |||
| ) | [static] |
References aout_FormatNbChannels(), es_format_t::audio, filter_sys_t::b_downmix, block_Release(), filter_t::fmt_in, aout_filter_t::fmt_in, aout_filter_t::fmt_out, filter_t::fmt_out, filter_sys_t::i_bitspersample, block_t::i_buffer, es_format_t::i_codec, block_t::i_dts, audio_format_t::i_format, block_t::i_length, filter_sys_t::i_nb_channels, block_t::i_nb_samples, block_t::i_pts, mono(), msg_Err, msg_Warn, block_t::p_buffer, aout_filter_t::p_sys, filter_t::p_sys, stereo2mono_downmix(), and stereo_to_mono().
| static int Init | ( | vlc_object_t * | p_this, | |
| struct filter_sys_t * | p_data, | |||
| unsigned int | i_nb_channels, | |||
| uint32_t | i_physical_channels, | |||
| unsigned int | i_rate | |||
| ) | [static] |
References AOUT_CHAN_CENTER, AOUT_CHAN_LEFT, AOUT_CHAN_LFE, AOUT_CHAN_MIDDLELEFT, AOUT_CHAN_MIDDLERIGHT, AOUT_CHAN_REARCENTER, AOUT_CHAN_REARLEFT, AOUT_CHAN_REARRIGHT, AOUT_CHAN_RIGHT, ComputeChannelOperations(), i, atomic_operation_t::i_delay, filter_sys_t::i_nb_atomic_operations, filter_sys_t::i_overflow_buffer_size, atomic_operation_t::i_source_channel_offset, filter_sys_t::p_atomic_operations, filter_sys_t::p_overflow_buffer, and var_InheritInteger.
| static unsigned int mono | ( | aout_filter_t * | p_filter, | |
| aout_buffer_t * | p_output, | |||
| aout_buffer_t * | p_input | |||
| ) | [static] |
References filter_sys_t::i_nb_channels, block_t::i_nb_samples, block_t::p_buffer, aout_filter_t::p_sys, and p_sys.
Referenced by Convert().
| static int OpenFilter | ( | vlc_object_t * | p_this | ) | [static] |
References AOUT_CHAN_CENTER, AOUT_CHAN_LEFT, AOUT_CHAN_RIGHT, aout_FormatNbChannels(), es_format_t::audio, filter_sys_t::b_downmix, Convert(), filter_t::fmt_in, filter_t::fmt_out, filter_sys_t::i_bitspersample, audio_format_t::i_bitspersample, filter_sys_t::i_channel_selected, audio_format_t::i_channels, es_format_t::i_codec, audio_format_t::i_format, filter_sys_t::i_nb_atomic_operations, filter_sys_t::i_nb_channels, filter_sys_t::i_overflow_buffer_size, audio_format_t::i_physical_channels, audio_format_t::i_rate, Init(), MONO_CFG, msg_Dbg, filter_sys_t::p_atomic_operations, filter_sys_t::p_overflow_buffer, filter_t::p_sys, p_sys, var_CreateGetBool, var_CreateGetInteger, var_Destroy, VLC_CODEC_S16N, VLC_EGENERIC, VLC_OBJECT, and VLC_SUCCESS.
| static void stereo2mono_downmix | ( | aout_filter_t * | p_filter, | |
| aout_buffer_t * | p_in_buf, | |||
| aout_buffer_t * | p_out_buf | |||
| ) | [static] |
References aout_FormatNbChannels(), es_format_t::audio, atomic_operation_t::d_amplitude_factor, aout_filter_t::fmt_in, aout_filter_t::fmt_out, i, block_t::i_buffer, atomic_operation_t::i_delay, atomic_operation_t::i_dest_channel_offset, filter_sys_t::i_nb_atomic_operations, block_t::i_nb_samples, filter_sys_t::i_overflow_buffer_size, atomic_operation_t::i_source_channel_offset, filter_sys_t::p_atomic_operations, block_t::p_buffer, filter_sys_t::p_overflow_buffer, aout_filter_t::p_sys, and p_sys.
Referenced by Convert().
| static unsigned int stereo_to_mono | ( | aout_filter_t * | p_filter, | |
| aout_buffer_t * | p_output, | |||
| aout_buffer_t * | p_input | |||
| ) | [static] |
References filter_sys_t::i_channel_selected, filter_sys_t::i_nb_channels, block_t::i_nb_samples, block_t::p_buffer, aout_filter_t::p_sys, and p_sys.
Referenced by Convert().
| int vlc_entry__main | ( | module_t * | p_module | ) |
| const char* vlc_entry_license__main | ( | void | ) |
const uint32_t pi_channels_out[] [static] |
Initial value:
{ 0x2 , 0x4 , 0x20 , 0x40 ,
0x1 , 0x1000 , 0 }
Referenced by CreateDSBuffer(), and OpenWaveOut().
const int pi_pos_values[] = { 0, 1, 2, 4, 8, 5 } [static] |
const char* const ppsz_pos_descriptions[] [static] |
1.5.6