From 9c978f243a47a0906fb32d723fcdd37d7b8cee93 Mon Sep 17 00:00:00 2001 From: Loren Merritt Date: Mon, 3 Feb 2014 23:17:04 +0000 Subject: flac/x86: add ff_flac_lpc_32_sse4() benchmarked on sandybridge x86_64: 1358232 decicycles in flac_lpc_32_c 1244575 decicycles in flac_lpc_32_sse4, James Almer's patch 650045 decicycles in flac_lpc_32_sse4, this patch I haven't tested the edgecases such as odd block lengths odd block length tested-by: James Almer Signed-off-by: Michael Niedermayer --- libavcodec/flacdsp.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libavcodec/flacdsp.c') diff --git a/libavcodec/flacdsp.c b/libavcodec/flacdsp.c index 02eba3ea8a..b15bc7476b 100644 --- a/libavcodec/flacdsp.c +++ b/libavcodec/flacdsp.c @@ -128,4 +128,6 @@ av_cold void ff_flacdsp_init(FLACDSPContext *c, enum AVSampleFormat fmt, if (ARCH_ARM) ff_flacdsp_init_arm(c, fmt, bps); + if (ARCH_X86) + ff_flacdsp_init_x86(c, fmt, bps); } -- cgit v1.2.3