|
|
@ -26,6 +26,7 @@ |
|
|
|
#define R(x) x |
|
|
|
#define R(x) x |
|
|
|
#define SAMPLE float |
|
|
|
#define SAMPLE float |
|
|
|
#define COEFF float |
|
|
|
#define COEFF float |
|
|
|
|
|
|
|
#define INTER float |
|
|
|
#define RENAME(x) x ## _float |
|
|
|
#define RENAME(x) x ## _float |
|
|
|
#include "rematrix_template.c" |
|
|
|
#include "rematrix_template.c" |
|
|
|
#undef SAMPLE |
|
|
|
#undef SAMPLE |
|
|
@ -33,11 +34,13 @@ |
|
|
|
#undef R |
|
|
|
#undef R |
|
|
|
#undef ONE |
|
|
|
#undef ONE |
|
|
|
#undef COEFF |
|
|
|
#undef COEFF |
|
|
|
|
|
|
|
#undef INTER |
|
|
|
|
|
|
|
|
|
|
|
#define ONE (1.0) |
|
|
|
#define ONE (1.0) |
|
|
|
#define R(x) x |
|
|
|
#define R(x) x |
|
|
|
#define SAMPLE double |
|
|
|
#define SAMPLE double |
|
|
|
#define COEFF double |
|
|
|
#define COEFF double |
|
|
|
|
|
|
|
#define INTER double |
|
|
|
#define RENAME(x) x ## _double |
|
|
|
#define RENAME(x) x ## _double |
|
|
|
#include "rematrix_template.c" |
|
|
|
#include "rematrix_template.c" |
|
|
|
#undef SAMPLE |
|
|
|
#undef SAMPLE |
|
|
@ -45,11 +48,13 @@ |
|
|
|
#undef R |
|
|
|
#undef R |
|
|
|
#undef ONE |
|
|
|
#undef ONE |
|
|
|
#undef COEFF |
|
|
|
#undef COEFF |
|
|
|
|
|
|
|
#undef INTER |
|
|
|
|
|
|
|
|
|
|
|
#define ONE (-32768) |
|
|
|
#define ONE (-32768) |
|
|
|
#define R(x) (((x) + 16384)>>15) |
|
|
|
#define R(x) (((x) + 16384)>>15) |
|
|
|
#define SAMPLE int16_t |
|
|
|
#define SAMPLE int16_t |
|
|
|
#define COEFF int |
|
|
|
#define COEFF int |
|
|
|
|
|
|
|
#define INTER int |
|
|
|
#define RENAME(x) x ## _s16 |
|
|
|
#define RENAME(x) x ## _s16 |
|
|
|
#include "rematrix_template.c" |
|
|
|
#include "rematrix_template.c" |
|
|
|
|
|
|
|
|
|
|
|