diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2011-09-30 14:37:11 +0200 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2011-10-11 07:50:48 -0700 |
commit | e3f530feca80627e278e15fbe3b60cef7a6b630d (patch) | |
tree | 83a8baa47aae275182f4da7cb9268c0d7be82e83 /libavcodec/proresdsp.c | |
parent | 6aa3cac6bf561712086ae413a36b5f05087c8887 (diff) | |
download | ffmpeg-e3f530feca80627e278e15fbe3b60cef7a6b630d.tar.gz |
prores: idct sse2/sse4 optimizations.
~3.0-3.5x as fast as original C version, 1.6x as fast overall.
Diffstat (limited to 'libavcodec/proresdsp.c')
-rw-r--r-- | libavcodec/proresdsp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/proresdsp.c b/libavcodec/proresdsp.c index 3038176003..7e753e9dc7 100644 --- a/libavcodec/proresdsp.c +++ b/libavcodec/proresdsp.c @@ -56,6 +56,8 @@ void ff_proresdsp_init(ProresDSPContext *dsp) dsp->idct_put = prores_idct_put_c; dsp->idct_permutation_type = FF_NO_IDCT_PERM; + if (HAVE_MMX) ff_proresdsp_x86_init(dsp); + ff_init_scantable_permutation(dsp->idct_permutation, dsp->idct_permutation_type); } |