--- trunk/xvidcore/src/xvid.c 2006/02/25 04:41:12 1688 +++ trunk/xvidcore/src/xvid.c 2006/07/10 08:09:59 1713 @@ -19,7 +19,7 @@ * along with this program ; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id: xvid.c,v 1.68 2006-02-25 04:41:12 suxen_drol Exp $ + * $Id: xvid.c,v 1.70 2006-07-10 08:09:59 syskin Exp $ * ****************************************************************************/ @@ -40,6 +40,7 @@ #include "utils/mbfunctions.h" #include "quant/quant.h" #include "motion/motion.h" +#include "motion/gmc.h" #include "motion/sad.h" #include "utils/emms.h" #include "utils/timer.h" @@ -306,6 +307,8 @@ sse8_16bit = sse8_16bit_c; sse8_8bit = sse8_8bit_c; + init_GMC(cpu_flags); + #if defined(ARCH_IS_IA32) if ((cpu_flags & XVID_CPU_MMX) || (cpu_flags & XVID_CPU_MMXEXT) || @@ -436,7 +439,6 @@ interpolate8x8_halfpel_hv_add = interpolate8x8_halfpel_hv_add_xmm; /* Quantization */ - quant_mpeg_intra = quant_mpeg_intra_xmm; quant_mpeg_inter = quant_mpeg_inter_xmm; dequant_h263_intra = dequant_h263_intra_xmm; @@ -673,7 +675,7 @@ quant_h263_inter = quant_h263_inter_x86_64; dequant_h263_intra = dequant_h263_intra_x86_64; dequant_h263_inter = dequant_h263_inter_x86_64; - quant_mpeg_intra = quant_mpeg_intra_x86_64; + /*quant_mpeg_intra = quant_mpeg_intra_x86_64; fix me! */ quant_mpeg_inter = quant_mpeg_inter_x86_64; dequant_mpeg_intra = dequant_mpeg_intra_x86_64; dequant_mpeg_inter = dequant_mpeg_inter_x86_64;