Searched refs:cos (Results 1 - 25 of 34) sorted by relevance

12

/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/minidlna/flac-1.2.1/src/libFLAC/
H A Dwindow.c74 window[n] = (FLAC__real)(0.62f - 0.48f * fabs((float)n/(float)N+0.5f) + 0.38f * cos(2.0f * M_PI * ((float)n/(float)N+0.5f)));
83 window[n] = (FLAC__real)(0.42f - 0.5f * cos(2.0f * M_PI * n / N) + 0.08f * cos(4.0f * M_PI * n / N));
93 window[n] = (FLAC__real)(0.35875f - 0.48829f * cos(2.0f * M_PI * n / N) + 0.14128f * cos(4.0f * M_PI * n / N) - 0.01168f * cos(6.0f * M_PI * n / N));
115 window[n] = (FLAC__real)(1.0f - 1.93f * cos(2.0f * M_PI * n / N) + 1.29f * cos(4.0f * M_PI * n / N) - 0.388f * cos(6.0f * M_PI * n / N) + 0.0322f * cos(8.
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/minidlna/libvorbis-1.2.3/test/
H A Dutil.c41 data [k] *= maximum * (0.5 - 0.5 * cos (2.0 * M_PI * k / ((len) - 1))) ;
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/minidlna/flac-1.2.1/src/share/replaygain_synthesis/include/private/
H A Dfast_float_math_hack.h30 #define cos cosf macro
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/minidlna/ffmpeg-0.5.1/libavcodec/
H A Dqcelp_lsp.c56 f[1] = -2 * cos(M_PI * lspf[0]);
60 double val = -2 * cos(M_PI * lspf[2*i]);
H A Ddctref.c46 coefficients[i + j] = 0.5 * cos(i * (j + 0.5) * M_PI / 64.0);
H A Dresample2.c119 y *= 0.3635819 - 0.4891775 * cos(w) + 0.1365995 * cos(2*w) - 0.0106411 * cos(3*w);
150 sine[j]= cos(i*j*M_PI/LEN);
H A Dfft-test.c58 c1 = cos(alpha);
106 f = cos(M_PI * a / (double)(2 * n));
125 s += input[i] * cos(a);
H A Drdft.c67 s->tcos[i] = cos(i*theta);
H A Dac3enc.c100 costab[i] = fix15(cos(alpha));
698 xcos1[i] = fix15(-cos(alpha));
1293 sum_re += in1[n].re * cos(a) - in1[n].im * sin(a);
1294 sum_im += in1[n].re * sin(a) + in1[n].im * cos(a);
1322 s += input1[n] * cos(a);
H A Ddct-test.c405 c8[i][j] = s * cos(M_PI * i * (j + 0.5) / 8.0);
414 c4[i][j] = s * cos(M_PI * i * (j + 0.5) / 4.0);
H A Dfft.c31 /* cos(2*pi*x/n) for 0<=x<=n/4, followed by its reverse */
123 tab[i] = cos(i*freq);
136 c1 = cos(alpha);
H A Dmdct.c90 s->tcos[i] = -cos(alpha);
H A Dimc.c117 q->post_cos[i] = cos(i / 256.0 * M_PI);
121 r2 = cos((i * 4.0 + 1.0) / 1024.0 * M_PI);
H A Deval.c254 else if( strmatch(next, "cos" ) ) d->a.func0 = cos;
H A Dwmadec.c165 s->lsp_cos_table[i] = 2.0f * cos(wdel * i);
H A Dvorbis_dec.c1093 for(i=0;i<order;i++) { lsp[i]=2.0f*cos(lsp[i]); }
1103 float two_cos_w=2.0f*cos(wstep*iter_cond); // needed all times
H A Dqdm2.c1502 c.re = level * cos(tone->phase*iscale);
1557 c.re = level * cos(q->fft_coefs[i].phase * iscale);
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/minidlna/libvorbis-1.2.3/doc/
H A D06-floor0.tex157 p & = & (1 - \cos^2\omega)\prod_{j=0}^{\frac{\mathtt{floor0\_order}-3}{2}} 4 (\cos([\mathtt{coefficients}]_{2j+1}) - \cos \omega)^2 \\
158 q & = & \frac{1}{4} \prod_{j=0}^{\frac{\mathtt{floor0\_order}-1}{2}} 4 (\cos([\mathtt{coefficients}]_{2j}) - \cos \omega)^2
166 p & = & \frac{(1 - \cos^2\omega)}{2} \prod_{j=0}^{\frac{\mathtt{floor0\_order}-2}{2}} 4 (\cos([\mathtt{coefficients}]_{2j+1}) - \cos \omega)^2 \\
167 q & = & \frac{(1 + \cos^2\omega)}{2} \prod_{j=0}^{\frac{\mathtt{floor0\_order}-2}{2}} 4 (\cos([\matht
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/arch/m68k/fpsp040/
H A Dsto_res.S34 bfextu CMDREG1B(%a6){#13:#3},%d0 |extract cos destination
H A Dssin.S12 | Output: The function value sin(X) or cos(X) returned in Fp0 if SIN or
14 | in Fp0, and cos(X) is returned in Fp1.
40 | 5. (k is odd) Set j := (k-1)/2, sgn := (-1)**j. Return sgn*cos(r)
41 | where cos(r) is approximated by an even polynomial in r,
67 | SIN(X) = sgn1 * cos(r) and COS(X) = sgn2*sin(r) where
68 | sin(r) and cos(r) are computed as odd and even polynomials
72 | SIN(X) = sgn1 * sin(r) and COS(X) = sgn1*cos(r) where
73 | sin(r) and cos(r) are computed as odd and even polynomials
H A Ddo_func.S19 | sin(x) in fp0 and cos(x) in fp1.
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/minidlna/libvorbis-1.2.3/lib/
H A Dmdct.c66 T[i*2]=FLOAT_CONV(cos((M_PI/n)*(4*i)));
68 T[n2+i*2]=FLOAT_CONV(cos((M_PI/(2*n))*(2*i+1)));
72 T[n+i*2]=FLOAT_CONV(cos((M_PI/n)*(4*i+2))*.5);
H A Dlsp.c252 for(i=0;i<m;i++)lsp[i]=2.f*cos(lsp[i]);
259 float w=2.f*cos(wdel*k);
435 /* Convert into polynomials in cos(alpha) */
H A Dsmallft.c99 wa[i++]=cos(arg);
283 dcp=cos(arg);
853 dcp=cos(arg);
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/message/fusion/
H A Dmptfc.c935 unsigned cos = 0; local
970 cos |= FC_COS_CLASS1;
972 cos |= FC_COS_CLASS2;
974 cos |= FC_COS_CLASS3;
975 fc_host_supported_classes(sh) = cos;

Completed in 267 milliseconds

12