467 |
Offsets[ i] = u; |
Offsets[ i] = u; |
468 |
Offsets[16+i] = v; |
Offsets[16+i] = v; |
469 |
} |
} |
470 |
|
|
471 |
|
{ |
472 |
// batch 8 input pixels when linearity says it's ok |
// batch 8 input pixels when linearity says it's ok |
473 |
uint32_t UV1, UV2; |
uint32_t UV1, UV2; |
474 |
UV1 = (Offsets[0] | (Offsets[16]<<16)) & 0xfff0fff0U; |
UV1 = (Offsets[0] | (Offsets[16]<<16)) & 0xfff0fff0U; |
484 |
else |
else |
485 |
GMC_Core_Non_Lin_8(dst+8, Offsets+8, src, srcstride, Rounder); |
GMC_Core_Non_Lin_8(dst+8, Offsets+8, src, srcstride, Rounder); |
486 |
} |
} |
487 |
|
} |
488 |
else |
else |
489 |
{ |
{ |
490 |
for(i=0; i<16; ++i) |
for(i=0; i<16; ++i) |
543 |
Offsets[ i] = u; |
Offsets[ i] = u; |
544 |
Offsets[16+i] = v; |
Offsets[16+i] = v; |
545 |
} |
} |
546 |
|
|
547 |
|
{ |
548 |
// batch 8 input pixels when linearity says it's ok |
// batch 8 input pixels when linearity says it's ok |
549 |
const uint32_t UV1 = (Offsets[ 0] | (Offsets[16]<<16)) & 0xfff0fff0U; |
const uint32_t UV1 = (Offsets[ 0] | (Offsets[16]<<16)) & 0xfff0fff0U; |
550 |
const uint32_t UV2 = (Offsets[ 7] | (Offsets[23]<<16)) & 0xfff0fff0U; |
const uint32_t UV2 = (Offsets[ 7] | (Offsets[23]<<16)) & 0xfff0fff0U; |
559 |
GMC_Core_Non_Lin_8(vDst, Offsets, vSrc, srcstride, Rounder); |
GMC_Core_Non_Lin_8(vDst, Offsets, vSrc, srcstride, Rounder); |
560 |
} |
} |
561 |
} |
} |
562 |
|
} |
563 |
else |
else |
564 |
{ |
{ |
565 |
for(i=0; i<8; ++i) |
for(i=0; i<8; ++i) |
589 |
Predict_16x16_func = Predict_16x16_C; |
Predict_16x16_func = Predict_16x16_C; |
590 |
Predict_8x8_func = Predict_8x8_C; |
Predict_8x8_func = Predict_8x8_C; |
591 |
|
|
592 |
#if 0 // #if defined(ARCH_IS_IA32) |
#if defined(ARCH_IS_IA32) |
593 |
if ((cpu_flags & XVID_CPU_MMX) || (cpu_flags & XVID_CPU_MMXEXT) || |
if ((cpu_flags & XVID_CPU_MMX) || (cpu_flags & XVID_CPU_MMXEXT) || |
594 |
(cpu_flags & XVID_CPU_3DNOW) || (cpu_flags & XVID_CPU_3DNOWEXT) || |
(cpu_flags & XVID_CPU_3DNOW) || (cpu_flags & XVID_CPU_3DNOWEXT) || |
595 |
(cpu_flags & XVID_CPU_SSE) || (cpu_flags & XVID_CPU_SSE2)) |
(cpu_flags & XVID_CPU_SSE) || (cpu_flags & XVID_CPU_SSE2)) |