339 |
sse8_16bit = sse8_16bit_c; |
sse8_16bit = sse8_16bit_c; |
340 |
sse8_8bit = sse8_8bit_c; |
sse8_8bit = sse8_8bit_c; |
341 |
|
|
342 |
|
sseh8_16bit = sseh8_16bit_c; |
343 |
|
coeff8_energy = coeff8_energy_c; |
344 |
|
blocksum8 = blocksum8_c; |
345 |
|
|
346 |
init_GMC(cpu_flags); |
init_GMC(cpu_flags); |
347 |
|
|
348 |
#if defined(ARCH_IS_IA32) || defined(ARCH_IS_X86_64) |
#if defined(ARCH_IS_IA32) || defined(ARCH_IS_X86_64) |
574 |
sad16 = sad16_sse2; |
sad16 = sad16_sse2; |
575 |
dev16 = dev16_sse2; |
dev16 = dev16_sse2; |
576 |
|
|
577 |
|
/* PSNR-HVS-M distortion metric */ |
578 |
|
sseh8_16bit = sseh8_16bit_sse2; |
579 |
|
coeff8_energy = coeff8_energy_sse2; |
580 |
|
blocksum8 = blocksum8_sse2; |
581 |
|
|
582 |
/* DCT operators */ |
/* DCT operators */ |
583 |
fdct = fdct_sse2_skal; |
fdct = fdct_sse2_skal; |
584 |
idct = idct_sse2_skal; /* Is now IEEE1180 and Walken compliant. */ |
idct = idct_sse2_skal; /* Is now IEEE1180 and Walken compliant. */ |
700 |
return XVID_ERR_VERSION; |
return XVID_ERR_VERSION; |
701 |
|
|
702 |
info->actual_version = XVID_VERSION; |
info->actual_version = XVID_VERSION; |
703 |
info->build = "xvid-1.3.0-dev"; |
info->build = "xvid-1.3.0"; |
704 |
info->cpu_flags = detect_cpu_flags(); |
info->cpu_flags = detect_cpu_flags(); |
705 |
info->num_threads = 0; /* single-thread */ |
info->num_threads = 0; /* single-thread */ |
706 |
|
|
776 |
convert->output.csp, convert->interlacing); |
convert->output.csp, convert->interlacing); |
777 |
break; |
break; |
778 |
|
|
779 |
|
case XVID_CSP_INTERNAL : |
780 |
|
img.y = (uint8_t*)convert->input.plane[0]; |
781 |
|
img.u = (uint8_t*)convert->input.plane[1]; |
782 |
|
img.v = (uint8_t*)convert->input.plane[2]; |
783 |
|
image_output(&img, width, height, convert->input.stride[0], |
784 |
|
(uint8_t**)convert->output.plane, convert->output.stride, |
785 |
|
convert->output.csp, convert->interlacing); |
786 |
|
break; |
787 |
|
|
788 |
default : |
default : |
789 |
return XVID_ERR_FORMAT; |
return XVID_ERR_FORMAT; |
790 |
} |
} |