12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- #define Nhc 8
- #define Na 7
- #define Np (Nhc+Na)
- #define Npc (1<<Nhc)
- #define Amask ((1<<Na)-1)
- #define Pmask ((1<<Np)-1)
- #define Nh 16
- #define Nb 16
- #define Nhxn 14
- #define Nhg (Nh-Nhxn)
- #define NLpScl 13
- typedef char BOOL;
- typedef short HWORD;
- typedef unsigned short UHWORD;
- typedef int WORD;
- typedef unsigned int UWORD;
- struct resample16_s;
- typedef enum { RESAMPLE16_FAST, RESAMPLE16_SMALL, RESAMPLE16_LARGE, RESAMPLE_CUSTOM } resample16_filter_e;
- WORD resample16(struct resample16_s *r, HWORD X[], int inCount, HWORD Y[]);
- struct resample16_s* resample16_create(double factor, resample16_filter_e filter, BOOL interp);
- void resample16_delete(struct resample16_s *r);
- void resample16_flush(struct resample16_s *r);
|