Lines Matching refs:npts

26   int npts;  in Daubechies_forward_pass_1d()  local
31 npts = powerof2 (n); in Daubechies_forward_pass_1d()
32 a = (float *) malloc (sizeof(float) * npts/2); in Daubechies_forward_pass_1d()
33 c = (float *) malloc (sizeof(float) * npts/2); in Daubechies_forward_pass_1d()
35 for (i = 0; i < npts/2; i++) in Daubechies_forward_pass_1d()
37 a[i] = (h[0]*s[(2*i)%npts] + h[1]*s[(2*i+1)%npts] + h[2]*s[(2*i+2)%npts] in Daubechies_forward_pass_1d()
38 + h[3]*s[(2*i+3)%npts]) / 2.0; in Daubechies_forward_pass_1d()
39 c[i] = (h[3]*s[(2*i)%npts] - h[2]*s[(2*i+1)%npts] + h[1]*s[(2*i+2)%npts] in Daubechies_forward_pass_1d()
40 - h[0]*s[(2*i+3)%npts]) / 2.0; in Daubechies_forward_pass_1d()
43 for (i = 0; i < npts/2; i++) in Daubechies_forward_pass_1d()
46 s[i + npts/2] = c[i]; in Daubechies_forward_pass_1d()
62 int npts; in Daubechies_forward_FWT_1d() local
64 npts = powerof2 (n); in Daubechies_forward_FWT_1d()
84 int npts, nptsd2; in Daubechies_inverse_pass_1d() local
91 npts = powerof2 (n); in Daubechies_inverse_pass_1d()
92 nptsd2 = npts/2; in Daubechies_inverse_pass_1d()
95 r = (float *) malloc (sizeof(float) * npts); in Daubechies_inverse_pass_1d()
108 for (i = 0; i < npts; i++) in Daubechies_inverse_pass_1d()
126 int npts; in Daubechies_inverse_FWT_1d() local
128 npts = powerof2 (n); in Daubechies_inverse_FWT_1d()
148 int npts; in Daubechies_forward_pass_2d() local
152 npts = powerof2 (n); in Daubechies_forward_pass_2d()
154 for (i = 0; i < npts; i++) in Daubechies_forward_pass_2d()
159 c = (float *) malloc (sizeof(float) * npts); in Daubechies_forward_pass_2d()
161 for (j = 0; j < npts; j++) in Daubechies_forward_pass_2d()
163 for (i = 0; i < npts; i++) in Daubechies_forward_pass_2d()
166 for (i = 0; i < npts; i++) in Daubechies_forward_pass_2d()
182 int npts; in Daubechies_forward_FWT_2d() local
184 npts = powerof2 (n); in Daubechies_forward_FWT_2d()
201 int npts; in Daubechies_inverse_pass_2d() local
205 npts = powerof2 (n); in Daubechies_inverse_pass_2d()
207 for (i = 0; i < npts; i++) in Daubechies_inverse_pass_2d()
212 c = (float *) malloc (sizeof(float) * npts); in Daubechies_inverse_pass_2d()
214 for (j = 0; j < npts; j++) in Daubechies_inverse_pass_2d()
216 for (i = 0; i < npts; i++) in Daubechies_inverse_pass_2d()
219 for (i = 0; i < npts; i++) in Daubechies_inverse_pass_2d()
235 int npts; in Daubechies_inverse_FWT_2d() local
237 npts = powerof2 (n); in Daubechies_inverse_FWT_2d()