diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2011-01-21 00:12:18 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-01-23 19:32:06 +0100 |
commit | 384dbd617f7c28950e902634d400189f22033202 (patch) | |
tree | 502fa3363ae01c7006f40ff8486da2442dd2ec9b /libavcodec/x86/lpc_mmx.c | |
parent | 7101b1850822c2490cfaf2c5f4addf2ccbf7eab1 (diff) | |
download | ffmpeg-384dbd617f7c28950e902634d400189f22033202.tar.gz |
cosmetics related to LPC changes.
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 1c189fc5334d4a687b15861d81d22c8ba2c9cd5e)
Diffstat (limited to 'libavcodec/x86/lpc_mmx.c')
-rw-r--r-- | libavcodec/x86/lpc_mmx.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/libavcodec/x86/lpc_mmx.c b/libavcodec/x86/lpc_mmx.c index 3a0a1f0f6f..1c202e2ccc 100644 --- a/libavcodec/x86/lpc_mmx.c +++ b/libavcodec/x86/lpc_mmx.c @@ -23,7 +23,8 @@ #include "libavutil/cpu.h" #include "libavcodec/lpc.h" -static void apply_welch_window_sse2(const int32_t *data, int len, double *w_data) +static void lpc_apply_welch_window_sse2(const int32_t *data, int len, + double *w_data) { double c = 2.0 / (len-1.0); int n2 = len>>1; @@ -70,7 +71,7 @@ static void apply_welch_window_sse2(const int32_t *data, int len, double *w_data } static void lpc_compute_autocorr_sse2(const double *data, int len, int lag, - double *autoc) + double *autoc) { int j; @@ -140,7 +141,7 @@ av_cold void ff_lpc_init_x86(LPCContext *c) int mm_flags = av_get_cpu_flags(); if (mm_flags & (AV_CPU_FLAG_SSE2|AV_CPU_FLAG_SSE2SLOW)) { - c->lpc_apply_welch_window = apply_welch_window_sse2; - c->lpc_compute_autocorr = lpc_compute_autocorr_sse2; + c->lpc_apply_welch_window = lpc_apply_welch_window_sse2; + c->lpc_compute_autocorr = lpc_compute_autocorr_sse2; } } |