psymodel.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define rpelev   2
#define rpelev2   16
#define rpelev_s   2
#define rpelev2_s   16
#define DELBARK   .34
#define CW_LOWER_INDEX   6
#define TMN   18
#define NMT   6
#define CONV1   (-.299)
#define CONV2   (-.43)
#define VO_SCALE   (1./( 14752*14752 )/(BLKSIZE/2))
#define temporalmask_sustain_sec   0.01
#define NS_PREECHO_ATT0   0.8
#define NS_PREECHO_ATT1   0.6
#define NS_PREECHO_ATT2   0.3
#define NS_MSFIX   3.5
#define NSATTACKTHRE   4.4
#define NSATTACKTHRE_S   25

Functions

int L3psycho_anal (lame_global_flags const *gfc, const sample_t *buffer[2], int gr, FLOAT *ms_ratio, FLOAT *ms_ratio_next, III_psy_ratio ratio[2][2], III_psy_ratio MS_ratio[2][2], FLOAT pe[2], FLOAT pe_MS[2], FLOAT ener[2], int blocktype_d[2])
int L3psycho_anal_ns (lame_global_flags const *gfc, const sample_t *buffer[2], int gr, III_psy_ratio ratio[2][2], III_psy_ratio MS_ratio[2][2], FLOAT pe[2], FLOAT pe_MS[2], FLOAT ener[2], int blocktype_d[2])
int psymodel_init (lame_global_flags *gfp)


Define Documentation

#define CONV1   (-.299)

Definition at line 65 of file psymodel.h.

Referenced by L3psycho_anal().

#define CONV2   (-.43)

Definition at line 66 of file psymodel.h.

Referenced by L3psycho_anal().

#define CW_LOWER_INDEX   6

Definition at line 51 of file psymodel.h.

Referenced by L3psycho_anal(), and psymodel_init().

#define DELBARK   .34

Definition at line 50 of file psymodel.h.

Referenced by init_numline().

#define NMT   6

Definition at line 57 of file psymodel.h.

Referenced by L3psycho_anal().

#define NS_MSFIX   3.5

Definition at line 77 of file psymodel.h.

#define NS_PREECHO_ATT0   0.8

Definition at line 73 of file psymodel.h.

Referenced by L3psycho_anal_ns().

#define NS_PREECHO_ATT1   0.6

Definition at line 74 of file psymodel.h.

Referenced by L3psycho_anal_ns().

#define NS_PREECHO_ATT2   0.3

Definition at line 75 of file psymodel.h.

Referenced by L3psycho_anal_ns().

#define NSATTACKTHRE   4.4

Definition at line 78 of file psymodel.h.

Referenced by lame_init_params().

#define NSATTACKTHRE_S   25

Definition at line 79 of file psymodel.h.

Referenced by lame_init_params().

#define rpelev   2

Definition at line 44 of file psymodel.h.

Referenced by L3psycho_anal(), and L3psycho_anal_ns().

#define rpelev2   16

Definition at line 45 of file psymodel.h.

Referenced by L3psycho_anal(), and L3psycho_anal_ns().

#define rpelev2_s   16

Definition at line 47 of file psymodel.h.

Referenced by compute_masking_s().

#define rpelev_s   2

Definition at line 46 of file psymodel.h.

Referenced by compute_masking_s().

#define temporalmask_sustain_sec   0.01

Definition at line 71 of file psymodel.h.

#define TMN   18

Definition at line 56 of file psymodel.h.

Referenced by L3psycho_anal().

#define VO_SCALE   (1./( 14752*14752 )/(BLKSIZE/2))

Definition at line 69 of file psymodel.h.

Referenced by psycho_loudness_approx().


Function Documentation

int L3psycho_anal ( lame_global_flags const *  gfc,
const sample_t buffer[2],
int  gr,
FLOAT ms_ratio,
FLOAT ms_ratio_next,
III_psy_ratio  ratio[2][2],
III_psy_ratio  MS_ratio[2][2],
FLOAT  pe[2],
FLOAT  pe_MS[2],
FLOAT  ener[2],
int  blocktype_d[2] 
)

int L3psycho_anal_ns ( lame_global_flags const *  gfc,
const sample_t buffer[2],
int  gr,
III_psy_ratio  ratio[2][2],
III_psy_ratio  MS_ratio[2][2],
FLOAT  pe[2],
FLOAT  pe_MS[2],
FLOAT  ener[2],
int  blocktype_d[2] 
)

int psymodel_init ( lame_global_flags gfp  ) 

Definition at line 2075 of file psymodel.c.

References BLKSIZE, lame_internal_flags::blocktype_old, lame_internal_flags::bm_l, lame_internal_flags::bo_l, PSY_t::bo_l_weight, CBANDS, lame_internal_flags::cw, CW_LOWER_INDEX, lame_internal_flags::cw_upper_index, PSY_t::cwlimit, lame_internal_flags::en, gfc, gfp, i, init_numline(), lame_global_struct::internal_flags, scalefac_struct::l, III_psy_xmin::l, nsPsy_t::last_attacks, nsPsy_t::last_en_subshort, lame_internal_flags::loudness_sq_save, lame_internal_flags::mld_l, lame_internal_flags::ms_ener_ratio_old, lame_internal_flags::nb_1, lame_internal_flags::nb_2, lame_internal_flags::nb_s1, lame_internal_flags::nb_s2, NORM_TYPE, lame_internal_flags::npart_l, lame_internal_flags::nsPsy, lame_internal_flags::numlines_l, lame_global_struct::out_samplerate, lame_internal_flags::PSY, lame_internal_flags::rnumlines_l, III_psy_xmin::s, lame_internal_flags::scalefac_band, and lame_internal_flags::thm.

Referenced by lame_init_params().

Here is the call graph for this function:


Generated on Sun Dec 2 11:36:32 2007 for LAME by  doxygen 1.5.2