FRAC_ONE 66 libavcodec/mpegaudio.h #define FIX(a) ((int)((a) * FRAC_ONE)) FRAC_ONE 43 libavcodec/mpegaudiodec.c #define FIXR(a) ((int)((a) * FRAC_ONE + 0.5)) FRAC_ONE 44 libavcodec/mpegaudiodec.c #define FRAC_RND(a) (((a) + (FRAC_ONE/2)) >> FRAC_BITS) FRAC_ONE 343 libavcodec/mpegaudiodec.c norm = ((INT64_C(1) << n) * FRAC_ONE) / ((1 << n) - 1); FRAC_ONE 78 tests/audiogen.c a = a & (FRAC_ONE - 1); /* modulo 2 * pi */ FRAC_ONE 79 tests/audiogen.c if (a >= (FRAC_ONE / 2)) FRAC_ONE 80 tests/audiogen.c a = FRAC_ONE - a; FRAC_ONE 82 tests/audiogen.c if (a > (FRAC_ONE / 4)) { FRAC_ONE 84 tests/audiogen.c a = (FRAC_ONE / 2) - a; FRAC_ONE 128 tests/audiogen.c a += (1000 * FRAC_ONE) / FE; FRAC_ONE 138 tests/audiogen.c a += (f * FRAC_ONE) / FE; FRAC_ONE 166 tests/audiogen.c taba[j] += (f * FRAC_ONE) / FE; FRAC_ONE 175 tests/audiogen.c amp = ((FRAC_ONE + int_cos(ampa)) * 5000) >> FRAC_BITS; FRAC_ONE 180 tests/audiogen.c a += (500 * FRAC_ONE) / FE; FRAC_ONE 181 tests/audiogen.c ampa += (2 * FRAC_ONE) / FE; FRAC_ONE 177 tests/videogen.c a = a & (FRAC_ONE - 1); FRAC_ONE 178 tests/videogen.c if (a >= (FRAC_ONE / 2)) FRAC_ONE 179 tests/videogen.c a = FRAC_ONE - a; FRAC_ONE 181 tests/videogen.c if (a > (FRAC_ONE / 4)) { FRAC_ONE 183 tests/videogen.c a = (FRAC_ONE / 2) - a; FRAC_ONE 185 tests/videogen.c v = FRAC_ONE - ((a * a) >> 4); FRAC_ONE 220 tests/videogen.c dx = int_cos(num * FRAC_ONE / 50) * 35; FRAC_ONE 221 tests/videogen.c dy = int_cos(num * FRAC_ONE / 50 + FRAC_ONE / 10) * 30;