Browse Source

avfilter: x86: Use more precise compile template names

tags/n1.0
Diego Biurrun 13 years ago
parent
commit
cdaec0b240
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      libavfilter/x86/yadif.c
  2. +1
    -1
      libavfilter/x86/yadif_template.c

+ 2
- 2
libavfilter/x86/yadif.c View File

@@ -32,7 +32,7 @@ DECLARE_ASM_CONST(16, const xmm_reg, pb_1) = {0x0101010101010101ULL, 0x010101010
DECLARE_ASM_CONST(16, const xmm_reg, pw_1) = {0x0001000100010001ULL, 0x0001000100010001ULL};

#if HAVE_SSSE3
#define COMPILE_TEMPLATE_SSE 1
#define COMPILE_TEMPLATE_SSE2 1
#define COMPILE_TEMPLATE_SSSE3 1
#undef RENAME
#define RENAME(a) a ## _ssse3
@@ -44,7 +44,7 @@ DECLARE_ASM_CONST(16, const xmm_reg, pw_1) = {0x0001000100010001ULL, 0x000100010
#undef RENAME
#define RENAME(a) a ## _sse2
#include "yadif_template.c"
#undef COMPILE_TEMPLATE_SSE
#undef COMPILE_TEMPLATE_SSE2
#endif

#if HAVE_MMXEXT


+ 1
- 1
libavfilter/x86/yadif_template.c View File

@@ -18,7 +18,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/

#ifdef COMPILE_TEMPLATE_SSE
#ifdef COMPILE_TEMPLATE_SSE2
#define MM "%%xmm"
#define MOV "movq"
#define MOVQ "movdqa"


Loading…
Cancel
Save