mono.c File Reference

Include dependency graph for mono.c:


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_tConvert (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 Documentation

#define MONO_CFG   "sout-mono-"

#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")


Function Documentation

static void CloseFilter ( vlc_object_t  )  [static]

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]

static block_t * Convert ( filter_t p_filter,
block_t p_block 
) [static]

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]

static unsigned int mono ( aout_filter_t ,
aout_buffer_t ,
aout_buffer_t  
) [static]

static int OpenFilter ( vlc_object_t  )  [static]

static void stereo2mono_downmix ( aout_filter_t ,
aout_buffer_t ,
aout_buffer_t  
) [static]

static unsigned int stereo_to_mono ( aout_filter_t ,
aout_buffer_t ,
aout_buffer_t  
) [static]

int vlc_entry__main ( module_t p_module  ) 

const char* vlc_entry_license__main ( void   ) 


Variable Documentation

const uint32_t pi_channels_out[] [static]

Initial value:

{  0x2 ,  0x4 ,  0x20 ,  0x40 ,
   0x1 ,  0x1000 , 0 }

const int pi_pos_values[] = { 0, 1, 2, 4, 8, 5 } [static]

const char* const ppsz_pos_descriptions[] [static]

Initial value:

{ N_("Left"), N_("Right"), N_("Left rear"), N_("Right rear"), N_("Center"),
  N_("Left front") }


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