[FFmpeg-cvslog] avfilter: x86: Use more precise compile template names

Diego Biurrun git at videolan.org
Fri Aug 31 13:08:36 CEST 2012


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Tue Aug 28 14:09:35 2012 +0200| [cdaec0b24045963487f121a7a191dcdb530d008d] | committer: Diego Biurrun

avfilter: x86: Use more precise compile template names

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=cdaec0b24045963487f121a7a191dcdb530d008d
---

 libavfilter/x86/yadif.c          |    4 ++--
 libavfilter/x86/yadif_template.c |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/libavfilter/x86/yadif.c b/libavfilter/x86/yadif.c
index 750db42..cdf13d3 100644
--- a/libavfilter/x86/yadif.c
+++ b/libavfilter/x86/yadif.c
@@ -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
diff --git a/libavfilter/x86/yadif_template.c b/libavfilter/x86/yadif_template.c
index 3e45f4f..02b0c9f 100644
--- a/libavfilter/x86/yadif_template.c
+++ b/libavfilter/x86/yadif_template.c
@@ -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"



More information about the ffmpeg-cvslog mailing list