mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
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: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
051257495a
commit
05577aafaa
@ -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" \
|
||||
); \
|
||||
} \
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user