Changeset 71 for mppenc/branches/r2d/libmpcpsy/ans.c
- Timestamp:
- 10/07/06 02:49:28 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
mppenc/branches/r2d/libmpcpsy/ans.c
r60 r71 38 38 static float Sin_Tab [16] [MAX_NS_ORDER + 1]; 39 39 40 float ANSspec_L [MAX_ANS_LINES]; 41 float ANSspec_R [MAX_ANS_LINES]; // L/R-masking thresholds for ANS 42 float ANSspec_M [MAX_ANS_LINES]; 43 float ANSspec_S [MAX_ANS_LINES]; // M/S-masking thresholds for ANS 40 44 41 45 void … … 284 288 memset ( m->FIR_L, 0, sizeof m->FIR_L ); // reset FIR 285 289 memset ( m->NS_Order_L, 0, sizeof m->NS_Order_L ); // reset Flags 286 FindOptimalANS ( MaxBand, MSflag, m->ANSspec_L, m->ANSspec_M, m->NS_Order_L, m->SNR_comp_L, m->FIR_L, smr.L, smr.M, m->SCF_Index_L, Transient );290 FindOptimalANS ( MaxBand, MSflag, ANSspec_L, ANSspec_M, m->NS_Order_L, m->SNR_comp_L, m->FIR_L, smr.L, smr.M, m->SCF_Index_L, Transient ); 287 291 288 292 // for R or S, respectively 289 293 memset ( m->FIR_R, 0, sizeof m->FIR_R ); // reset FIR 290 294 memset ( m->NS_Order_R, 0, sizeof m->NS_Order_R ); // reset Flags 291 FindOptimalANS ( MaxBand, MSflag, m->ANSspec_R, m->ANSspec_S, m->NS_Order_R, m->SNR_comp_R, m->FIR_R, smr.R, smr.S, m->SCF_Index_R, Transient );295 FindOptimalANS ( MaxBand, MSflag, ANSspec_R, ANSspec_S, m->NS_Order_R, m->SNR_comp_R, m->FIR_R, smr.R, smr.S, m->SCF_Index_R, Transient ); 292 296 293 297 return;
Note: See TracChangeset
for help on using the changeset viewer.