400 |
extern void xvid_GMC_Core_Lin_8_sse2(uint8_t *Dst, const uint16_t * Offsets, |
extern void xvid_GMC_Core_Lin_8_sse2(uint8_t *Dst, const uint16_t * Offsets, |
401 |
const uint8_t * const Src0, const int BpS, const int Rounder); |
const uint8_t * const Src0, const int BpS, const int Rounder); |
402 |
|
|
403 |
|
extern void xvid_GMC_Core_Lin_8_sse41(uint8_t *Dst, const uint16_t * Offsets, |
404 |
|
const uint8_t * const Src0, const int BpS, const int Rounder); |
405 |
|
|
406 |
/* *************************************************************/ |
/* *************************************************************/ |
407 |
|
|
408 |
static void GMC_Core_Non_Lin_8(uint8_t *Dst, |
static void GMC_Core_Non_Lin_8(uint8_t *Dst, |
593 |
#if defined(ARCH_IS_IA32) |
#if defined(ARCH_IS_IA32) |
594 |
if ((cpu_flags & XVID_CPU_MMX) || (cpu_flags & XVID_CPU_MMXEXT) || |
if ((cpu_flags & XVID_CPU_MMX) || (cpu_flags & XVID_CPU_MMXEXT) || |
595 |
(cpu_flags & XVID_CPU_3DNOW) || (cpu_flags & XVID_CPU_3DNOWEXT) || |
(cpu_flags & XVID_CPU_3DNOW) || (cpu_flags & XVID_CPU_3DNOWEXT) || |
596 |
(cpu_flags & XVID_CPU_SSE) || (cpu_flags & XVID_CPU_SSE2)) |
(cpu_flags & XVID_CPU_SSE) || (cpu_flags & XVID_CPU_SSE2) || |
597 |
|
(cpu_flags & XVID_CPU_SSE3) || (cpu_flags & XVID_CPU_SSE41)) |
598 |
{ |
{ |
599 |
Predict_16x16_func = Predict_16x16_mmx; |
Predict_16x16_func = Predict_16x16_mmx; |
600 |
Predict_8x8_func = Predict_8x8_mmx; |
Predict_8x8_func = Predict_8x8_mmx; |
601 |
|
#if 0 |
602 |
|
if (cpu_flags & XVID_CPU_SSE41) |
603 |
|
GMC_Core_Lin_8 = xvid_GMC_Core_Lin_8_sse41; |
604 |
|
else |
605 |
|
#endif |
606 |
if (cpu_flags & XVID_CPU_SSE2) |
if (cpu_flags & XVID_CPU_SSE2) |
607 |
GMC_Core_Lin_8 = xvid_GMC_Core_Lin_8_sse2; |
GMC_Core_Lin_8 = xvid_GMC_Core_Lin_8_sse2; |
608 |
else |
else |