Changeset 299 for libmpc/trunk/include


Ignore:
Timestamp:
04/27/07 12:50:17 (18 years ago)
Author:
r2d
Message:
  • moved some MPC_FIXED_POINT defines from mpcdec_math.h to mpc_types.h
  • added MPC_FIXED_POINT to mpcdec to test all this
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libmpc/trunk/include/mpc/mpc_types.h

    r204 r299  
    9393
    9494#ifdef MPC_FIXED_POINT
     95# define MPC_FIXED_POINT_SHIFT 16
     96# define MPC_FIXED_POINT_FRACTPART 14
     97# define MPC_FIXED_POINT_SCALE_SHIFT (MPC_FIXED_POINT_SHIFT + MPC_FIXED_POINT_FRACTPART)
     98# define MPC_FIXED_POINT_SCALE (1 << (MPC_FIXED_POINT_SCALE_SHIFT - 1))
    9599typedef mpc_int32_t MPC_SAMPLE_FORMAT;
    96100#else
Note: See TracChangeset for help on using the changeset viewer.