diff options
author | Diego Biurrun <diego@biurrun.de> | 2014-07-21 13:13:21 -0700 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2014-08-01 01:25:18 -0700 |
commit | a786c8259dafeca9744252230b5d78f67810770c (patch) | |
tree | aade39c2a8bc84ea95306d7a8117d4e05c908139 /libavcodec/x86/dct-test.c | |
parent | 03c9f357a4c2307a7913cea2cbf0ba817e80beb6 (diff) | |
download | ffmpeg-a786c8259dafeca9744252230b5d78f67810770c.tar.gz |
idct: Split off Xvid IDCT
The Xvid IDCT is only required to decode some Xvid-encoded MPEG-4 files,
so there is no point in having it as an unconditional part of idctdsp.
Diffstat (limited to 'libavcodec/x86/dct-test.c')
-rw-r--r-- | libavcodec/x86/dct-test.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/x86/dct-test.c b/libavcodec/x86/dct-test.c index 2df9170879..d97c53c7d1 100644 --- a/libavcodec/x86/dct-test.c +++ b/libavcodec/x86/dct-test.c @@ -38,6 +38,9 @@ static const struct algo fdct_tab_arch[] = { static const struct algo idct_tab_arch[] = { #if HAVE_MMX_INLINE { "SIMPLE-MMX", ff_simple_idct_mmx, FF_IDCT_PERM_SIMPLE, AV_CPU_FLAG_MMX }, +#endif +#if CONFIG_MPEG4_DECODER +#if HAVE_MMX_INLINE { "XVID-MMX", ff_idct_xvid_mmx, FF_IDCT_PERM_NONE, AV_CPU_FLAG_MMX, 1 }, #endif #if HAVE_MMXEXT_INLINE @@ -46,6 +49,7 @@ static const struct algo idct_tab_arch[] = { #if HAVE_SSE2_INLINE { "XVID-SSE2", ff_idct_xvid_sse2, FF_IDCT_PERM_SSE2, AV_CPU_FLAG_SSE2, 1 }, #endif +#endif /* CONFIG_MPEG4_DECODER */ { 0 } }; |