Originally committed as revision 23119 to svn://svn.ffmpeg.org/ffmpeg/trunk
Unified · Split
| @@ -40,7 +40,7 @@ · 39 unmodified lines | |||
| 40 | #include "mathops.h" | 40 | #include "mathops.h" |
| 41 | 41 | ||
| 42 | #if CONFIG_FLOAT | 42 | #if CONFIG_FLOAT |
| 43 | # define SHR(a,b) ((a)*(1.0/(1<<(b)))) | 43 | # define SHR(a,b) ((a)*(1.0f/(1<<(b)))) |
| 44 | # define compute_antialias compute_antialias_float | 44 | # define compute_antialias compute_antialias_float |
| 45 | # define FIXR_OLD(a) ((int)((a) * FRAC_ONE + 0.5)) | 45 | # define FIXR_OLD(a) ((int)((a) * FRAC_ONE + 0.5)) |
| 46 | # define FIXR(x) ((float)(x)) | 46 | # define FIXR(x) ((float)(x)) |