1 /********************************************************************
3 * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE. *
4 * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY *
5 * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. *
6 * PLEASE READ THESE TERMS DISTRIBUTING. *
8 * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-2000 *
9 * by Monty <monty@xiph.org> and The XIPHOPHORUS Company *
10 * http://www.xiph.org/ *
12 ********************************************************************
14 function: random psychoacoustics (not including preecho)
15 last mod: $Id: psy.h,v 1.12 2000/05/08 20:49:49 xiphmont Exp $
17 ********************************************************************/
29 struct vorbis_info_psy *vi;
32 double ***noisecurves;
39 extern void _vp_psy_init(vorbis_look_psy *p,vorbis_info_psy *vi,int n,long rate);
40 extern void _vp_psy_clear(vorbis_look_psy *p);
41 extern void *_vi_psy_dup(void *source);
42 extern void _vi_psy_free(vorbis_info_psy *i);
43 extern void _vp_compute_mask(vorbis_look_psy *p,double *f,
47 extern void _vp_apply_floor(vorbis_look_psy *p,double *f,
48 double *flr,double *mask);