Commit e484b64c authored by Michael Niedermayer's avatar Michael Niedermayer

sws: fallback to mmx2 when yuv2yuvX_sse3() cannot be used.

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent f44ad92c
......@@ -180,6 +180,9 @@ static void yuv2yuvX_sse3(const int16_t *filter, int filterSize,
const int16_t **src, uint8_t *dest, int dstW,
const uint8_t *dither, int offset)
{
if(((int)dest) & 15){
return yuv2yuvX_MMX2(filter, filterSize, src, dest, dstW, dither, offset);
}
if (offset) {
__asm__ volatile("movq (%0), %%xmm3\n\t"
"movdqa %%xmm3, %%xmm4\n\t"
......
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