M_PI_2 918 libavcodec/atrac9dec.c const float s_c = sinf(sidx*M_PI - M_PI_2)*0.5f + 0.5f; M_PI_2 919 libavcodec/atrac9dec.c const float e_c = sinf(eidx*M_PI - M_PI_2)*0.5f + 0.5f; M_PI_2 415 libavcodec/siren.c float angle = ((i + 0.5f) * M_PI_2) / 320.f; M_PI_2 85 libavfilter/af_acontrast.c float d = src[c] * M_PI_2; M_PI_2 105 libavfilter/af_acontrast.c double d = src[c] * M_PI_2; M_PI_2 126 libavfilter/af_acontrast.c float d = src[n] * M_PI_2; M_PI_2 144 libavfilter/af_acontrast.c double d = src[n] * M_PI_2; M_PI_2 120 libavfilter/af_acrusher.c return 0.5 * (sin(M_PI * (fabs(y - k) - aa1) / aa - M_PI_2) + 1); M_PI_2 158 libavfilter/af_adeclick.c (1. - (s->overlap / 100.)) * M_PI_2; M_PI_2 145 libavfilter/af_asoftclip.c if (FFABS(src[n]) >= M_PI_2) M_PI_2 202 libavfilter/af_asoftclip.c if (FFABS(src[n]) >= M_PI_2) M_PI_2 134 libavfilter/af_flanger.c s->max_samples - 2., 3 * M_PI_2); M_PI_2 329 libavfilter/af_surround.c a *= reference / M_PI_2; M_PI_2 341 libavfilter/af_surround.c *x = av_clipf(a+a*FFMAX(0, p*p-M_PI_2), -1, 1); M_PI_2 342 libavfilter/af_surround.c *y = av_clipf(cosf(a*M_PI_2+M_PI)*cosf(M_PI_2-p/M_PI)*M_LN10+1, -1, 1); M_PI_2 177 libavfilter/af_vibrato.c ff_generate_wave_table(WAVE_SIN, AV_SAMPLE_FMT_DBL, s->wave_table, s->wave_table_size, 0.0, s->buf_size - 1, 3.0 * M_PI_2); M_PI_2 562 libavfilter/avf_showspectrum.c *vf *= 0.5f * cosf(M_PI * s->rotation + M_PI_2); M_PI_2 566 libavfilter/avf_showspectrum.c *vf += *vf * cosf(M_PI * s->rotation + M_PI_2); M_PI_2 1056 libavfilter/vf_v360.c } else if (phi >= -(M_PI_2 + M_PI_4) && phi < -M_PI_4) { M_PI_2 1058 libavfilter/vf_v360.c phi_norm = phi + M_PI_2; M_PI_2 1059 libavfilter/vf_v360.c } else if (phi >= M_PI_4 && phi < M_PI_2 + M_PI_4) { M_PI_2 1061 libavfilter/vf_v360.c phi_norm = phi - M_PI_2; M_PI_2 1673 libavfilter/vf_v360.c const float theta = ((2.f * j + 0.5f) / height - 1.f) * M_PI_2; M_PI_2 1701 libavfilter/vf_v360.c const float phi = ((2.f * i + 0.5f) / width - 1.f) * M_PI_2; M_PI_2 1702 libavfilter/vf_v360.c const float theta = ((2.f * j + 0.5f) / height - 1.f) * M_PI_2; M_PI_2 1842 libavfilter/vf_v360.c const float vf = (theta / M_PI_2 + 1.f) * height / 2.f; M_PI_2 1879 libavfilter/vf_v360.c const float uf = (phi / M_PI_2 + 1.f) * width / 2.f; M_PI_2 1880 libavfilter/vf_v360.c const float vf = (theta / M_PI_2 + 1.f) * height / 2.f; M_PI_2 1885 libavfilter/vf_v360.c const int visible = phi >= -M_PI_2 && phi <= M_PI_2; M_PI_2 2016 libavfilter/vf_v360.c const float phi = ((2.f * i + 1.f) / width - 1.f) * M_PI + M_PI_2; M_PI_2 2198 libavfilter/vf_v360.c const float theta = ((2.f * j + 1.f) / height - 1.f) * M_PI_2; M_PI_2 2235 libavfilter/vf_v360.c const float vf = (theta / M_PI_2 + 1.f) * height / 2.f; M_PI_2 2388 libavfilter/vf_v360.c uf = tanf(M_PI_2 * uf); M_PI_2 2393 libavfilter/vf_v360.c vf = tanf(M_PI_2 * vf); M_PI_2 2582 libavfilter/vf_v360.c const float theta = M_PI_2 * (1.f - hypotf(uf, vf)); M_PI_2 3005 libavfilter/vf_v360.c const float theta = m * M_PI_2 * (1.f - h); M_PI_2 3252 libavfilter/vf_v360.c v_shift = phi >= M_PI_2 || phi < -M_PI_2 ? eh : 0; M_PI_2 3254 libavfilter/vf_v360.c uf = fmodf(phi, M_PI_2) / M_PI_2; M_PI_2 3272 libavfilter/vf_v360.c if (theta <= 0.f && theta >= -M_PI_2 && M_PI_2 3273 libavfilter/vf_v360.c phi <= M_PI_2 && phi >= -M_PI_2) { M_PI_2 3278 libavfilter/vf_v360.c } else if (theta >= 0.f && theta <= M_PI_2 && M_PI_2 3279 libavfilter/vf_v360.c phi <= M_PI_2 && phi >= -M_PI_2) { M_PI_2 3283 libavfilter/vf_v360.c } else if (theta <= 0.f && theta >= -M_PI_2) { M_PI_2 184 libavfilter/vf_vignette.c s->angle = av_clipf(s->angle, 0, M_PI_2); M_PI_2 54 libavutil/mathematics.h #ifndef M_PI_2 M_PI_2 565 libavutil/tx_template.c const double alpha = M_PI_2 * (i + theta) / len4;