Lines Matching refs:FIXED31_32_BITS_PER_FRACTIONAL_PART
36 #define FIXED31_32_BITS_PER_FRACTIONAL_PART 32 macro
91 res.value = (long long) arg << FIXED31_32_BITS_PER_FRACTIONAL_PART; in dc_fixpt_from_int()
451 return (int)(arg_value >> FIXED31_32_BITS_PER_FRACTIONAL_PART); in dc_fixpt_floor()
453 return -(int)(arg_value >> FIXED31_32_BITS_PER_FRACTIONAL_PART); in dc_fixpt_floor()
471 return (int)(arg_value >> FIXED31_32_BITS_PER_FRACTIONAL_PART); in dc_fixpt_round()
473 return -(int)(arg_value >> FIXED31_32_BITS_PER_FRACTIONAL_PART); in dc_fixpt_round()
492 return (int)(arg_value >> FIXED31_32_BITS_PER_FRACTIONAL_PART); in dc_fixpt_ceil()
494 return -(int)(arg_value >> FIXED31_32_BITS_PER_FRACTIONAL_PART); in dc_fixpt_ceil()
521 if (frac_bits >= FIXED31_32_BITS_PER_FRACTIONAL_PART) { in dc_fixpt_truncate()
522 ASSERT(frac_bits == FIXED31_32_BITS_PER_FRACTIONAL_PART); in dc_fixpt_truncate()
528 arg.value &= (~0ULL) << (FIXED31_32_BITS_PER_FRACTIONAL_PART - frac_bits); in dc_fixpt_truncate()