Searched refs:M_PI (Results 51 - 75 of 155) sorted by relevance

1234567

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/doc/examples/
H A Dresampling_audio.c69 const double c = 2 * M_PI * 440.0;
H A Dfilter_audio.c263 data[j] = sin(2 * M_PI * (frame_num + j) * (i + 1) / FRAME_SIZE);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavcodec/
H A Drdft.c103 const double theta = (trans == DFT_R2C || trans == DFT_C2R ? -1 : 1)*2*M_PI/n;
H A Dsipr.c168 lsfnew[9] = FFMIN(lsfnew[LP_FILTER_ORDER - 1], 1.3 * M_PI);
174 lsfnew[LP_FILTER_ORDER - 1] *= 6.153848 / M_PI;
508 ctx->lsp_history[i] = cos((i+1) * M_PI / (LP_FILTER_ORDER + 1));
H A Ddct-test.c368 c8[i][j] = s * cos(M_PI * i * (j + 0.5) / 8.0);
377 c4[i][j] = s * cos(M_PI * i * (j + 0.5) / 4.0);
H A Ddct.c36 /* sin((M_PI * x / (2 * n)) */
39 /* cos((M_PI * x / (2 * n)) */
200 s->csc2[i] = 0.5 / sin((M_PI / (2 * n) * (2 * i + 1)));
H A Dimc.c127 q->post_cos[i] = (1.0f / 32768) * cos(i / 256.0 * M_PI);
128 q->post_sin[i] = (1.0f / 32768) * sin(i / 256.0 * M_PI);
130 r1 = sin((i * 4.0 + 1.0) / 1024.0 * M_PI);
131 r2 = cos((i * 4.0 + 1.0) / 1024.0 * M_PI);
H A Dlsp.c73 lsp[i] = cos(2.0 * M_PI * lsf[i]);
H A Dmdct.c79 alpha = 2 * M_PI * (i + theta) / n;
H A Dsipr16k.c274 ctx->lsp_history_16k[i] = cos((i + 1) * M_PI/(LP_FILTER_ORDER_16k + 1));
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavfilter/
H A Dvf_setpts.c82 setpts->var_values[VAR_PI ] = M_PI;
H A Dvf_settb.c78 settb->var_values[VAR_PI] = M_PI;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/
H A Drdft.c103 const double theta = (trans == DFT_R2C || trans == DFT_C2R ? -1 : 1)*2*M_PI/n;
H A Dsipr.c169 lsfnew[9] = FFMIN(lsfnew[LP_FILTER_ORDER - 1], 1.3 * M_PI);
175 lsfnew[LP_FILTER_ORDER - 1] *= 6.153848 / M_PI;
510 ctx->lsp_history[i] = cos((i+1) * M_PI / (LP_FILTER_ORDER + 1));
H A Ddct.c37 /* sin((M_PI * x / (2 * n)) */
40 /* cos((M_PI * x / (2 * n)) */
201 s->csc2[i] = 0.5 / sin((M_PI / (2 * n) * (2 * i + 1)));
H A Dlsp.c98 lsp[i] = cos(2.0 * M_PI * lsf[i]);
H A Dmdct_template.c83 alpha = 2 * M_PI * (i + theta) / n;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/contrib/src/svg/
H A Ddcsvg.cpp39 static inline double DegToRad(double deg) { return (deg * M_PI) / 180.0; } ;
379 if ( theta1 < 0 ) theta1 = theta1 + M_PI * 2;
381 if ( theta2 < 0 ) theta2 = theta2 + M_PI * 2;
382 if ( theta2 < theta1 ) theta2 = theta2 + M_PI *2 ;
385 if ( fabs(theta2 - theta1) > M_PI ) fArc = 1; else fArc = 0 ;
451 if ( fabs(theta2 - theta1) > M_PI) fSweep = 1; else fSweep = 0 ;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavfilter/
H A Davf_showcqt.c293 float sv = sinf(M_PI*fx);
332 sv_step = sv = sin(2.0*M_PI*freq*(1.0/rate));
333 cv_step = cv = cos(2.0*M_PI*freq*(1.0/rate));
335 sw_step = sw = sin(2.0*M_PI*(1.0/tlen));
336 cw_step = cw = cos(2.0*M_PI*(1.0/tlen));
H A Dvf_deshake.c230 return (diff > M_PI) ? diff - 2 * M_PI :
231 (diff < -M_PI) ? diff + 2 * M_PI :
H A Dvf_rotate.c258 #define INT_PI 3294199 //(M_PI * FIXP2)
396 } else if (fabs(rot->angle - M_PI/2) < FLT_EPSILON && outw == inh && outh == inw) {
400 } else if (fabs(rot->angle - M_PI) < FLT_EPSILON && outw == inw && outh == inh) {
404 } else if (fabs(rot->angle - 3*M_PI/2) < FLT_EPSILON && outw == inh && outh == inw) {
481 rot->var_values[VAR_N], rot->var_values[VAR_T], rot->angle/M_PI);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavresample/
H A Dresample.c83 x = M_PI * ((double)(i - center) - (double)ph / phase_count) * factor;
95 w = 2.0 * x / (factor * tap_count) + M_PI;
101 w = 2.0 * x / (factor * tap_count * M_PI);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/libvorbis-1.2.3/lib/
H A Denvelope.c48 e->mdct_win[i]=sin(i/(n-1.)*M_PI);
65 e->band[j].window[i]=sin((i+.5)/n*M_PI);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavformat/
H A Doutput-example.c113 tincr = 2 * M_PI * 110.0 / c->sample_rate;
115 tincr2 = 2 * M_PI * 110.0 / c->sample_rate / c->sample_rate;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libswscale/
H A Dutils.c303 coeff = d ? sin(d*M_PI)/(d*M_PI) : 1.0;
311 c = cos(floatd*M_PI);
327 coeff = (d ? sin(floatd*M_PI)/(floatd*M_PI) : 1.0)*fone;
330 coeff = (d ? sin(floatd*M_PI)*sin(floatd*M_PI/p)/(floatd*floatd*M_PI*M_PI/p) : 1.0)*fone;
1224 vec->coeff[i]= exp(-dist*dist/(2*variance*variance)) / sqrt(2*variance*M_PI);
[all...]

Completed in 148 milliseconds

1234567