Mercurial > libavcodec.hg
comparison dsputil.h @ 7135:6bd6a2da306e libavcodec
Define mm_flags/support to be 0 on architectures where they don't exist.
Make sure we don't try to set them if that's the case.
This lets dct-test and fft-test build with --disable-mmx on x86, but not yet on ARM.
author | astrange |
---|---|
date | Tue, 24 Jun 2008 23:51:17 +0000 |
parents | b0820b8bd4dd |
children | 87b1dfb5a98d |
comparison
equal
deleted
inserted
replaced
7134:1238746e1301 | 7135:6bd6a2da306e |
---|---|
576 #elif defined(HAVE_MMI) | 576 #elif defined(HAVE_MMI) |
577 | 577 |
578 #define DECLARE_ALIGNED_8(t, v) DECLARE_ALIGNED(16, t, v) | 578 #define DECLARE_ALIGNED_8(t, v) DECLARE_ALIGNED(16, t, v) |
579 #define STRIDE_ALIGN 16 | 579 #define STRIDE_ALIGN 16 |
580 | 580 |
581 #else | |
582 | |
583 #define mm_flags 0 | |
584 #define mm_support() 0 | |
585 | |
581 #endif | 586 #endif |
582 | 587 |
583 #ifndef DECLARE_ALIGNED_8 | 588 #ifndef DECLARE_ALIGNED_8 |
584 # define DECLARE_ALIGNED_8(t, v) DECLARE_ALIGNED(8, t, v) | 589 # define DECLARE_ALIGNED_8(t, v) DECLARE_ALIGNED(8, t, v) |
585 #endif | 590 #endif |