Changeset 60 for mppenc/branches/r2d/libmpcpsy/fft_routines.c
- Timestamp:
- 09/28/06 18:15:21 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
mppenc/branches/r2d/libmpcpsy/fft_routines.c
r59 r60 18 18 */ 19 19 20 #include "mppenc.h" 20 #include "libmpcpsy.h" 21 22 #include <math.h> 23 #include <string.h> 21 24 22 25 #define CX0 -1. … … 196 199 int i; 197 200 198 ENTER(40);199 201 // windowing 200 202 i = 256; … … 212 214 aix += 2; 213 215 } 214 LEAVE(40);215 216 } 216 217 … … 224 225 int i; 225 226 226 ENTER(41);227 227 i = 1024; // windowing 228 228 while (i--) … … 246 246 aix += 2; 247 247 } 248 LEAVE(41);249 248 } 250 249 … … 258 257 int i; 259 258 260 ENTER(42);261 259 // windowing (only 1600 samples available -> centered in 2048!) 262 260 memset ( a , 0, 224*sizeof(*a) ); … … 275 273 aix += 2; 276 274 } 277 LEAVE(42);278 275 } 279 276 … … 289 286 int i; 290 287 291 ENTER(43);292 288 i = 1024; // windowing 293 289 while (i--) … … 304 300 aix += 2; 305 301 } 306 LEAVE(43);307 302 } 308 303 … … 316 311 int i; 317 312 318 ENTER(44);319 313 // generate real, even spectrum (symmetric around 1024, cep[2048-i] = cep[i]) 320 314 for ( i = 0; i < 1024; i++ ) … … 334 328 bix += 2; 335 329 } 336 LEAVE(44); 337 } 330 }
Note: See TracChangeset
for help on using the changeset viewer.