Mercurial > hg > wm
comparison Fotopoulos/common.c @ 13:cbecc570129d
cleanup warnings
| author | Peter Meerwald <pmeerw@cosy.sbg.ac.at> |
|---|---|
| date | Mon, 30 Jun 2008 15:43:16 +0200 |
| parents | be303a3f5ea8 |
| children |
comparison
equal
deleted
inserted
replaced
| 12:6f5fea21a43c | 13:cbecc570129d |
|---|---|
| 148 } | 148 } |
| 149 } | 149 } |
| 150 | 150 |
| 151 void inv_sums(double *f) | 151 void inv_sums(double *f) |
| 152 { | 152 { |
| 153 int ii, stepsize, stage, curptr, nthreads, thread, step, nsteps; | 153 int stepsize, stage, curptr, nthreads, thread, step, nsteps; |
| 154 | 154 |
| 155 for (stage = 1; stage <= m - 1; stage++) { | 155 for (stage = 1; stage <= m - 1; stage++) { |
| 156 nthreads = 1 << (stage - 1); | 156 nthreads = 1 << (stage - 1); |
| 157 stepsize = nthreads << 1; | 157 stepsize = nthreads << 1; |
| 158 nsteps = (1 << (m - stage)) - 1; | 158 nsteps = (1 << (m - stage)) - 1; |
| 180 | 180 |
| 181 /* fast DCT based on IEEE signal proc, 1992 #8, yugoslavian authors. */ | 181 /* fast DCT based on IEEE signal proc, 1992 #8, yugoslavian authors. */ |
| 182 | 182 |
| 183 void fwd_sums(double *f) | 183 void fwd_sums(double *f) |
| 184 { | 184 { |
| 185 int ii, stepsize, stage, curptr, nthreads, thread, step, nsteps; | 185 int stepsize, stage, curptr, nthreads, thread, step, nsteps; |
| 186 | 186 |
| 187 for (stage = m - 1; stage >= 1; stage--) { | 187 for (stage = m - 1; stage >= 1; stage--) { |
| 188 nthreads = 1 << (stage - 1); | 188 nthreads = 1 << (stage - 1); |
| 189 stepsize = nthreads << 1; | 189 stepsize = nthreads << 1; |
| 190 nsteps = (1 << (m - stage)) - 1; | 190 nsteps = (1 << (m - stage)) - 1; |
