summaryrefslogtreecommitdiff
path: root/libavcodec/jpeg2000dsp.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2015-06-13 13:11:51 -0300
committerJames Almer <jamrial@gmail.com>2015-06-13 16:53:27 -0300
commit7912a6830d3a4a9e5829ba43082f677c638abf2c (patch)
treecc10768b9d63a6fd3b257397b4a041147b61eab8 /libavcodec/jpeg2000dsp.c
parenta98d4d5207502a6dace278e69db288da0c192a28 (diff)
downloadffmpeg-7912a6830d3a4a9e5829ba43082f677c638abf2c.tar.gz
avcodec/jpeg200dsp: add ff_ict_float_{sse,avx}
Original intrinsics version by Nicolas Bertrand. Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/jpeg2000dsp.c')
-rw-r--r--libavcodec/jpeg2000dsp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/jpeg2000dsp.c b/libavcodec/jpeg2000dsp.c
index a7c7f53b7a..d183cbb87d 100644
--- a/libavcodec/jpeg2000dsp.c
+++ b/libavcodec/jpeg2000dsp.c
@@ -95,4 +95,7 @@ av_cold void ff_jpeg2000dsp_init(Jpeg2000DSPContext *c)
c->mct_decode[FF_DWT97] = ict_float;
c->mct_decode[FF_DWT53] = rct_int;
c->mct_decode[FF_DWT97_INT] = ict_int;
+
+ if (ARCH_X86)
+ ff_jpeg2000dsp_init_x86(c);
}