gst/goom/plugin_info.c: Use extended MMX for draw_line() too if available, not only normal MMX.

Original commit message from CVS:
* gst/goom/plugin_info.c: (setOptimizedMethods):
Use extended MMX for draw_line() too if available, not only
normal MMX.
This commit is contained in:
Sebastian Dröge 2008-02-25 10:32:35 +00:00
parent cfee731938
commit 58a68b1823
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
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):

View 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!");