44 |
#include "utils/emms.h" |
#include "utils/emms.h" |
45 |
#include "utils/timer.h" |
#include "utils/timer.h" |
46 |
#include "bitstream/mbcoding.h" |
#include "bitstream/mbcoding.h" |
47 |
|
#include "image/qpel.h" |
48 |
|
|
49 |
#if defined(ARCH_IS_IA32) |
#if defined(ARCH_IS_IA32) |
50 |
|
|
182 |
|
|
183 |
init_param->cpu_flags = cpu_flags; |
init_param->cpu_flags = cpu_flags; |
184 |
|
|
185 |
|
/* Qpel stuff */ |
186 |
|
xvid_QP_Funcs = &xvid_QP_Funcs_C; |
187 |
|
xvid_QP_Add_Funcs = &xvid_QP_Add_Funcs_C; |
188 |
|
xvid_Init_QP_mmx(); |
189 |
|
|
190 |
/* Initialize the function pointers */ |
/* Initialize the function pointers */ |
191 |
idct_int32_init(); |
idct_int32_init(); |
323 |
|
|
324 |
if ((cpu_flags & XVID_CPU_MMX)) { |
if ((cpu_flags & XVID_CPU_MMX)) { |
325 |
|
|
326 |
|
/* Qpel stuff */ |
327 |
|
xvid_QP_Funcs = &xvid_QP_Funcs_mmx; |
328 |
|
xvid_QP_Add_Funcs = &xvid_QP_Add_Funcs_mmx; |
329 |
|
xvid_Init_QP_mmx(); |
330 |
|
|
331 |
/* Forward and Inverse Discrete Cosine Transformation functions */ |
/* Forward and Inverse Discrete Cosine Transformation functions */ |
332 |
fdct = fdct_mmx; |
fdct = fdct_mmx; |
333 |
idct = idct_mmx; |
idct = idct_mmx; |