ref: d807cecf50677f77a66e0af37e47eed77fedddc9
parent: feabc7c5605812117f68c93daabdb9fc36f4eef5
author: Erik de Castro Lopo <erikd@mega-nerd.com>
date: Thu May 24 19:58:45 EDT 2007
src/src_sinc.c : Rename INT_TO_FP -> int_to_fp.
--- a/src/src_sinc.c
+++ b/src/src_sinc.c
@@ -98,9 +98,9 @@
} /* double_to_fp */
static inline increment_t
-INT_TO_FP (int x)
+int_to_fp (int x)
{ return (((increment_t) (x)) << SHIFT_BITS) ;
-} /* INT_TO_FP */
+} /* int_to_fp */
static inline int
fp_fraction_part (increment_t x)
@@ -440,7 +440,7 @@
int data_index, coeff_count, indx ;
/* Convert input parameters into fixed point. */
- max_filter_index = INT_TO_FP (filter->coeff_half_len) ;
+ max_filter_index = int_to_fp (filter->coeff_half_len) ;
/* First apply the left half of the filter. */
filter_index = start_filter_index ;