| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | /* -*- c++ -*- */ | ||
| 2 | /* | ||
| 3 | * Copyright 2020 Free Software Foundation, Inc. | ||
| 4 | * | ||
| 5 | * This file is part of VOLK | ||
| 6 | * | ||
| 7 | * SPDX-License-Identifier: LGPL-3.0-or-later | ||
| 8 | */ | ||
| 9 | |||
| 10 | |||
| 11 | #ifndef INCLUDED_volk_32fc_s32f_power_spectral_densitypuppet_32f_a_H | ||
| 12 | #define INCLUDED_volk_32fc_s32f_power_spectral_densitypuppet_32f_a_H | ||
| 13 | |||
| 14 | |||
| 15 | #include <volk/volk_32fc_s32f_x2_power_spectral_density_32f.h> | ||
| 16 | |||
| 17 | |||
| 18 | #ifdef LV_HAVE_AVX | ||
| 19 | |||
| 20 | static inline void | ||
| 21 | 2 | volk_32fc_s32f_power_spectral_densitypuppet_32f_a_avx(float* logPowerOutput, | |
| 22 | const lv_32fc_t* complexFFTInput, | ||
| 23 | const float normalizationFactor, | ||
| 24 | unsigned int num_points) | ||
| 25 | { | ||
| 26 | 2 | volk_32fc_s32f_x2_power_spectral_density_32f_a_avx( | |
| 27 | logPowerOutput, complexFFTInput, normalizationFactor, 2.5, num_points); | ||
| 28 | 2 | } | |
| 29 | |||
| 30 | #endif /* LV_HAVE_AVX */ | ||
| 31 | |||
| 32 | |||
| 33 | #ifdef LV_HAVE_SSE3 | ||
| 34 | |||
| 35 | static inline void | ||
| 36 | 2 | volk_32fc_s32f_power_spectral_densitypuppet_32f_a_sse3(float* logPowerOutput, | |
| 37 | const lv_32fc_t* complexFFTInput, | ||
| 38 | const float normalizationFactor, | ||
| 39 | unsigned int num_points) | ||
| 40 | { | ||
| 41 | 2 | volk_32fc_s32f_x2_power_spectral_density_32f_a_sse3( | |
| 42 | logPowerOutput, complexFFTInput, normalizationFactor, 2.5, num_points); | ||
| 43 | 2 | } | |
| 44 | |||
| 45 | #endif /* LV_HAVE_SSE3 */ | ||
| 46 | |||
| 47 | |||
| 48 | #ifdef LV_HAVE_GENERIC | ||
| 49 | |||
| 50 | static inline void | ||
| 51 | 2 | volk_32fc_s32f_power_spectral_densitypuppet_32f_generic(float* logPowerOutput, | |
| 52 | const lv_32fc_t* complexFFTInput, | ||
| 53 | const float normalizationFactor, | ||
| 54 | unsigned int num_points) | ||
| 55 | { | ||
| 56 | 2 | volk_32fc_s32f_x2_power_spectral_density_32f_generic( | |
| 57 | logPowerOutput, complexFFTInput, normalizationFactor, 2.5, num_points); | ||
| 58 | 2 | } | |
| 59 | |||
| 60 | #endif /* LV_HAVE_GENERIC */ | ||
| 61 | |||
| 62 | |||
| 63 | #endif /* INCLUDED_volk_32fc_s32f_power_spectral_densitypuppet_32f_a_H */ | ||
| 64 |