gst/goom/plugin_info.c: Use extended MMX for draw_line() too if available, not only...
authorSebastian Dröge <slomo@circular-chaos.org>
Mon, 25 Feb 2008 10:32:35 +0000 (10:32 +0000)
committerSebastian Dröge <slomo@circular-chaos.org>
Mon, 25 Feb 2008 10:32:35 +0000 (10:32 +0000)
Original commit message from CVS:
* gst/goom/plugin_info.c: (setOptimizedMethods):
Use extended MMX for draw_line() too if available, not only
normal MMX.

ChangeLog
gst/goom/plugin_info.c

index 80e5ac8..89895f1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2008-02-25  Sebastian Dröge  <slomo@circular-chaos.org>
 
+       * gst/goom/plugin_info.c: (setOptimizedMethods):
+       Use extended MMX for draw_line() too if available, not only
+       normal MMX.
+
+2008-02-25  Sebastian Dröge  <slomo@circular-chaos.org>
+
        * ext/jpeg/gstjpeg.c: (plugin_init):
        Remove (commented out) smoke typefinder. This is in base now.
 
index 0fba325..420f45a 100644 (file)
@@ -47,7 +47,7 @@ setOptimizedMethods (PluginInfo * p)
   GST_INFO ("have an x86");
   if (cpuFlavour & OIL_IMPL_FLAG_MMXEXT) {
     GST_INFO ("Extended MMX detected. Using the fastest methods!");
-    p->methods.draw_line = draw_line_mmx;
+    p->methods.draw_line = draw_line_xmmx;
     p->methods.zoom_filter = zoom_filter_xmmx;
   } else if (cpuFlavour & OIL_IMPL_FLAG_MMX) {
     GST_INFO ("MMX detected. Using fast methods!");