diff options
author | Monty <xiphmont@xiph.org> | 2000-01-22 13:28:37 +0000 |
---|---|---|
committer | Monty <xiphmont@xiph.org> | 2000-01-22 13:28:37 +0000 |
commit | cab466d0585827812b4e562eb41a752dd56f1e53 (patch) | |
tree | 6b89be13bf6d9c298b1e59bef43d11f8b6ffd423 /lib/psy.h | |
parent | 0f361eca4e8a093e0781034e331e4d1446645130 (diff) | |
download | libvorbis-git-cab466d0585827812b4e562eb41a752dd56f1e53.tar.gz |
It's all coming back together slowly. Incremental update.
Monty
svn path=/trunk/vorbis/; revision=240
Diffstat (limited to 'lib/psy.h')
-rw-r--r-- | lib/psy.h | 13 |
1 files changed, 3 insertions, 10 deletions
@@ -12,19 +12,13 @@ ******************************************************************** function: random psychoacoustics (not including preecho) - last mod: $Id: psy.h,v 1.5 2000/01/20 04:43:03 xiphmont Exp $ + last mod: $Id: psy.h,v 1.6 2000/01/22 13:28:28 xiphmont Exp $ ********************************************************************/ #ifndef _V_PSY_H_ #define _V_PSY_H_ -typedef struct vorbis_info_psy{ - double maskthresh[MAX_BARK]; - double lrolldB; - double hrolldB; -} vorbis_info_psy; - typedef struct { int n; struct vorbis_info_psy *vi; @@ -34,14 +28,13 @@ typedef struct { } psy_lookup; - extern void _vp_psy_init(psy_lookup *p,vorbis_info_psy *vi,int n,long rate); extern void _vp_psy_clear(psy_lookup *p); extern void *_vi_psy_dup(void *source); extern void _vi_psy_free(void *i); -extern void _vp_noise_floor(psy_lookup *p, double *f, double *m); -extern void _vp_mask_floor(psy_lookup *p,double *f, double *m); +extern void _vp_mask_floor(psy_lookup *p,double *pcm, + double *mask,double *floor); #endif |