diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-06-30 14:15:12 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-06-30 14:15:12 +0400 |
commit | 6e76e6a05a5685b904dc0d1cd610d81ffe43bbc5 (patch) | |
tree | 7c520597874b28e57afee76ffae5f0d1c40162e3 /libavutil/x86/lls_init.c | |
parent | a285079bc75a6e3b9aa27910351044b79bc0c490 (diff) | |
parent | b545179fdff1ccfbbb9d422e4e9720cb6c6d9191 (diff) |
Merge commit 'b545179fdff1ccfbbb9d422e4e9720cb6c6d9191'
* commit 'b545179fdff1ccfbbb9d422e4e9720cb6c6d9191':
x86: lpc: simd av_evaluate_lls
Conflicts:
libavutil/x86/lls.asm
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/x86/lls_init.c')
-rw-r--r-- | libavutil/x86/lls_init.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavutil/x86/lls_init.c b/libavutil/x86/lls_init.c index 0c7b75d07c..eb570428e7 100644 --- a/libavutil/x86/lls_init.c +++ b/libavutil/x86/lls_init.c @@ -25,12 +25,15 @@ void ff_update_lls_sse2(LLSModel *m, double *var); void ff_update_lls_avx(LLSModel *m, double *var); +double ff_evaluate_lls_sse2(LLSModel *m, double *var, int order); av_cold void ff_init_lls_x86(LLSModel *m) { int cpu_flags = av_get_cpu_flags(); if (EXTERNAL_SSE2(cpu_flags)) { m->update_lls = ff_update_lls_sse2; + if (m->indep_count >= 4) + m->evaluate_lls = ff_evaluate_lls_sse2; } if (EXTERNAL_AVX(cpu_flags) && 0) { m->update_lls = ff_update_lls_avx; |