Revision 1c189fc5 libavcodec/x86/lpc_mmx.c

View differences:

libavcodec/x86/lpc_mmx.c
23 23
#include "libavutil/cpu.h"
24 24
#include "libavcodec/lpc.h"
25 25

  
26
static void apply_welch_window_sse2(const int32_t *data, int len, double *w_data)
26
static void lpc_apply_welch_window_sse2(const int32_t *data, int len,
27
                                        double *w_data)
27 28
{
28 29
    double c = 2.0 / (len-1.0);
29 30
    int n2 = len>>1;
......
70 71
}
71 72

  
72 73
static void lpc_compute_autocorr_sse2(const double *data, int len, int lag,
73
                                   double *autoc)
74
                                      double *autoc)
74 75
{
75 76
    int j;
76 77

  
......
140 141
    int mm_flags = av_get_cpu_flags();
141 142

  
142 143
    if (mm_flags & (AV_CPU_FLAG_SSE2|AV_CPU_FLAG_SSE2SLOW)) {
143
        c->lpc_apply_welch_window = apply_welch_window_sse2;
144
        c->lpc_compute_autocorr = lpc_compute_autocorr_sse2;
144
        c->lpc_apply_welch_window = lpc_apply_welch_window_sse2;
145
        c->lpc_compute_autocorr   = lpc_compute_autocorr_sse2;
145 146
    }
146 147
}

Also available in: Unified diff