blob: ac30ca55c753b7d79e07359ca9f29f2e6293b6f2 [file] [log] [blame]
Philipp Maiere8ae9fc2017-03-20 12:08:42 +01001/*
2 * SSE Convolution
3 * Copyright (C) 2012, 2013 Thomas Tsou <tom@tsou.cc>
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 */
19
20#pragma once
21
22/* 4-tap SSE complex-real convolution */
23void sse_conv_real4(const float *x, int x_len,
24 const float *h, int h_len,
25 float *y, int y_len,
26 int start, int len, int step, int offset);
27
28/* 8-tap SSE complex-real convolution */
29void sse_conv_real8(const float *x, int x_len,
30 const float *h, int h_len,
31 float *y, int y_len,
32 int start, int len, int step, int offset);
33
34/* 12-tap SSE complex-real convolution */
35void sse_conv_real12(const float *x, int x_len,
36 const float *h, int h_len,
37 float *y, int y_len,
38 int start, int len, int step, int offset);
39
40/* 16-tap SSE complex-real convolution */
41void sse_conv_real16(const float *x, int x_len,
42 const float *h, int h_len,
43 float *y, int y_len,
44 int start, int len, int step, int offset);
45
46/* 20-tap SSE complex-real convolution */
47void sse_conv_real20(const float *x, int x_len,
48 const float *h, int h_len,
49 float *y, int y_len,
50 int start, int len, int step, int offset);
51
52/* 4*N-tap SSE complex-real convolution */
53void sse_conv_real4n(const float *x, int x_len,
54 const float *h, int h_len,
55 float *y, int y_len,
56 int start, int len, int step, int offset);
57
58/* 4*N-tap SSE complex-complex convolution */
59void sse_conv_cmplx_4n(const float *x, int x_len,
60 const float *h, int h_len,
61 float *y, int y_len,
62 int start, int len, int step, int offset);
63
64/* 8*N-tap SSE complex-complex convolution */
65void sse_conv_cmplx_8n(const float *x, int x_len,
66 const float *h, int h_len,
67 float *y, int y_len,
68 int start, int len, int step, int offset);