summaryrefslogtreecommitdiff
path: root/lib/psy.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/psy.h')
-rw-r--r--lib/psy.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/lib/psy.h b/lib/psy.h
index ed361a11..f675b119 100644
--- a/lib/psy.h
+++ b/lib/psy.h
@@ -109,6 +109,8 @@ typedef struct {
int eighth_octave_lines; /* power of two, please */
int total_octave_lines;
long rate; /* cache it */
+
+ float m_val; /* Masking compensation value */
} vorbis_look_psy;
extern void _vp_psy_init(vorbis_look_psy *p,vorbis_info_psy *vi,
@@ -139,7 +141,9 @@ extern void _vp_offset_and_mix(vorbis_look_psy *p,
float *noise,
float *tone,
int offset_select,
- float *logmask);
+ float *logmask,
+ float *mdct,
+ float *logmdct);
extern float _vp_ampmax_decay(float amp,vorbis_dsp_state *vd);
@@ -171,5 +175,10 @@ extern int **_vp_quantize_couple_sort(vorbis_block *vb,
vorbis_info_mapping0 *vi,
float **mags);
+extern void hf_reduction(vorbis_info_psy_global *g,
+ vorbis_look_psy *p,
+ vorbis_info_mapping0 *vi,
+ float **mdct);
+
#endif