search for: recoplay_mark

Displaying 2 results from an estimated 2 matches for "recoplay_mark".

2005 Sep 26
1
Precomputing the remaining floating point operations.
...tly the same environment in both cases (e.g. FIXED_POINT and with the same mode or sequence of modes). All that's needed is to include the code segment below in one of the .h files and wrap all those float calculations in RECOPLAY, e.g. int sqrt2 = RECOPLAY(sqrt(2)*16384) I've also made RECOPLAY_MARK(name) to synchronize the process. #ifdef RECORD #include <stdio.h> extern FILE *recordFile; #define _RECOPLAY_FOPEN \ if (!recordFile && (recordFile = fopen ("precompute.c", "w")) != NULL) { \ fprintf (recordFile, "#include \"config.h\"...
2005 Sep 27
1
Precomputing the remaining floating pointoperations.
Firstly, running for more channels will not break my hack. All that's needed is to call RECOPLAY_MARK with different identifiers (say nb, wb or uwb) before doing the appropriate initialization. Secondly, my attempts to do the Gaussian in fixed point went like this : Define a new constant lag_factor_gauss that is manually set equal to exp(sqr(2*M_PI*lag_factor)/-2) by whoever changes the lag_fa...