Commit 05577aaf authored by Michael Niedermayer's avatar Michael Niedermayer

sws: yuv2rgb asm, add memory clobber.

This fixes dithering for rgb555le, it appears gcc had moved the
setup of the variables after the asm or something like that.
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 05125749
......@@ -138,6 +138,7 @@
: "+r" (index), "+r" (image) \
: "r" (pu - index), "r" (pv - index), "r"(&c->redDither), \
"r" (py - 2*index) \
: "memory" \
); \
} \
......@@ -145,6 +146,7 @@
: "+r" (index), "+r" (image) \
: "r" (pu - index), "r" (pv - index), "r"(&c->redDither), \
"r" (py - 2*index), "r" (pa - 2*index) \
: "memory" \
); \
} \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment