diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2013-03-12 07:28:12 -0700 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2013-04-15 12:32:05 +0300 |
commit | 015821229f96bf7e677f2a711a58dbea3009f574 (patch) | |
tree | 2247f2d16c077a1f887656b8859b164eca6b84df /libavcodec/x86/vp3dsp_init.c | |
parent | 5941978e71d2c3a8e2a7e87951e081e0b2e77da9 (diff) | |
download | ffmpeg-015821229f96bf7e677f2a711a58dbea3009f574.tar.gz |
vp3: Use full transpose for all IDCTs
This way, the special IDCT permutations are no longer needed. This
is similar to how H264 does it, and removes the dsputil dependency
imposed by the scantable code.
Also remove the unused type == 0 cases from the plain C version
of the idct.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/x86/vp3dsp_init.c')
-rw-r--r-- | libavcodec/x86/vp3dsp_init.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/x86/vp3dsp_init.c b/libavcodec/x86/vp3dsp_init.c index 2668bcf5b9..cc52fbccdd 100644 --- a/libavcodec/x86/vp3dsp_init.c +++ b/libavcodec/x86/vp3dsp_init.c @@ -48,7 +48,6 @@ av_cold void ff_vp3dsp_init_x86(VP3DSPContext *c, int flags) if (EXTERNAL_MMX(cpuflags)) { c->idct_put = ff_vp3_idct_put_mmx; c->idct_add = ff_vp3_idct_add_mmx; - c->idct_perm = FF_PARTTRANS_IDCT_PERM; } #endif @@ -64,6 +63,5 @@ av_cold void ff_vp3dsp_init_x86(VP3DSPContext *c, int flags) if (EXTERNAL_SSE2(cpuflags)) { c->idct_put = ff_vp3_idct_put_sse2; c->idct_add = ff_vp3_idct_add_sse2; - c->idct_perm = FF_TRANSPOSE_IDCT_PERM; } } |