M_PI 99 libavcodec/ac3enc.c alpha = 2 * M_PI * (float)i / (float)n; M_PI 697 libavcodec/ac3enc.c alpha = 2 * M_PI * (i + 1.0 / 8.0) / (float)N; M_PI 1292 libavcodec/ac3enc.c a = -2 * M_PI * (n * k) / FN; M_PI 1321 libavcodec/ac3enc.c a = (2*M_PI*(2*n+1+N/2)*(2*k+1) / (4 * N)); M_PI 1352 libavcodec/ac3enc.c samples[i] = (int)(sin(2*M_PI*i*1000.0/44100) * 10000); M_PI 92 libavcodec/apiexample.c tincr = 2 * M_PI * 440.0 / c->sample_rate; M_PI 255 libavcodec/atrac3.c enc_window[i] = (sin(((i + 0.5) / 256.0 - 0.5) * M_PI) + 1.0) * 0.5; M_PI 405 libavcodec/dct-test.c c8[i][j] = s * cos(M_PI * i * (j + 0.5) / 8.0); M_PI 414 libavcodec/dct-test.c c4[i][j] = s * cos(M_PI * i * (j + 0.5) / 4.0); M_PI 46 libavcodec/dctref.c coefficients[i + j] = 0.5 * cos(i * (j + 0.5) * M_PI / 64.0); M_PI 43 libavcodec/eval.c #ifndef M_PI M_PI 155 libavcodec/eval.c case e_gauss: { double d = eval_expr(p, e->param[0]); return exp(-d*d/2)/sqrt(2*M_PI); } M_PI 430 libavcodec/eval.c M_PI, M_PI 57 libavcodec/fft-test.c alpha = 2 * M_PI * (float)i / (float)n; M_PI 106 libavcodec/fft-test.c f = cos(M_PI * a / (double)(2 * n)); M_PI 124 libavcodec/fft-test.c a = (2*M_PI*(2*i+1+n/2)*(2*k+1) / (4 * n)); M_PI 120 libavcodec/fft.c double freq = 2*M_PI/m; M_PI 135 libavcodec/fft.c alpha = 2 * M_PI * (float)i / (float)n; M_PI 71 libavcodec/iirfilter.c wa = 2 * tan(M_PI * 0.5 * cutoff_ratio); M_PI 82 libavcodec/iirfilter.c double th = (i + (order >> 1) + 0.5) * M_PI / order; M_PI 117 libavcodec/imc.c q->post_cos[i] = cos(i / 256.0 * M_PI); M_PI 118 libavcodec/imc.c q->post_sin[i] = sin(i / 256.0 * M_PI); M_PI 120 libavcodec/imc.c r1 = sin((i * 4.0 + 1.0) / 1024.0 * M_PI); M_PI 121 libavcodec/imc.c r2 = cos((i * 4.0 + 1.0) / 1024.0 * M_PI); M_PI 35 libavcodec/mdct.c double alpha2 = (alpha * M_PI / n) * (alpha * M_PI / n); M_PI 65 libavcodec/mdct.c window[i] = sinf((i + 0.5) * (M_PI / (2.0 * n))); M_PI 89 libavcodec/mdct.c alpha = 2 * M_PI * (i + 1.0 / 8.0) / n; M_PI 436 libavcodec/mpegaudiodec.c f = tan((double)i * M_PI / 12.0); M_PI 486 libavcodec/mpegaudiodec.c d= sin(M_PI * (i + 0.5) / 36.0); M_PI 489 libavcodec/mpegaudiodec.c else if(i>=24) d= sin(M_PI * (i - 18 + 0.5) / 12.0); M_PI 493 libavcodec/mpegaudiodec.c else if(i< 12) d= sin(M_PI * (i - 6 + 0.5) / 12.0); M_PI 497 libavcodec/mpegaudiodec.c d*= 0.5 / cos(M_PI*(2*i + 19)/72); M_PI 3255 libavcodec/mpegvideo_enc.c basis[perm_index][8*x + y]= lrintf(s * cos((M_PI/8.0)*i*(x+0.5)) * cos((M_PI/8.0)*j*(y+0.5))); M_PI 90 libavcodec/opt.c M_PI, M_PI 56 libavcodec/qcelp_lsp.c f[1] = -2 * cos(M_PI * lspf[0]); M_PI 60 libavcodec/qcelp_lsp.c double val = -2 * cos(M_PI * lspf[2*i]); M_PI 1506 libavcodec/qdm2.c const double iscale = 2.0*M_PI / 512.0; M_PI 1549 libavcodec/qdm2.c const double iscale = 0.25 * M_PI; M_PI 317 libavcodec/ratecontrol.c M_PI, M_PI 52 libavcodec/rdft.c const double theta = (trans == RDFT || trans == IRIDFT ? -1 : 1)*2*M_PI/n; M_PI 107 libavcodec/resample2.c x = M_PI * ((double)(i - center) - (double)ph / phase_count) * factor; M_PI 118 libavcodec/resample2.c w = 2.0*x / (factor*tap_count) + M_PI; M_PI 122 libavcodec/resample2.c w = 2.0*x / (factor*tap_count*M_PI); M_PI 150 libavcodec/resample2.c sine[j]= cos(i*j*M_PI/LEN); M_PI 1110 libavcodec/vorbis_dec.c float wstep=M_PI/vf->bark_map_size; M_PI 163 libavcodec/wmadec.c wdel = M_PI / frame_len; M_PI 38 libavutil/mathematics.h #ifndef M_PI M_PI 96 libswscale/swscale.c #ifdef M_PI M_PI 97 libswscale/swscale.c #define PI M_PI M_PI 30 output_example.c #ifndef M_PI M_PI 103 output_example.c tincr = 2 * M_PI * 110.0 / c->sample_rate; M_PI 105 output_example.c tincr2 = 2 * M_PI * 110.0 / c->sample_rate / c->sample_rate; M_PI 404 vhook/imlib2.c M_PI,