mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
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:
parent
cfee731938
commit
58a68b1823
2 changed files with 7 additions and 1 deletions
|
@ -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):
|
||||
|
|
|
@ -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!");
|
||||
|
|
Loading…
Reference in a new issue