[FFmpeg-devel] todays swscale changes
Michael Niedermayer
michaelni at gmx.at
Fri May 27 23:41:51 CEST 2011
Hi
Thank you ronald for fixing 2 of the bugs you added.
lets continue
now swscale segfaults here:
//Note 8280 == DSTW_OFFSET but the preprocessor can't handle that there :(
__asm__ volatile(
"mov %%"REG_b", "ESP_OFFSET"(%5) \n\t"
"mov %4, %%"REG_b" \n\t"
"push %%"REG_BP" \n\t"
YSCALEYUV2PACKED(%%REGBP, %5, %6)
WRITEYUY2(%%REGb, 8280(%5), %%REGBP)
"pop %%"REG_BP" \n\t"
"mov "ESP_OFFSET"(%5), %%"REG_b" \n\t"
:: "c" (buf0), "d" (buf1), "S" (ubuf0), "D" (ubuf1), "m" (dest),
"a" (&c->redDither), "m"(uv_off)
);
%6 is a memory operand and can be addressed by any combination of
registers that are not output or clobber list registers, this includes
RBP/RSP/RBX
or in other words this isnt going to work like that.
Also before you just replace "m" by "r" this will fail on x86_32 in
some configurations.
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Concerning the gods, I have no means of knowing whether they exist or not
or of what sort they may be, because of the obscurity of the subject, and
the brevity of human life -- Protagoras
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110527/6f4b1116/attachment.asc>
More information about the ffmpeg-devel
mailing list