diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2010-04-22 13:30:55 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2010-04-22 13:30:55 +0200 |
commit | 5a530b19e84b2e233220970f7e35e32218393ad0 (patch) | |
tree | ac45f2c2b89143f136c905a2c8b651c6d0b11355 | |
parent | a27856e6b8becfe64e9e043937afb99840179bd6 (diff) |
videomixer: Fix byte order for MMX ARGB/AYUV color filling
Fixes bug #616409.
-rw-r--r-- | gst/videomixer/blend.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gst/videomixer/blend.c b/gst/videomixer/blend.c index 58d30fd29..29b50486c 100644 --- a/gst/videomixer/blend.c +++ b/gst/videomixer/blend.c @@ -546,10 +546,10 @@ _fill_color_loop_##name##_mmx (guint8 *dest, gint height, gint width, gint c1, g _memset_u32_mmx ((guint32 *) dest, val, height*width); \ } -A32_COLOR_LOOP_MMX (argb, 24, 16, 8, 0); -A32_COLOR_LOOP_MMX (abgr, 24, 0, 8, 16); -A32_COLOR_LOOP_MMX (rgba, 0, 24, 16, 8); -A32_COLOR_LOOP_MMX (bgra, 0, 8, 16, 24); +A32_COLOR_LOOP_MMX (argb, 0, 8, 16, 24); +A32_COLOR_LOOP_MMX (abgr, 0, 24, 16, 8); +A32_COLOR_LOOP_MMX (rgba, 24, 0, 8, 16); +A32_COLOR_LOOP_MMX (bgra, 24, 16, 8, 0); A32_COLOR (argb_mmx, TRUE, _fill_color_loop_argb_mmx); A32_COLOR (bgra_mmx, TRUE, _fill_color_loop_bgra_mmx); |