Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-10-26 02:40:29 +0400
committerMichael Niedermayer <michaelni@gmx.at>2011-10-26 02:46:46 +0400
commit1e40b2c22b24a5758bcfce7620355750313c930d (patch)
tree1ea2e2860ad252ab6a64247b88e3b340238b6785 /libswresample/rematrix.c
parent9f9b2ab1b1efce851394e8ff120fb150fa0efba1 (diff)
rematrix: add type for coefficients
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswresample/rematrix.c')
-rw-r--r--libswresample/rematrix.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libswresample/rematrix.c b/libswresample/rematrix.c
index 4a3ada62f4..b3e3e4a664 100644
--- a/libswresample/rematrix.c
+++ b/libswresample/rematrix.c
@@ -25,16 +25,19 @@
#define ONE (1.0)
#define R(x) x
#define SAMPLE float
+#define COEFF float
#define RENAME(x) x ## _float
#include "rematrix_template.c"
#undef SAMPLE
#undef RENAME
#undef R
#undef ONE
+#undef COEFF
#define ONE (-32768)
#define R(x) (((x) + 16384)>>15)
#define SAMPLE int16_t
+#define COEFF int
#define RENAME(x) x ## _s16
#include "rematrix_template.c"