summaryrefslogtreecommitdiff
path: root/libavcodec/simple_idct.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-09-06 00:10:45 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-09-06 01:19:37 +0200
commitae57e82469c99538dd14adbe73df663709d71758 (patch)
treee95a9b84dd242e4ab7cd14350955ba06f5425870 /libavcodec/simple_idct.c
parentd2e237338db280ffcdc6ea6f290c58a3b055ba35 (diff)
downloadffmpeg-ae57e82469c99538dd14adbe73df663709d71758.tar.gz
avcodec/dsputil: add 12bit simple idct
Will be needed for jpeg Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/simple_idct.c')
-rw-r--r--libavcodec/simple_idct.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/simple_idct.c b/libavcodec/simple_idct.c
index d204565ea4..73f62b4021 100644
--- a/libavcodec/simple_idct.c
+++ b/libavcodec/simple_idct.c
@@ -38,6 +38,10 @@
#include "simple_idct_template.c"
#undef BIT_DEPTH
+#define BIT_DEPTH 12
+#include "simple_idct_template.c"
+#undef BIT_DEPTH
+
/* 2x4x8 idct */
#define CN_SHIFT 12