1 /* GStreamer
2  * Copyright (C) <2016> Wim Taymans <wim.taymans@gmail.com>
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Library General Public
6  * License as published by the Free Software Foundation; either
7  * version 2 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12  * Library General Public License for more details.
13  *
14  * You should have received a copy of the GNU Library General Public
15  * License along with this library; if not, write to the
16  * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
17  * Boston, MA 02110-1301, USA.
18  */
19 
20 #ifndef AUDIO_RESAMPLER_X86_SSE2_H
21 #define AUDIO_RESAMPLER_X86_SSE2_H
22 
23 #include "audio-resampler-macros.h"
24 
25 DECL_RESAMPLE_FUNC (gint16, full, 1, sse2);
26 DECL_RESAMPLE_FUNC (gint16, linear, 1, sse2);
27 DECL_RESAMPLE_FUNC (gint16, cubic, 1, sse2);
28 
29 DECL_RESAMPLE_FUNC (gdouble, full, 1, sse2);
30 DECL_RESAMPLE_FUNC (gdouble, linear, 1, sse2);
31 DECL_RESAMPLE_FUNC (gdouble, cubic, 1, sse2);
32 
33 void
34 interpolate_gint16_linear_sse2 (gpointer op, const gpointer ap,
35     gint len, const gpointer icp, gint astride);
36 
37 void
38 interpolate_gint16_cubic_sse2 (gpointer op, const gpointer ap,
39     gint len, const gpointer icp, gint astride);
40 
41 void
42 interpolate_gdouble_linear_sse2 (gpointer op, const gpointer ap,
43     gint len, const gpointer icp, gint astride);
44 
45 void
46 interpolate_gdouble_cubic_sse2 (gpointer op, const gpointer ap,
47     gint len, const gpointer icp, gint astride);
48 
49 #endif /* AUDIO_RESAMPLER_X86_SSE2_H */
50