M_PI 209 doc/examples/encode_audio.c tincr = 2 * M_PI * 440.0 / c->sample_rate; M_PI 264 doc/examples/filter_audio.c data[j] = sin(2 * M_PI * (frame_num + j) * (i + 1) / FRAME_SIZE); M_PI 265 doc/examples/muxing.c ost->tincr = 2 * M_PI * 110.0 / c->sample_rate; M_PI 267 doc/examples/muxing.c ost->tincr2 = 2 * M_PI * 110.0 / c->sample_rate / c->sample_rate; M_PI 69 doc/examples/resampling_audio.c const double c = 2 * M_PI * 440.0; M_PI 144 libavcodec/aacps_fixed_tablegen.h Q30(1.5146213770f/M_PI), Q30(1.5181334019f/M_PI), Q30(1.5234849453f/M_PI), Q30(1.5369486809f/M_PI), Q30(1.5500687361f/M_PI), Q30(1.5679757595f/M_PI), M_PI 145 libavcodec/aacps_fixed_tablegen.h Q30(1.4455626011f/M_PI), Q30(1.4531552792f/M_PI), Q30(1.4648091793f/M_PI), Q30(1.4945238829f/M_PI), Q30(1.5239057541f/M_PI), Q30(1.5644006729f/M_PI), M_PI 146 libavcodec/aacps_fixed_tablegen.h Q30(1.3738563061f/M_PI), Q30(1.3851221800f/M_PI), Q30(1.4026404619f/M_PI), Q30(1.4484288692f/M_PI), Q30(1.4949874878f/M_PI), Q30(1.5604078770f/M_PI), M_PI 147 libavcodec/aacps_fixed_tablegen.h Q30(1.2645189762f/M_PI), Q30(1.2796478271f/M_PI), Q30(1.3038636446f/M_PI), Q30(1.3710125685f/M_PI), Q30(1.4443849325f/M_PI), Q30(1.5532352924f/M_PI), M_PI 148 libavcodec/aacps_fixed_tablegen.h Q30(1.1507037878f/M_PI), Q30(1.1669205427f/M_PI), Q30(1.1938756704f/M_PI), Q30(1.2754167318f/M_PI), Q30(1.3761177063f/M_PI), Q30(1.5429240465f/M_PI), M_PI 149 libavcodec/aacps_fixed_tablegen.h Q30(1.0079245567f/M_PI), Q30(1.0208238363f/M_PI), Q30(1.0433073044f/M_PI), Q30(1.1208510399f/M_PI), Q30(1.2424604893f/M_PI), Q30(1.5185726881f/M_PI), M_PI 150 libavcodec/aacps_fixed_tablegen.h Q30(0.8995233774f/M_PI), Q30(0.9069069624f/M_PI), Q30(0.9201194048f/M_PI), Q30(0.9698365927f/M_PI), Q30(1.0671583414f/M_PI), Q30(1.4647934437f/M_PI), M_PI 151 libavcodec/aacps_fixed_tablegen.h Q30(0.7853981853f/M_PI), Q30(0.7853981853f/M_PI), Q30(0.7853981853f/M_PI), Q30(0.7853981853f/M_PI), Q30(0.7853981853f/M_PI), Q30(0.7853981853f/M_PI), M_PI 152 libavcodec/aacps_fixed_tablegen.h Q30(0.6712729335f/M_PI), Q30(0.6638893485f/M_PI), Q30(0.6506769061f/M_PI), Q30(0.6009597182f/M_PI), Q30(0.5036380291f/M_PI), Q30(0.1060028747f/M_PI), M_PI 153 libavcodec/aacps_fixed_tablegen.h Q30(0.5628717542f/M_PI), Q30(0.5499725342f/M_PI), Q30(0.5274890065f/M_PI), Q30(0.4499453008f/M_PI), Q30(0.3283358216f/M_PI), Q30(0.0522236861f/M_PI), M_PI 154 libavcodec/aacps_fixed_tablegen.h Q30(0.4200925827f/M_PI), Q30(0.4038758278f/M_PI), Q30(0.3769206405f/M_PI), Q30(0.2953795493f/M_PI), Q30(0.1946786791f/M_PI), Q30(0.0278722942f/M_PI), M_PI 155 libavcodec/aacps_fixed_tablegen.h Q30(0.3062773645f/M_PI), Q30(0.2911485136f/M_PI), Q30(0.2669326365f/M_PI), Q30(0.1997837722f/M_PI), Q30(0.1264114529f/M_PI), Q30(0.0175609849f/M_PI), M_PI 156 libavcodec/aacps_fixed_tablegen.h Q30(0.1969399750f/M_PI), Q30(0.1856741160f/M_PI), Q30(0.1681558639f/M_PI), Q30(0.1223674342f/M_PI), Q30(0.0758088827f/M_PI), Q30(0.0103884479f/M_PI), M_PI 157 libavcodec/aacps_fixed_tablegen.h Q30(0.1252337098f/M_PI), Q30(0.1176410317f/M_PI), Q30(0.1059871912f/M_PI), Q30(0.0762724727f/M_PI), Q30(0.0468905345f/M_PI), Q30(0.0063956482f/M_PI), M_PI 158 libavcodec/aacps_fixed_tablegen.h Q30(0.0561749674f/M_PI), Q30(0.0526629239f/M_PI), Q30(0.0473113805f/M_PI), Q30(0.0338476151f/M_PI), Q30(0.0207276177f/M_PI), Q30(0.0028205961f/M_PI), M_PI 159 libavcodec/aacps_fixed_tablegen.h Q30(1.5676341057f/M_PI), Q30(1.5678333044f/M_PI), Q30(1.5681363344f/M_PI), Q30(1.5688960552f/M_PI), Q30(1.5696337223f/M_PI), Q30(1.5706381798f/M_PI), M_PI 160 libavcodec/aacps_fixed_tablegen.h Q30(1.5651730299f/M_PI), Q30(1.5655272007f/M_PI), Q30(1.5660660267f/M_PI), Q30(1.5674170256f/M_PI), Q30(1.5687289238f/M_PI), Q30(1.5705151558f/M_PI), M_PI 161 libavcodec/aacps_fixed_tablegen.h Q30(1.5607966185f/M_PI), Q30(1.5614265203f/M_PI), Q30(1.5623844862f/M_PI), Q30(1.5647867918f/M_PI), Q30(1.5671195984f/M_PI), Q30(1.5702962875f/M_PI), M_PI 162 libavcodec/aacps_fixed_tablegen.h Q30(1.5530153513f/M_PI), Q30(1.5541347265f/M_PI), Q30(1.5558375120f/M_PI), Q30(1.5601085424f/M_PI), Q30(1.5642569065f/M_PI), Q30(1.5699069500f/M_PI), M_PI 163 libavcodec/aacps_fixed_tablegen.h Q30(1.5391840935f/M_PI), Q30(1.5411708355f/M_PI), Q30(1.5441943407f/M_PI), Q30(1.5517836809f/M_PI), Q30(1.5591609478f/M_PI), Q30(1.5692136288f/M_PI), M_PI 164 libavcodec/aacps_fixed_tablegen.h Q30(1.5146213770f/M_PI), Q30(1.5181334019f/M_PI), Q30(1.5234849453f/M_PI), Q30(1.5369486809f/M_PI), Q30(1.5500687361f/M_PI), Q30(1.5679757595f/M_PI), M_PI 165 libavcodec/aacps_fixed_tablegen.h Q30(1.4915299416f/M_PI), Q30(1.4964480400f/M_PI), Q30(1.5039558411f/M_PI), Q30(1.5229074955f/M_PI), Q30(1.5414420366f/M_PI), Q30(1.5667995214f/M_PI), M_PI 166 libavcodec/aacps_fixed_tablegen.h Q30(1.4590617418f/M_PI), Q30(1.4658898115f/M_PI), Q30(1.4763505459f/M_PI), Q30(1.5029321909f/M_PI), Q30(1.5291173458f/M_PI), Q30(1.5651149750f/M_PI), M_PI 167 libavcodec/aacps_fixed_tablegen.h Q30(1.4136143923f/M_PI), Q30(1.4229322672f/M_PI), Q30(1.4373078346f/M_PI), Q30(1.4743183851f/M_PI), Q30(1.5113102198f/M_PI), Q30(1.5626684427f/M_PI), M_PI 168 libavcodec/aacps_fixed_tablegen.h Q30(1.3505556583f/M_PI), Q30(1.3628427982f/M_PI), Q30(1.3820509911f/M_PI), Q30(1.4327841997f/M_PI), Q30(1.4850014448f/M_PI), Q30(1.5590143204f/M_PI), M_PI 169 libavcodec/aacps_fixed_tablegen.h Q30(1.2645189762f/M_PI), Q30(1.2796478271f/M_PI), Q30(1.3038636446f/M_PI), Q30(1.3710125685f/M_PI), Q30(1.4443849325f/M_PI), Q30(1.5532352924f/M_PI), M_PI 170 libavcodec/aacps_fixed_tablegen.h Q30(1.1919227839f/M_PI), Q30(1.2081253529f/M_PI), Q30(1.2346779108f/M_PI), Q30(1.3123005629f/M_PI), Q30(1.4034168720f/M_PI), Q30(1.5471596718f/M_PI), M_PI 171 libavcodec/aacps_fixed_tablegen.h Q30(1.1061993837f/M_PI), Q30(1.1219338179f/M_PI), Q30(1.1484941244f/M_PI), Q30(1.2320860624f/M_PI), Q30(1.3421301842f/M_PI), Q30(1.5373806953f/M_PI), M_PI 172 libavcodec/aacps_fixed_tablegen.h Q30(1.0079245567f/M_PI), Q30(1.0208238363f/M_PI), Q30(1.0433073044f/M_PI), Q30(1.1208510399f/M_PI), Q30(1.2424604893f/M_PI), Q30(1.5185726881f/M_PI), M_PI 173 libavcodec/aacps_fixed_tablegen.h Q30(0.8995233774f/M_PI), Q30(0.9069069624f/M_PI), Q30(0.9201194048f/M_PI), Q30(0.9698365927f/M_PI), Q30(1.0671583414f/M_PI), Q30(1.4647934437f/M_PI), M_PI 174 libavcodec/aacps_fixed_tablegen.h Q30(0.7853981853f/M_PI), Q30(0.7853981853f/M_PI), Q30(0.7853981853f/M_PI), Q30(0.7853981853f/M_PI), Q30(0.7853981853f/M_PI), Q30(0.7853981853f/M_PI), M_PI 175 libavcodec/aacps_fixed_tablegen.h Q30(0.6712729335f/M_PI), Q30(0.6638893485f/M_PI), Q30(0.6506769061f/M_PI), Q30(0.6009597182f/M_PI), Q30(0.5036380291f/M_PI), Q30(0.1060028747f/M_PI), M_PI 176 libavcodec/aacps_fixed_tablegen.h Q30(0.5628717542f/M_PI), Q30(0.5499725342f/M_PI), Q30(0.5274890065f/M_PI), Q30(0.4499453008f/M_PI), Q30(0.3283358216f/M_PI), Q30(0.0522236861f/M_PI), M_PI 177 libavcodec/aacps_fixed_tablegen.h Q30(0.4645969570f/M_PI), Q30(0.4488625824f/M_PI), Q30(0.4223022461f/M_PI), Q30(0.3387103081f/M_PI), Q30(0.2286661267f/M_PI), Q30(0.0334156826f/M_PI), M_PI 178 libavcodec/aacps_fixed_tablegen.h Q30(0.3788735867f/M_PI), Q30(0.3626709878f/M_PI), Q30(0.3361184299f/M_PI), Q30(0.2584958076f/M_PI), Q30(0.1673794836f/M_PI), Q30(0.0236366931f/M_PI), M_PI 179 libavcodec/aacps_fixed_tablegen.h Q30(0.3062773645f/M_PI), Q30(0.2911485136f/M_PI), Q30(0.2669326365f/M_PI), Q30(0.1997837722f/M_PI), Q30(0.1264114529f/M_PI), Q30(0.0175609849f/M_PI), M_PI 180 libavcodec/aacps_fixed_tablegen.h Q30(0.2202406377f/M_PI), Q30(0.2079535723f/M_PI), Q30(0.1887452900f/M_PI), Q30(0.1380121708f/M_PI), Q30(0.0857949182f/M_PI), Q30(0.0117820343f/M_PI), M_PI 181 libavcodec/aacps_fixed_tablegen.h Q30(0.1571819335f/M_PI), Q30(0.1478640437f/M_PI), Q30(0.1334884763f/M_PI), Q30(0.0964778885f/M_PI), Q30(0.0594860613f/M_PI), Q30(0.0081279324f/M_PI), M_PI 182 libavcodec/aacps_fixed_tablegen.h Q30(0.1117345318f/M_PI), Q30(0.1049065739f/M_PI), Q30(0.0944457650f/M_PI), Q30(0.0678641573f/M_PI), Q30(0.0416790098f/M_PI), Q30(0.0056813755f/M_PI), M_PI 183 libavcodec/aacps_fixed_tablegen.h Q30(0.0792663917f/M_PI), Q30(0.0743482932f/M_PI), Q30(0.0668405443f/M_PI), Q30(0.0478888862f/M_PI), Q30(0.0293543357f/M_PI), Q30(0.0039967746f/M_PI), M_PI 184 libavcodec/aacps_fixed_tablegen.h Q30(0.0561749674f/M_PI), Q30(0.0526629239f/M_PI), Q30(0.0473113805f/M_PI), Q30(0.0338476151f/M_PI), Q30(0.0207276177f/M_PI), Q30(0.0028205961f/M_PI), M_PI 185 libavcodec/aacps_fixed_tablegen.h Q30(0.0316122435f/M_PI), Q30(0.0296254847f/M_PI), Q30(0.0266019460f/M_PI), Q30(0.0190126132f/M_PI), Q30(0.0116353342f/M_PI), Q30(0.0015827164f/M_PI), M_PI 186 libavcodec/aacps_fixed_tablegen.h Q30(0.0177809205f/M_PI), Q30(0.0166615788f/M_PI), Q30(0.0149587989f/M_PI), Q30(0.0106877899f/M_PI), Q30(0.0065393616f/M_PI), Q30(0.0008894200f/M_PI), M_PI 187 libavcodec/aacps_fixed_tablegen.h Q30(0.0099996664f/M_PI), Q30(0.0093698399f/M_PI), Q30(0.0084118480f/M_PI), Q30(0.0060095116f/M_PI), Q30(0.0036767013f/M_PI), Q30(0.0005000498f/M_PI), M_PI 188 libavcodec/aacps_fixed_tablegen.h Q30(0.0056233541f/M_PI), Q30(0.0052691097f/M_PI), Q30(0.0047303112f/M_PI), Q30(0.0033792770f/M_PI), Q30(0.0020674451f/M_PI), Q30(0.0002811795f/M_PI), M_PI 189 libavcodec/aacps_fixed_tablegen.h Q30(0.0031622672f/M_PI), Q30(0.0029630491f/M_PI), Q30(0.0026600463f/M_PI), Q30(0.0019002859f/M_PI), Q30(0.0011625893f/M_PI), Q30(0.0001581155f/M_PI) M_PI 194 libavcodec/aacps_fixed_tablegen.h Q30(0.0000000000f/M_PI), Q30(0.0195873566f/M_PI), Q30(0.0303316917f/M_PI), Q30(0.0448668823f/M_PI), Q30(0.0522258915f/M_PI), Q30(0.0561044961f/M_PI), M_PI 195 libavcodec/aacps_fixed_tablegen.h Q30(0.0000000000f/M_PI), Q30(0.0433459543f/M_PI), Q30(0.0672172382f/M_PI), Q30(0.0997167900f/M_PI), Q30(0.1162951663f/M_PI), Q30(0.1250736862f/M_PI), M_PI 196 libavcodec/aacps_fixed_tablegen.h Q30(0.0000000000f/M_PI), Q30(0.0672341362f/M_PI), Q30(0.1045235619f/M_PI), Q30(0.1558904350f/M_PI), Q30(0.1824723780f/M_PI), Q30(0.1966800541f/M_PI), M_PI 197 libavcodec/aacps_fixed_tablegen.h Q30(0.0000000000f/M_PI), Q30(0.1011129096f/M_PI), Q30(0.1580764502f/M_PI), Q30(0.2387557179f/M_PI), Q30(0.2820728719f/M_PI), Q30(0.3058380187f/M_PI), M_PI 198 libavcodec/aacps_fixed_tablegen.h Q30(0.0000000000f/M_PI), Q30(0.1315985769f/M_PI), Q30(0.2072522491f/M_PI), Q30(0.3188187480f/M_PI), Q30(0.3825501204f/M_PI), Q30(0.4193951190f/M_PI), M_PI 199 libavcodec/aacps_fixed_tablegen.h Q30(0.0000000000f/M_PI), Q30(0.1603866369f/M_PI), Q30(0.2549437582f/M_PI), Q30(0.4029446840f/M_PI), Q30(0.4980689585f/M_PI), Q30(0.5615641475f/M_PI), M_PI 200 libavcodec/aacps_fixed_tablegen.h Q30(0.0000000000f/M_PI), Q30(0.1736015975f/M_PI), Q30(0.2773745656f/M_PI), Q30(0.4461984038f/M_PI), Q30(0.5666890144f/M_PI), Q30(0.6686112881f/M_PI), M_PI 201 libavcodec/aacps_fixed_tablegen.h Q30(0.0000000000f/M_PI), Q30(0.1784276664f/M_PI), Q30(0.2856673002f/M_PI), Q30(0.4630723596f/M_PI), Q30(0.5971632004f/M_PI), Q30(0.7603877187f/M_PI), M_PI 202 libavcodec/aacps_fixed_tablegen.h Q30(0.0000000000f/M_PI), Q30(0.1736015975f/M_PI), Q30(0.2773745656f/M_PI), Q30(0.4461984038f/M_PI), Q30(0.5666890144f/M_PI), Q30(0.6686112881f/M_PI), M_PI 203 libavcodec/aacps_fixed_tablegen.h Q30(0.0000000000f/M_PI), Q30(0.1603866369f/M_PI), Q30(0.2549437582f/M_PI), Q30(0.4029446840f/M_PI), Q30(0.4980689585f/M_PI), Q30(0.5615641475f/M_PI), M_PI 204 libavcodec/aacps_fixed_tablegen.h Q30(0.0000000000f/M_PI), Q30(0.1315985769f/M_PI), Q30(0.2072522491f/M_PI), Q30(0.3188187480f/M_PI), Q30(0.3825501204f/M_PI), Q30(0.4193951190f/M_PI), M_PI 205 libavcodec/aacps_fixed_tablegen.h Q30(0.0000000000f/M_PI), Q30(0.1011129096f/M_PI), Q30(0.1580764502f/M_PI), Q30(0.2387557179f/M_PI), Q30(0.2820728719f/M_PI), Q30(0.3058380187f/M_PI), M_PI 206 libavcodec/aacps_fixed_tablegen.h Q30(0.0000000000f/M_PI), Q30(0.0672341362f/M_PI), Q30(0.1045235619f/M_PI), Q30(0.1558904350f/M_PI), Q30(0.1824723780f/M_PI), Q30(0.1966800541f/M_PI), M_PI 207 libavcodec/aacps_fixed_tablegen.h Q30(0.0000000000f/M_PI), Q30(0.0433459543f/M_PI), Q30(0.0672172382f/M_PI), Q30(0.0997167900f/M_PI), Q30(0.1162951663f/M_PI), Q30(0.1250736862f/M_PI), M_PI 208 libavcodec/aacps_fixed_tablegen.h Q30(0.0000000000f/M_PI), Q30(0.0195873566f/M_PI), Q30(0.0303316917f/M_PI), Q30(0.0448668823f/M_PI), Q30(0.0522258915f/M_PI), Q30(0.0561044961f/M_PI), M_PI 209 libavcodec/aacps_fixed_tablegen.h Q30(0.0000000000f/M_PI), Q30(0.0011053939f/M_PI), Q30(0.0017089852f/M_PI), Q30(0.0025254129f/M_PI), Q30(0.0029398468f/M_PI), Q30(0.0031597170f/M_PI), M_PI 210 libavcodec/aacps_fixed_tablegen.h Q30(0.0000000000f/M_PI), Q30(0.0019607407f/M_PI), Q30(0.0030395309f/M_PI), Q30(0.0044951206f/M_PI), Q30(0.0052305623f/M_PI), Q30(0.0056152637f/M_PI), M_PI 211 libavcodec/aacps_fixed_tablegen.h Q30(0.0000000000f/M_PI), Q30(0.0034913034f/M_PI), Q30(0.0054070661f/M_PI), Q30(0.0079917293f/M_PI), Q30(0.0092999367f/M_PI), Q30(0.0099875759f/M_PI), M_PI 212 libavcodec/aacps_fixed_tablegen.h Q30(0.0000000000f/M_PI), Q30(0.0062100487f/M_PI), Q30(0.0096135242f/M_PI), Q30(0.0142110568f/M_PI), Q30(0.0165348612f/M_PI), Q30(0.0177587029f/M_PI), M_PI 213 libavcodec/aacps_fixed_tablegen.h Q30(0.0000000000f/M_PI), Q30(0.0110366223f/M_PI), Q30(0.0170863140f/M_PI), Q30(0.0252620988f/M_PI), Q30(0.0293955617f/M_PI), Q30(0.0315726399f/M_PI), M_PI 214 libavcodec/aacps_fixed_tablegen.h Q30(0.0000000000f/M_PI), Q30(0.0195873566f/M_PI), Q30(0.0303316917f/M_PI), Q30(0.0448668823f/M_PI), Q30(0.0522258915f/M_PI), Q30(0.0561044961f/M_PI), M_PI 215 libavcodec/aacps_fixed_tablegen.h Q30(0.0000000000f/M_PI), Q30(0.0275881495f/M_PI), Q30(0.0427365713f/M_PI), Q30(0.0632618815f/M_PI), Q30(0.0736731067f/M_PI), Q30(0.0791663304f/M_PI), M_PI 216 libavcodec/aacps_fixed_tablegen.h Q30(0.0000000000f/M_PI), Q30(0.0387469754f/M_PI), Q30(0.0600636788f/M_PI), Q30(0.0890387669f/M_PI), Q30(0.1037906483f/M_PI), Q30(0.1115923747f/M_PI), M_PI 217 libavcodec/aacps_fixed_tablegen.h Q30(0.0000000000f/M_PI), Q30(0.0541138873f/M_PI), Q30(0.0839984417f/M_PI), Q30(0.1248718798f/M_PI), Q30(0.1458375156f/M_PI), Q30(0.1569785923f/M_PI), M_PI 218 libavcodec/aacps_fixed_tablegen.h Q30(0.0000000000f/M_PI), Q30(0.0747506917f/M_PI), Q30(0.1163287833f/M_PI), Q30(0.1738867164f/M_PI), Q30(0.2038587779f/M_PI), Q30(0.2199459076f/M_PI), M_PI 219 libavcodec/aacps_fixed_tablegen.h Q30(0.0000000000f/M_PI), Q30(0.1011129096f/M_PI), Q30(0.1580764502f/M_PI), Q30(0.2387557179f/M_PI), Q30(0.2820728719f/M_PI), Q30(0.3058380187f/M_PI), M_PI 220 libavcodec/aacps_fixed_tablegen.h Q30(0.0000000000f/M_PI), Q30(0.1212290376f/M_PI), Q30(0.1903949380f/M_PI), Q30(0.2907958031f/M_PI), Q30(0.3466993868f/M_PI), Q30(0.3782821596f/M_PI), M_PI 221 libavcodec/aacps_fixed_tablegen.h Q30(0.0000000000f/M_PI), Q30(0.1418247074f/M_PI), Q30(0.2240308374f/M_PI), Q30(0.3474813402f/M_PI), Q30(0.4202919006f/M_PI), Q30(0.4637607038f/M_PI), M_PI 222 libavcodec/aacps_fixed_tablegen.h Q30(0.0000000000f/M_PI), Q30(0.1603866369f/M_PI), Q30(0.2549437582f/M_PI), Q30(0.4029446840f/M_PI), Q30(0.4980689585f/M_PI), Q30(0.5615641475f/M_PI), M_PI 223 libavcodec/aacps_fixed_tablegen.h Q30(0.0000000000f/M_PI), Q30(0.1736015975f/M_PI), Q30(0.2773745656f/M_PI), Q30(0.4461984038f/M_PI), Q30(0.5666890144f/M_PI), Q30(0.6686112881f/M_PI), M_PI 224 libavcodec/aacps_fixed_tablegen.h Q30(0.0000000000f/M_PI), Q30(0.1784276664f/M_PI), Q30(0.2856673002f/M_PI), Q30(0.4630723596f/M_PI), Q30(0.5971632004f/M_PI), Q30(0.7603877187f/M_PI), M_PI 225 libavcodec/aacps_fixed_tablegen.h Q30(0.0000000000f/M_PI), Q30(0.1736015975f/M_PI), Q30(0.2773745656f/M_PI), Q30(0.4461984038f/M_PI), Q30(0.5666890144f/M_PI), Q30(0.6686112881f/M_PI), M_PI 226 libavcodec/aacps_fixed_tablegen.h Q30(0.0000000000f/M_PI), Q30(0.1603866369f/M_PI), Q30(0.2549437582f/M_PI), Q30(0.4029446840f/M_PI), Q30(0.4980689585f/M_PI), Q30(0.5615641475f/M_PI), M_PI 227 libavcodec/aacps_fixed_tablegen.h Q30(0.0000000000f/M_PI), Q30(0.1418247074f/M_PI), Q30(0.2240308374f/M_PI), Q30(0.3474813402f/M_PI), Q30(0.4202919006f/M_PI), Q30(0.4637607038f/M_PI), M_PI 228 libavcodec/aacps_fixed_tablegen.h Q30(0.0000000000f/M_PI), Q30(0.1212290376f/M_PI), Q30(0.1903949380f/M_PI), Q30(0.2907958031f/M_PI), Q30(0.3466993868f/M_PI), Q30(0.3782821596f/M_PI), M_PI 229 libavcodec/aacps_fixed_tablegen.h Q30(0.0000000000f/M_PI), Q30(0.1011129096f/M_PI), Q30(0.1580764502f/M_PI), Q30(0.2387557179f/M_PI), Q30(0.2820728719f/M_PI), Q30(0.3058380187f/M_PI), M_PI 230 libavcodec/aacps_fixed_tablegen.h Q30(0.0000000000f/M_PI), Q30(0.0747506917f/M_PI), Q30(0.1163287833f/M_PI), Q30(0.1738867164f/M_PI), Q30(0.2038587779f/M_PI), Q30(0.2199459076f/M_PI), M_PI 231 libavcodec/aacps_fixed_tablegen.h Q30(0.0000000000f/M_PI), Q30(0.0541138873f/M_PI), Q30(0.0839984417f/M_PI), Q30(0.1248718798f/M_PI), Q30(0.1458375156f/M_PI), Q30(0.1569785923f/M_PI), M_PI 232 libavcodec/aacps_fixed_tablegen.h Q30(0.0000000000f/M_PI), Q30(0.0387469754f/M_PI), Q30(0.0600636788f/M_PI), Q30(0.0890387669f/M_PI), Q30(0.1037906483f/M_PI), Q30(0.1115923747f/M_PI), M_PI 233 libavcodec/aacps_fixed_tablegen.h Q30(0.0000000000f/M_PI), Q30(0.0275881495f/M_PI), Q30(0.0427365713f/M_PI), Q30(0.0632618815f/M_PI), Q30(0.0736731067f/M_PI), Q30(0.0791663304f/M_PI), M_PI 234 libavcodec/aacps_fixed_tablegen.h Q30(0.0000000000f/M_PI), Q30(0.0195873566f/M_PI), Q30(0.0303316917f/M_PI), Q30(0.0448668823f/M_PI), Q30(0.0522258915f/M_PI), Q30(0.0561044961f/M_PI), M_PI 235 libavcodec/aacps_fixed_tablegen.h Q30(0.0000000000f/M_PI), Q30(0.0110366223f/M_PI), Q30(0.0170863140f/M_PI), Q30(0.0252620988f/M_PI), Q30(0.0293955617f/M_PI), Q30(0.0315726399f/M_PI), M_PI 236 libavcodec/aacps_fixed_tablegen.h Q30(0.0000000000f/M_PI), Q30(0.0062100487f/M_PI), Q30(0.0096135242f/M_PI), Q30(0.0142110568f/M_PI), Q30(0.0165348612f/M_PI), Q30(0.0177587029f/M_PI), M_PI 237 libavcodec/aacps_fixed_tablegen.h Q30(0.0000000000f/M_PI), Q30(0.0034913034f/M_PI), Q30(0.0054070661f/M_PI), Q30(0.0079917293f/M_PI), Q30(0.0092999367f/M_PI), Q30(0.0099875759f/M_PI), M_PI 238 libavcodec/aacps_fixed_tablegen.h Q30(0.0000000000f/M_PI), Q30(0.0019607407f/M_PI), Q30(0.0030395309f/M_PI), Q30(0.0044951206f/M_PI), Q30(0.0052305623f/M_PI), Q30(0.0056152637f/M_PI), M_PI 239 libavcodec/aacps_fixed_tablegen.h Q30(0.0000000000f/M_PI), Q30(0.0011053939f/M_PI), Q30(0.0017089852f/M_PI), Q30(0.0025254129f/M_PI), Q30(0.0029398468f/M_PI), Q30(0.0031597170f/M_PI) M_PI 260 libavcodec/aacps_fixed_tablegen.h Q31(0), Q31(0.178427635f/M_PI), Q31(0.28566733f/M_PI), Q31(0.46307236f/M_PI), Q31(0.59716315f/M_PI), Q31(0.78539816f/M_PI), Q31(1.10030855f/M_PI), Q31(1.57079633f/M_PI) M_PI 78 libavcodec/aacps_tablegen.h double theta = 2 * M_PI * (q + 0.5) * (n - 6) / bands; M_PI 111 libavcodec/aacps_tablegen.h 0, 0.35685527, 0.57133466, 0.92614472, 1.1943263, M_PI/2, 2.2006171, M_PI M_PI 166 libavcodec/aacps_tablegen.h if (alpha < 0) alpha += M_PI/2; M_PI 186 libavcodec/aacps_tablegen.h theta = -M_PI * fractional_delay_links[m] * f_center; M_PI 190 libavcodec/aacps_tablegen.h theta = -M_PI*fractional_delay_gain*f_center; M_PI 201 libavcodec/aacps_tablegen.h theta = -M_PI * fractional_delay_links[m] * f_center; M_PI 205 libavcodec/aacps_tablegen.h theta = -M_PI*fractional_delay_gain*f_center; M_PI 30 libavcodec/adx.c a = M_SQRT2 - cos(2.0 * M_PI * cutoff / sample_rate); M_PI 183 libavcodec/atrac3.c float wi = sin(((i + 0.5) / 256.0 - 0.5) * M_PI) + 1.0; M_PI 184 libavcodec/atrac3.c float wj = sin(((j + 0.5) / 256.0 - 0.5) * M_PI) + 1.0; M_PI 89 libavcodec/atrac3plusdsp.c #define TWOPI (2 * M_PI) M_PI 918 libavcodec/atrac9dec.c const float s_c = sinf(sidx*M_PI - M_PI_2)*0.5f + 0.5f; M_PI 919 libavcodec/atrac9dec.c const float e_c = sinf(eidx*M_PI - M_PI_2)*0.5f + 0.5f; M_PI 66 libavcodec/cos_tablegen.c double freq = 2*M_PI/m; M_PI 135 libavcodec/dca_lbr.c cos_tab[i] = cos(M_PI * i / 128); M_PI 138 libavcodec/dca_lbr.c lpc_tab[i] = sin((i - 8) * (M_PI / ((i < 8) ? 17 : 15))); M_PI 253 libavcodec/dcaenc.c c->cos_table[i] = (int32_t)(0x7fffffff * cos(M_PI * i / 1024)); M_PI 292 libavcodec/dcaenc.c accum += reconst * cos(2 * M_PI * (i + 0.5 - 256) * (j + 0.5) / 512); M_PI 300 libavcodec/dcaenc.c accum += reconst * cos(2 * M_PI * (i + 0.5 - 256) * (j + 0.5) / 512); M_PI 204 libavcodec/dct.c s->csc2[i] = 0.5 / sin((M_PI / (2 * n) * (2 * i + 1))); M_PI 48 libavcodec/dctref.c coefficients[i + j] = 0.5 * cos(i * (j + 0.5) * M_PI / 64.0); M_PI 37 libavcodec/evrcdec.c #define MIN_LSP_SEP (0.05 / (2.0 * M_PI)) M_PI 259 libavcodec/evrcdec.c float arg1 = M_PI * 0.9 * (tt - n); M_PI 260 libavcodec/evrcdec.c float arg2 = M_PI * (tt - n); M_PI 68 libavcodec/fft_template.c double freq = 2*M_PI/m; M_PI 334 libavcodec/ffwavesynth.c ws->sin[i] = floor(32767 * sin(2 * M_PI * i / (1 << SIN_BITS))); M_PI 75 libavcodec/iirfilter.c wa = 2 * tan(M_PI * 0.5 * cutoff_ratio); M_PI 87 libavcodec/iirfilter.c double th = (i + (order >> 1) + 0.5) * M_PI / order; M_PI 137 libavcodec/iirfilter.c cos_w0 = cos(M_PI * cutoff_ratio); M_PI 138 libavcodec/iirfilter.c sin_w0 = sin(M_PI * cutoff_ratio); M_PI 215 libavcodec/imc.c q->post_cos[i] = (1.0f / 32768) * cos(i / 256.0 * M_PI); M_PI 216 libavcodec/imc.c q->post_sin[i] = (1.0f / 32768) * sin(i / 256.0 * M_PI); M_PI 218 libavcodec/imc.c r1 = sin((i * 4.0 + 1.0) / 1024.0 * M_PI); M_PI 219 libavcodec/imc.c r2 = cos((i * 4.0 + 1.0) / 1024.0 * M_PI); M_PI 31 libavcodec/kbdwin.c double alpha2 = (alpha * M_PI / n) * (alpha * M_PI / n); M_PI 181 libavcodec/lpc.c double weight = a - b*cos((2*M_PI*i)/(len - 1)); M_PI 98 libavcodec/lsp.c lsp[i] = cos(2.0 * M_PI * lsf[i]); M_PI 289 libavcodec/mdct15.c alpha = 2 * M_PI * (i + theta) / len; M_PI 297 libavcodec/mdct15.c double theta = (2.0f * M_PI * i) / 15.0f; M_PI 308 libavcodec/mdct15.c s->exptab[19].re = cosf(2.0f * M_PI / 5.0f); M_PI 309 libavcodec/mdct15.c s->exptab[19].im = sinf(2.0f * M_PI / 5.0f); M_PI 310 libavcodec/mdct15.c s->exptab[20].re = cosf(1.0f * M_PI / 5.0f); M_PI 311 libavcodec/mdct15.c s->exptab[20].im = sinf(1.0f * M_PI / 5.0f); M_PI 84 libavcodec/mdct_template.c alpha = 2 * M_PI * (i + theta) / n; M_PI 365 libavcodec/mpegaudiodec_template.c f = tan((double)i * M_PI / 12.0); M_PI 235 libavcodec/mpegaudiodsp_template.c d = sin(M_PI * (i + 0.5) / 36.0); M_PI 238 libavcodec/mpegaudiodsp_template.c else if (i >= 24) d = sin(M_PI * (i - 18 + 0.5) / 12.0); M_PI 242 libavcodec/mpegaudiodsp_template.c else if (i < 12) d = sin(M_PI * (i - 6 + 0.5) / 12.0); M_PI 246 libavcodec/mpegaudiodsp_template.c d *= 0.5 * IMDCT_SCALAR / cos(M_PI * (2 * i + 19) / 72); M_PI 311 libavcodec/mpegutils.c u = (int)(128 + r * cos(theta * M_PI / 180)); \ M_PI 312 libavcodec/mpegutils.c v = (int)(128 + r * sin(theta * M_PI / 180)); M_PI 4279 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 120 libavcodec/opus_pvq.c theta = M_PI * gain * gain / 4; M_PI 458 libavcodec/opus_pvq.c return lrintf(32768.0f*atan2f(sqrtf(e[1]), sqrtf(e[0]))/M_PI); M_PI 51 libavcodec/opusenc_utils.h w0 = tanf(M_PI*cfreq); M_PI 543 libavcodec/qcelpdec.c lsp[i] = cos(M_PI * lspf[i]); M_PI 1430 libavcodec/qdm2.c const double iscale = 2.0 * M_PI / 512.0; M_PI 1474 libavcodec/qdm2.c const double iscale = 0.25 * M_PI; M_PI 227 libavcodec/qdmc.c sin_table[i] = sin(2.0f * i * M_PI * 0.001953125f); M_PI 249 libavcodec/ratecontrol.c M_PI, M_PI 73 libavcodec/sinewin_tablegen.h window[i] = SIN_FIX(sinf((i + 0.5) * (M_PI / (2.0 * n)))); M_PI 169 libavcodec/sipr.c lsfnew[9] = FFMIN(lsfnew[LP_FILTER_ORDER - 1], 1.3 * M_PI); M_PI 175 libavcodec/sipr.c lsfnew[LP_FILTER_ORDER - 1] *= 6.153848 / M_PI; M_PI 510 libavcodec/sipr.c ctx->lsp_history[i] = cos((i+1) * M_PI / (LP_FILTER_ORDER + 1)); M_PI 36 libavcodec/sipr.h #define LSFQ_DIFF_MIN (0.0125 * M_PI) M_PI 276 libavcodec/sipr16k.c ctx->lsp_history_16k[i] = cos((i + 1) * M_PI/(LP_FILTER_ORDER_16k + 1)); M_PI 309 libavcodec/tests/dct.c c8[i][j] = s * cos(M_PI * i * (j + 0.5) / 8.0); M_PI 318 libavcodec/tests/dct.c c4[i][j] = s * cos(M_PI * i * (j + 0.5) / 4.0); M_PI 94 libavcodec/tests/fft.c double alpha = 2 * M_PI * (float) i / (float) n; M_PI 140 libavcodec/tests/fft.c double f = cos(M_PI * a / (double) (2 * n)); M_PI 156 libavcodec/tests/fft.c double a = (2 * M_PI * (2 * i + 1 + n / 2) * (2 * k + 1) / (4 * n)); M_PI 174 libavcodec/tests/fft.c double a = M_PI * k * (i + 0.5) / n; M_PI 189 libavcodec/tests/fft.c double a = M_PI * k * (i + 0.5) / n; M_PI 44 libavcodec/tests/iirfilter.c x[i] = lrint(0.75 * INT16_MAX * sin(0.5 * M_PI * i * i / SIZE)); M_PI 564 libavcodec/twinvq.c double freq = 2 * M_PI / m; M_PI 1154 libavcodec/vorbisdec.c float wstep = M_PI / vf->bark_map_size; M_PI 160 libavcodec/wmadec.c wdel = M_PI / frame_len; M_PI 566 libavcodec/wmaprodec.c sin64[i] = sin(i*M_PI / 64.0); M_PI 345 libavcodec/wmavoice.c s->prev_lsps[n] = M_PI * (n + 1.0) / (s->lsps + 1.0); M_PI 428 libavcodec/wmavoice.c s->prev_lsps[n] = M_PI * (n + 1.0) / (s->lsps + 1.0); M_PI 635 libavcodec/wmavoice.c angle_mul = gain_mul * (8.0 * M_LN10 / M_PI); M_PI 899 libavcodec/wmavoice.c M_PI * -2.15522e-1, M_PI * -6.1646e-2, M_PI 900 libavcodec/wmavoice.c M_PI * -3.3486e-2, M_PI * -5.7408e-2 M_PI 926 libavcodec/wmavoice.c M_PI * -1.07448e-1, M_PI * -5.2706e-2, M_PI * -5.1634e-2 M_PI 962 libavcodec/wmavoice.c M_PI * -1.27576e-1, M_PI * -2.4292e-2, M_PI 963 libavcodec/wmavoice.c M_PI * -1.28094e-1, M_PI * -3.2128e-2, M_PI 964 libavcodec/wmavoice.c M_PI * -1.29816e-1 M_PI 995 libavcodec/wmavoice.c M_PI * -5.5830e-2, M_PI * -5.2908e-2, M_PI * -5.4776e-2 M_PI 1665 libavcodec/wmavoice.c lsps[0] = FFMAX(lsps[0], 0.0015 * M_PI); M_PI 1667 libavcodec/wmavoice.c lsps[n] = FFMAX(lsps[n], lsps[n - 1] + 0.0125 * M_PI); M_PI 1668 libavcodec/wmavoice.c lsps[num - 1] = FFMIN(lsps[num - 1], 0.9985 * M_PI); M_PI 51 libavdevice/timefilter.c double o = 2 * M_PI * bandwidth * period * time_base; M_PI 142 libavfilter/af_acrossover.c double omega = 2.0 * M_PI * fc / sr; M_PI 157 libavfilter/af_acrossover.c double omega = 2 * M_PI * fc / sr; M_PI 120 libavfilter/af_acrusher.c return 0.5 * (sin(M_PI * (fabs(y - k) - aa1) / aa - M_PI_2) + 1); M_PI 204 libavfilter/af_acrusher.c val = sin((phs * 360.) * M_PI / 180); M_PI 157 libavfilter/af_adeclick.c s->window_func_lut[i] = sin(M_PI * i / s->window_size) * M_PI 153 libavfilter/af_aemphasis.c double w0 = freq * 2 * M_PI / sr; M_PI 176 libavfilter/af_aemphasis.c double omega = 2.0 * M_PI * fc / sr; M_PI 192 libavfilter/af_aemphasis.c freq *= 2.0 * M_PI / sr; M_PI 235 libavfilter/af_aemphasis.c i = 1. / (2. * M_PI * tau1); M_PI 236 libavfilter/af_aemphasis.c j = 1. / (2. * M_PI * tau2); M_PI 237 libavfilter/af_aemphasis.c k = 1. / (2. * M_PI * tau3); M_PI 243 libavfilter/af_aemphasis.c i = 1. / (2. * M_PI * tau1); M_PI 244 libavfilter/af_aemphasis.c j = 1. / (2. * M_PI * tau2); M_PI 245 libavfilter/af_aemphasis.c k = 1. / (2. * M_PI * tau3); M_PI 251 libavfilter/af_aemphasis.c i = 1. / (2. * M_PI * tau1); M_PI 252 libavfilter/af_aemphasis.c j = 1. / (2. * M_PI * tau2); M_PI 253 libavfilter/af_aemphasis.c k = 1. / (2. * M_PI * tau3); M_PI 259 libavfilter/af_aemphasis.c i = 1. / (2. * M_PI * tau1); M_PI 260 libavfilter/af_aemphasis.c j = 1. / (2. * M_PI * tau2); M_PI 261 libavfilter/af_aemphasis.c k = 1. / (2. * M_PI * tau3); M_PI 265 libavfilter/af_aemphasis.c i *= 2 * M_PI; M_PI 266 libavfilter/af_aemphasis.c j *= 2 * M_PI; M_PI 267 libavfilter/af_aemphasis.c k *= 2 * M_PI; M_PI 274 libavfilter/af_aemphasis.c double f = 1.0 / (2 * M_PI * tau); M_PI 101 libavfilter/af_afade.c gain = sin(gain * M_PI / 2.0); M_PI 108 libavfilter/af_afade.c gain = 1.0 - cos(M_PI / 4.0 * (CUBE(2.0*gain - 1) + 1)); M_PI 111 libavfilter/af_afade.c gain = (1.0 - cos(gain * M_PI)) / 2.0; M_PI 828 libavfilter/af_afftdn.c double d10 = sin(i * M_PI / s->window_length); M_PI 863 libavfilter/af_afftdn.c d5 = 2.0 * M_PI / len; M_PI 896 libavfilter/af_afftdn.c d5 = 2.0 * M_PI / len; M_PI 305 libavfilter/af_afir.c double w = i * M_PI / (s->w - 1); M_PI 328 libavfilter/af_afir.c int yphase = (0.5 * (1. + phase[i] / M_PI)) * (s->h - 1); M_PI 730 libavfilter/af_aiir.c double angle = M_PI*iir->ab[0][2*n+1]/180.; M_PI 738 libavfilter/af_aiir.c double angle = M_PI*iir->ab[1][2*n+1]/180.; M_PI 890 libavfilter/af_aiir.c double w = i * M_PI / (s->w - 1); M_PI 904 libavfilter/af_aiir.c temp[i + 1] = ceil(fabs(d) / (2. * M_PI)) * 2. * M_PI * ((d > M_PI) - (d < -M_PI)); M_PI 122 libavfilter/af_anequalizer.c w = M_PI * (s->fscale ? pow(s->w - 1, f / s->w) : f) / (s->w - 1); M_PI 343 libavfilter/af_anequalizer.c double si = sin(M_PI * ui / 2.0); M_PI 415 libavfilter/af_anequalizer.c double ci = cos(M_PI*ui/2.0); M_PI 416 libavfilter/af_anequalizer.c double si = sin(M_PI*ui/2.0); M_PI 488 libavfilter/af_anequalizer.c double ci = cos(M_PI * ui / 2.0); M_PI 489 libavfilter/af_anequalizer.c double si = sin(M_PI * ui / 2.0); M_PI 540 libavfilter/af_anequalizer.c return 2 * M_PI * x / fs; M_PI 222 libavfilter/af_aphaser.c 1., s->delay_buffer_length, M_PI / 2.0); M_PI 102 libavfilter/af_apulsator.c val = sin(phs * 2 * M_PI); M_PI 1474 libavfilter/af_arnndn.c s->window[i] = sin(.5*M_PI*sin(.5*M_PI*(i+.5)/FRAME_SIZE) * sin(.5*M_PI*(i+.5)/FRAME_SIZE)); M_PI 1480 libavfilter/af_arnndn.c s->dct_table[i*NB_BANDS + j] = cosf((i + .5f) * j * M_PI / NB_BANDS); M_PI 117 libavfilter/af_asoftclip.c dst[n] = 2.f / M_PI * atanf(src[n] * param); M_PI 174 libavfilter/af_asoftclip.c dst[n] = 2. / M_PI * atan(src[n] * param); M_PI 80 libavfilter/af_asubboost.c double w0 = 2 * M_PI * s->cutoff / inlink->sample_rate; M_PI 323 libavfilter/af_atempo.c double h = 0.5 * (1.0 - cos(2.0 * M_PI * t)); M_PI 267 libavfilter/af_biquads.c double w0 = 2 * M_PI * s->frequency / inlink->sample_rate; M_PI 271 libavfilter/af_biquads.c if (w0 > M_PI) { M_PI 63 libavfilter/af_crossfeed.c double w0 = 2 * M_PI * (1. - s->range) * 2100 / inlink->sample_rate; M_PI 275 libavfilter/af_dynaudnorm.c const double c1 = 1.0 / (sigma * sqrt(2.0 * M_PI)); M_PI 675 libavfilter/af_firequalizer.c double u = k * (M_PI/center); M_PI 706 libavfilter/af_firequalizer.c win = (u <= 0.5 * M_PI) ? 1.0 : (0.5 + 0.5 * cos(2*u - M_PI)); M_PI 141 libavfilter/af_loudnorm.c const double c1 = 1.0 / (sigma * sqrt(2.0 * M_PI)); M_PI 311 libavfilter/af_mcompand.c double w0 = 2 * M_PI * frequency / outlink->sample_rate; M_PI 316 libavfilter/af_mcompand.c if (w0 > M_PI) M_PI 131 libavfilter/af_stereotools.c s->phase_cos_coef = cos(s->phase / 180 * M_PI); M_PI 132 libavfilter/af_stereotools.c s->phase_sin_coef = sin(s->phase / 180 * M_PI); M_PI 79 libavfilter/af_superequalizer.c float omega = 2 * M_PI * f; M_PI 324 libavfilter/af_surround.c reference = angle * M_PI / 180.f; M_PI 331 libavfilter/af_surround.c a = M_PI + 2 * (-2 * M_PI + reference) * (M_PI - fabsf(a)) * FFDIFFSIGN(a, 0) / (3 * M_PI); M_PI 340 libavfilter/af_surround.c av_assert2(p >= 0.f && p <= M_PI); M_PI 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 349 libavfilter/af_surround.c *lfe_mag = n < lowcut ? 1.f : .5f*(1.f+cosf(M_PI*(lowcut-n)/(lowcut-highcut))); M_PI 1119 libavfilter/af_surround.c if (phase_dif > M_PI) M_PI 1120 libavfilter/af_surround.c phase_dif = 2 * M_PI - phase_dif; M_PI 1155 libavfilter/af_surround.c if (phase_dif > M_PI) M_PI 1156 libavfilter/af_surround.c phase_dif = 2 * M_PI - phase_dif; M_PI 1190 libavfilter/af_surround.c if (phase_dif > M_PI) M_PI 1191 libavfilter/af_surround.c phase_dif = 2 * M_PI - phase_dif; M_PI 1239 libavfilter/af_surround.c if (phase_difl > M_PI) M_PI 1240 libavfilter/af_surround.c phase_difl = 2 * M_PI - phase_difl; M_PI 1242 libavfilter/af_surround.c if (phase_difr > M_PI) M_PI 1243 libavfilter/af_surround.c phase_difr = 2 * M_PI - phase_difr; M_PI 1298 libavfilter/af_surround.c if (phase_difl > M_PI) M_PI 1299 libavfilter/af_surround.c phase_difl = 2 * M_PI - phase_difl; M_PI 1301 libavfilter/af_surround.c if (phase_difr > M_PI) M_PI 1302 libavfilter/af_surround.c phase_difr = 2 * M_PI - phase_difr; M_PI 1357 libavfilter/af_surround.c if (phase_difl > M_PI) M_PI 1358 libavfilter/af_surround.c phase_difl = 2 * M_PI - phase_difl; M_PI 1360 libavfilter/af_surround.c if (phase_difr > M_PI) M_PI 1361 libavfilter/af_surround.c phase_difr = 2 * M_PI - phase_difr; M_PI 136 libavfilter/af_tremolo.c env = sin(2 * M_PI * fmod(env + 0.25, 1.0)); M_PI 146 libavfilter/asrc_hilbert.c float pk = M_PI * k; M_PI 125 libavfilter/asrc_sinc.c float z = i - .5f * m, x = z * M_PI, y = z * mult1; M_PI 173 libavfilter/asrc_sinc.c att = att < 60.f ? (att - 7.95f) / (2.285f * M_PI * 2.f) : M_PI 253 libavfilter/asrc_sinc.c float detect = 2 * M_PI; M_PI 260 libavfilter/asrc_sinc.c detect = M_PI; M_PI 300 libavfilter/asrc_sinc.c for (i = 0; i <= (int) (pi_wraps[work_len >> 1] / M_PI + .5f); i++) { M_PI 337 libavfilter/asrc_sinc.c work_len, pi_wraps[work_len >> 1] / M_PI, peak, peak_imp_sum, imp_peak, M_PI 268 libavfilter/avf_ahistogram.c uf = yf * M_PI; M_PI 269 libavfilter/avf_ahistogram.c vf = yf * M_PI; M_PI 270 libavfilter/avf_ahistogram.c uf *= 0.5 * sin((2 * M_PI * c) / s->dchannels); M_PI 271 libavfilter/avf_ahistogram.c vf *= 0.5 * cos((2 * M_PI * c) / s->dchannels); M_PI 335 libavfilter/avf_showcqt.c double y = 2.0 * M_PI * (x - center) * (1.0 / flen); M_PI 1400 libavfilter/avf_showcqt.c double y = M_PI * k / (inlink->sample_rate * s->attack); M_PI 260 libavfilter/avf_showspatial.c float diffp = ((rp - lp) / (2.f * M_PI) + 1.f) * 0.5f; M_PI 402 libavfilter/avf_showspectrum.c phi = 2.f * M_PI * (s->stop - s->start) / (float)inlink->sample_rate / (M - 1); M_PI 403 libavfilter/avf_showspectrum.c theta = 2.f * M_PI * s->start / (float)inlink->sample_rate; M_PI 539 libavfilter/avf_showspectrum.c *uf = *yf * M_PI; M_PI 540 libavfilter/avf_showspectrum.c *vf = *yf * M_PI; M_PI 558 libavfilter/avf_showspectrum.c *uf *= 0.5f * sinf((2 * M_PI * ch) / s->nb_display_channels + M_PI * s->rotation); M_PI 559 libavfilter/avf_showspectrum.c *vf *= 0.5f * cosf((2 * M_PI * ch) / s->nb_display_channels + M_PI * s->rotation); M_PI 561 libavfilter/avf_showspectrum.c *uf *= 0.5f * sinf(M_PI * s->rotation); M_PI 562 libavfilter/avf_showspectrum.c *vf *= 0.5f * cosf(M_PI * s->rotation + M_PI_2); M_PI 565 libavfilter/avf_showspectrum.c *uf += *uf * sinf(M_PI * s->rotation); M_PI 566 libavfilter/avf_showspectrum.c *vf += *vf * cosf(M_PI * s->rotation + M_PI_2); M_PI 1235 libavfilter/avf_showspectrum.c phases[y] = (PHASE(y, ch) / M_PI + 1) / 2; M_PI 112 libavfilter/ebur128.c double K = tan(M_PI * f0 / (double) st->samplerate); M_PI 130 libavfilter/ebur128.c K = tan(M_PI * f0 / (double) st->samplerate); M_PI 29 libavfilter/generate_wave_table.c uint32_t i, phase_offset = phase / M_PI / 2 * table_size + 0.5; M_PI 37 libavfilter/generate_wave_table.c d = (sin((double)point / table_size * 2 * M_PI) + 1) / 2; M_PI 263 libavfilter/vaf_spectrumsynth.c phase = ((p[x] / (double)UINT16_MAX) * 2. - 1.) * M_PI; M_PI 288 libavfilter/vaf_spectrumsynth.c phase = ((p[x] / (double)UINT8_MAX) * 2. - 1.) * M_PI; M_PI 135 libavfilter/vf_colorconstancy.c s->gauss[0][i] = exp(- pow(GINDX(filtersize, i), 2.) / (2 * sigma * sigma)) / ( sqrt(2 * M_PI) * sigma ); M_PI 878 libavfilter/vf_datascope.c tilt = (s->tilt - 0.5) * M_PI; M_PI 168 libavfilter/vf_dblur.c angle = angle * M_PI / 180.f; M_PI 61 libavfilter/vf_deband.c { "direction", "set direction", OFFSET(direction), AV_OPT_TYPE_FLOAT, {.dbl=2*M_PI},-2*M_PI, 2*M_PI, FLAGS }, M_PI 62 libavfilter/vf_deband.c { "d", "set direction", OFFSET(direction), AV_OPT_TYPE_FLOAT, {.dbl=2*M_PI},-2*M_PI, 2*M_PI, FLAGS }, M_PI 223 libavfilter/vf_deshake.c return (diff > M_PI) ? diff - 2 * M_PI : M_PI 224 libavfilter/vf_deshake.c (diff < -M_PI) ? diff + 2 * M_PI : M_PI 776 libavfilter/vf_deshake_opencl.c ret.rotation = M_PI / 2 - FFSIGN(d) * acos(-c / s); M_PI 1373 libavfilter/vf_deshake_opencl.c old_vals[RingbufRot] * (180.0 / M_PI), M_PI 1374 libavfilter/vf_deshake_opencl.c new_vals[RingbufRot] * (180.0 / M_PI), M_PI 1378 libavfilter/vf_deshake_opencl.c old_vals[RingbufRot] * (180.0 / M_PI) - new_vals[RingbufRot] * (180.0 / M_PI), M_PI 1483 libavfilter/vf_deshake_opencl.c M_PI / 4, M_PI 420 libavfilter/vf_hue.c hue->hue = hue->hue_deg * M_PI / 180; M_PI 423 libavfilter/vf_hue.c hue->hue_deg = hue->hue * 180 / M_PI; M_PI 428 libavfilter/vf_hue.c hue->hue/M_PI, hue->hue_deg, hue->saturation, hue->brightness, M_PI 201 libavfilter/vf_lensfun.c return (2.0f * sin(M_PI * x) * sin(M_PI / 2.0f * x)) / (M_PI * M_PI * x * x); M_PI 1724 libavfilter/vf_lut3d.c const float m = (1.f - cosf(d * M_PI)) * .5f; M_PI 445 libavfilter/vf_rotate.c } else if (fabs(rot->angle - M_PI/2) < FLT_EPSILON && outw == inh && outh == inw) { M_PI 449 libavfilter/vf_rotate.c } else if (fabs(rot->angle - M_PI) < FLT_EPSILON && outw == inw && outh == inh) { M_PI 453 libavfilter/vf_rotate.c } else if (fabs(rot->angle - 3*M_PI/2) < FLT_EPSILON && outw == inh && outh == inw) { M_PI 531 libavfilter/vf_rotate.c rot->var_values[VAR_N], rot->var_values[VAR_T], rot->angle/M_PI); M_PI 470 libavfilter/vf_scale_qsv.c var_values[VAR_PI] = M_PI; M_PI 492 libavfilter/vf_signalstats.c ((int16_t*)p_hue)[i] = fmod(floor((180 / M_PI) * atan2f(yuvu-128, yuvv-128) + 180), 360.); M_PI 531 libavfilter/vf_signalstats.c ((int16_t*)p_hue)[i] = fmod(floor((180 / M_PI) * atan2f(yuvu-mid, yuvv-mid) + 180), 360.); M_PI 526 libavfilter/vf_v360.c const float x = M_PI * (t - i + 1); M_PI 1064 libavfilter/vf_v360.c phi_norm = phi + ((phi > 0.f) ? -M_PI : M_PI); M_PI 1672 libavfilter/vf_v360.c const float phi = ((2.f * i + 0.5f) / width - 1.f) * M_PI; M_PI 1727 libavfilter/vf_v360.c s->flat_range[0] = tanf(FFMIN(s->h_fov, 359.f) * M_PI / 720.f); M_PI 1728 libavfilter/vf_v360.c s->flat_range[1] = tanf(FFMIN(s->v_fov, 359.f) * M_PI / 720.f); M_PI 1773 libavfilter/vf_v360.c s->iflat_range[0] = tanf(FFMIN(s->ih_fov, 359.f) * M_PI / 720.f); M_PI 1774 libavfilter/vf_v360.c s->iflat_range[1] = tanf(FFMIN(s->iv_fov, 359.f) * M_PI / 720.f); M_PI 1841 libavfilter/vf_v360.c const float uf = (phi / M_PI + 1.f) * width / 2.f; M_PI 1911 libavfilter/vf_v360.c s->iflat_range[0] = tanf(0.5f * s->ih_fov * M_PI / 180.f); M_PI 1912 libavfilter/vf_v360.c s->iflat_range[1] = tanf(0.5f * s->iv_fov * M_PI / 180.f); M_PI 1983 libavfilter/vf_v360.c const float uf = (phi / M_PI + 1.f) * width / 2.f; M_PI 1984 libavfilter/vf_v360.c const float vf = (av_clipf(logf((1.f + theta) / (1.f - theta)) / (2.f * M_PI), -1.f, 1.f) + 1.f) * height / 2.f; M_PI 2016 libavfilter/vf_v360.c const float phi = ((2.f * i + 1.f) / width - 1.f) * M_PI + M_PI_2; M_PI 2017 libavfilter/vf_v360.c const float y = ((2.f * j + 1.f) / height - 1.f) * M_PI; M_PI 2199 libavfilter/vf_v360.c const float phi = ((2.f * i + 1.f) / width - 1.f) * M_PI / cosf(theta); M_PI 2234 libavfilter/vf_v360.c const float uf = (phi / M_PI + 1.f) * width / 2.f; M_PI 2515 libavfilter/vf_v360.c s->flat_range[0] = tanf(0.5f * s->h_fov * M_PI / 180.f); M_PI 2516 libavfilter/vf_v360.c s->flat_range[1] = tanf(0.5f * s->v_fov * M_PI / 180.f); M_PI 2633 libavfilter/vf_v360.c const float phi = atan2f(h, vec[2]) / M_PI; M_PI 2751 libavfilter/vf_v360.c s->flat_range[0] = M_PI * s->h_fov / 360.f; M_PI 2752 libavfilter/vf_v360.c s->flat_range[1] = tanf(0.5f * s->v_fov * M_PI / 180.f); M_PI 2802 libavfilter/vf_v360.c s->iflat_range[0] = M_PI * s->ih_fov / 360.f; M_PI 2803 libavfilter/vf_v360.c s->iflat_range[1] = tanf(0.5f * s->iv_fov * M_PI / 180.f); M_PI 2834 libavfilter/vf_v360.c theta <= M_PI * s->iv_fov / 180.f && M_PI 2835 libavfilter/vf_v360.c theta >= -M_PI * s->iv_fov / 180.f; M_PI 3040 libavfilter/vf_v360.c const float theta = acosf(fabsf(vec[2])) / M_PI; M_PI 3094 libavfilter/vf_v360.c const float phi = ((2.f * i) / ew - 1.f) * M_PI / scale; M_PI 3177 libavfilter/vf_v360.c uf = (phi / M_PI * scale + 1.f) * ew / 2.f; M_PI 3341 libavfilter/vf_v360.c const float phi = ((3.f / 2.f * x - 0.5f) / scalew - back) * M_PI; M_PI 3342 libavfilter/vf_v360.c const float theta = (y - 0.25f - 0.5f * back) / scaleh * M_PI; M_PI 3556 libavfilter/vf_v360.c const float yaw_rad = yaw * M_PI / 180.f; M_PI 3557 libavfilter/vf_v360.c const float pitch_rad = pitch * M_PI / 180.f; M_PI 3558 libavfilter/vf_v360.c const float roll_rad = roll * M_PI / 180.f; M_PI 3650 libavfilter/vf_v360.c const float l = d / (tanf(d_fov * M_PI / 720.f)); M_PI 3652 libavfilter/vf_v360.c *h_fov = 2.f * atan2f(w * 0.5f, l) * 360.f / M_PI; M_PI 3653 libavfilter/vf_v360.c *v_fov = 2.f * atan2f(h * 0.5f, l) * 360.f / M_PI; M_PI 3675 libavfilter/vf_v360.c const float da = tanf(0.5f * FFMIN(d_fov, 359.f) * M_PI / 180.f); M_PI 3678 libavfilter/vf_v360.c *h_fov = atan2f(da * w, d) * 360.f / M_PI; M_PI 3679 libavfilter/vf_v360.c *v_fov = atan2f(da * h, d) * 360.f / M_PI; M_PI 4162 libavfilter/vf_v360.c h = w / tanf(s->h_fov * M_PI / 360.f) * tanf(s->v_fov * M_PI / 360.f); M_PI 4166 libavfilter/vf_v360.c w = h / tanf(s->v_fov * M_PI / 360.f) * tanf(s->h_fov * M_PI / 360.f); M_PI 711 libavfilter/vf_xfade.c (progress - 0.5f) * (M_PI * 2.5f); \ M_PI 250 libavfilter/vsrc_gradients.c float angle = fmodf(s->pts / 100.f, 2.f * M_PI); M_PI 102 libavfilter/vsrc_mptestsrc.c c[i*8+j] = s*cos((M_PI/8.0)*i*(j+0.5)); M_PI 54 libavfilter/window_func.h lut[n] = .5*(1-cos(2*M_PI*n/(N-1))); M_PI 59 libavfilter/window_func.h lut[n] = .54-.46*cos(2*M_PI*n/(N-1)); M_PI 64 libavfilter/window_func.h lut[n] = .42659-.49656*cos(2*M_PI*n/(N-1))+.076849*cos(4*M_PI*n/(N-1)); M_PI 74 libavfilter/window_func.h lut[n] = 1.-1.985844164102*cos( 2*M_PI*n/(N-1))+1.791176438506*cos( 4*M_PI*n/(N-1))- M_PI 75 libavfilter/window_func.h 1.282075284005*cos( 6*M_PI*n/(N-1))+0.667777530266*cos( 8*M_PI*n/(N-1))- M_PI 76 libavfilter/window_func.h 0.240160796576*cos(10*M_PI*n/(N-1))+0.056656381764*cos(12*M_PI*n/(N-1))- M_PI 77 libavfilter/window_func.h 0.008134974479*cos(14*M_PI*n/(N-1))+0.000624544650*cos(16*M_PI*n/(N-1))- M_PI 78 libavfilter/window_func.h 0.000019808998*cos(18*M_PI*n/(N-1))+0.000000132974*cos(20*M_PI*n/(N-1)); M_PI 83 libavfilter/window_func.h lut[n] = 0.35875-0.48829*cos(2*M_PI*n/(N-1))+0.14128*cos(4*M_PI*n/(N-1))-0.01168*cos(6*M_PI*n/(N-1)); M_PI 88 libavfilter/window_func.h lut[n] = 0.3635819-0.4891775*cos(2*M_PI*n/(N-1))+0.1365995*cos(4*M_PI*n/(N-1))-0.0106411*cos(6*M_PI*n/(N-1)); M_PI 93 libavfilter/window_func.h lut[n] = 0.62-0.48*fabs(n/(double)(N-1)-.5)-0.38*cos(2*M_PI*n/(N-1)); M_PI 98 libavfilter/window_func.h lut[n] = sin(M_PI*n/(N-1)); M_PI 103 libavfilter/window_func.h lut[n] = 0.355768-0.487396*cos(2*M_PI*n/(N-1))+0.144232*cos(4*M_PI*n/(N-1))-0.012604*cos(6*M_PI*n/(N-1)); M_PI 107 libavfilter/window_func.h #define SINC(x) (!(x)) ? 1 : sin(M_PI * (x))/(M_PI * (x)); M_PI 123 libavfilter/window_func.h lut[n] = 0.5 * (1 + cos((M_PI*(FFABS(n - M) - 0.3 * M))/((1 - 0.3) * M))); M_PI 190 libavfilter/window_func.h lut[n] = (1 - fabs(x)) * cos(M_PI*fabs(x)) + 1./M_PI*sin(M_PI*fabs(x)); M_PI 83 libavresample/resample.c x = M_PI * ((double)(i - center) - (double)ph / phase_count) * factor; M_PI 95 libavresample/resample.c w = 2.0 * x / (factor * tap_count) + M_PI; M_PI 101 libavresample/resample.c w = 2.0 * x / (factor * tap_count * M_PI); M_PI 101 libavresample/tests/avresample.c a += M_PI * 1000.0 * 2.0 / sample_rate; M_PI 111 libavresample/tests/avresample.c a += M_PI * f * 2.0 / sample_rate; M_PI 139 libavresample/tests/avresample.c taba[ch] += M_PI * f * 2.0 / sample_rate; M_PI 153 libavresample/tests/avresample.c a += M_PI * 500.0 * 2.0 / sample_rate; M_PI 154 libavresample/tests/avresample.c ampa += M_PI * 2.0 / sample_rate; M_PI 45 libavutil/display.c CONV_FP(matrix[0]) / scale[0]) * 180 / M_PI; M_PI 52 libavutil/display.c double radians = -angle * M_PI / 180.0f; M_PI 101 libavutil/eval.c { "PI", M_PI }, M_PI 193 libavutil/eval.c case e_gauss: { double d = eval_expr(p, e->param[0]); return exp(-d*d/2)/sqrt(2*M_PI); } M_PI 51 libavutil/mathematics.h #ifndef M_PI M_PI 29 libavutil/tests/eval.c M_PI, M_PI 149 libavutil/tests/softfloat.c errs = (double)s/ (1<<30) - sin(i*M_PI/36); M_PI 150 libavutil/tests/softfloat.c errc = (double)c/ (1<<30) - cos(i*M_PI/36); M_PI 152 libavutil/tests/softfloat.c printf("sincos FAIL %d %f %f %f %f\n", i, (float)s/ (1<<30), (float)c/ (1<<30), sin(i*M_PI/36), cos(i*M_PI/36)); M_PI 66 libavutil/tx_template.c double freq = 2*M_PI/m; M_PI 97 libavutil/tx_template.c TX_NAME(ff_cos_53)[0] = (FFTComplex){ RESCALE(cos(2 * M_PI / 12)), RESCALE(cos(2 * M_PI / 12)) }; M_PI 98 libavutil/tx_template.c TX_NAME(ff_cos_53)[1] = (FFTComplex){ RESCALE(cos(2 * M_PI / 6)), RESCALE(cos(2 * M_PI / 6)) }; M_PI 99 libavutil/tx_template.c TX_NAME(ff_cos_53)[2] = (FFTComplex){ RESCALE(cos(2 * M_PI / 5)), RESCALE(sin(2 * M_PI / 5)) }; M_PI 100 libavutil/tx_template.c TX_NAME(ff_cos_53)[3] = (FFTComplex){ RESCALE(cos(2 * M_PI / 10)), RESCALE(sin(2 * M_PI / 10)) }; M_PI 166 libswresample/resample.c sin_lut[ph] = sin(M_PI * ph / phase_count) * (center & 1 ? 1 : -1); M_PI 171 libswresample/resample.c x = M_PI * ((double)(i - center) - (double)ph / phase_count) * factor; M_PI 190 libswresample/resample.c w = 2.0*x / (factor*tap_count*M_PI); M_PI 245 libswresample/resample.c sine[j]= cos(i*j*M_PI/LEN); M_PI 167 libswresample/tests/swresample.c a += M_PI * 1000.0 * 2.0 / sample_rate; M_PI 177 libswresample/tests/swresample.c a += M_PI * f * 2.0 / sample_rate; M_PI 205 libswresample/tests/swresample.c taba[ch] += M_PI * f * 2.0 / sample_rate; M_PI 219 libswresample/tests/swresample.c a += M_PI * 500.0 * 2.0 / sample_rate; M_PI 220 libswresample/tests/swresample.c ampa += M_PI * 2.0 / sample_rate; M_PI 471 libswscale/utils.c c = cos(floatd * M_PI); M_PI 492 libswscale/utils.c coeff = (d ? sin(floatd * M_PI) / (floatd * M_PI) : 1.0) * fone; M_PI 495 libswscale/utils.c coeff = (d ? sin(floatd * M_PI) * sin(floatd * M_PI / p) / M_PI 496 libswscale/utils.c (floatd * floatd * M_PI * M_PI / p) : 1.0) * fone; M_PI 2054 libswscale/utils.c sqrt(2 * variance * M_PI); M_PI 144 tests/checkasm/vp9dsp.c out[k] += in[n] * cos(M_PI * (2 * n + 1) * k / (sz * 2.0)); M_PI 159 tests/checkasm/vp9dsp.c out[k] += in[n] * sin(M_PI * (n + 1) * (2 * k + 1) / (sz * 2.0 + 1.0)); M_PI 173 tests/checkasm/vp9dsp.c out[k] += in[n] * sin(M_PI * (2 * n + 1) * (2 * k + 1) / (sz * 4.0));