diff options
author | Nick Foster | 2011-01-21 15:14:26 -0800 |
---|---|---|
committer | Nick Foster | 2011-01-21 15:14:26 -0800 |
commit | 7a5a751073cc1583533b84c90ecc985b3669a696 (patch) | |
tree | de90957e182f08a1c0c4fd82d6f554b20a01bc52 /volk/include | |
parent | 82cafc4381e48ccc9423d2dc88720e5c1347d940 (diff) | |
download | gnuradio-7a5a751073cc1583533b84c90ecc985b3669a696.tar.gz gnuradio-7a5a751073cc1583533b84c90ecc985b3669a696.tar.bz2 gnuradio-7a5a751073cc1583533b84c90ecc985b3669a696.zip |
Volk: added QA support for multiple outputs, scalar outputs. 92% test coverage within the framework.
Diffstat (limited to 'volk/include')
-rw-r--r-- | volk/include/volk/Makefile.am | 2 | ||||
-rw-r--r-- | volk/include/volk/volk_32f_s32f_calc_spectral_noise_floor_32f_a16.h (renamed from volk/include/volk/volk_32f_calc_spectral_noise_floor_a16.h) | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/volk/include/volk/Makefile.am b/volk/include/volk/Makefile.am index 79da0effb..1eb46b602 100644 --- a/volk/include/volk/Makefile.am +++ b/volk/include/volk/Makefile.am @@ -63,7 +63,7 @@ volkinclude_HEADERS = \ volk_32f_x2_add_32f_a16.h \ volk_32fc_32f_multiply_32fc_a16.h \ volk_32fc_32f_power_32fc_a16.h \ - volk_32f_calc_spectral_noise_floor_a16.h \ + volk_32f_s32f_calc_spectral_noise_floor_32f_a16.h \ volk_32fc_s32f_atan2_32f_a16.h \ volk_32fc_x2_conjugate_dot_prod_32fc_a16.h \ volk_32fc_deinterleave_32f_x2_a16.h \ diff --git a/volk/include/volk/volk_32f_calc_spectral_noise_floor_a16.h b/volk/include/volk/volk_32f_s32f_calc_spectral_noise_floor_32f_a16.h index fce77cd04..168245d65 100644 --- a/volk/include/volk/volk_32f_calc_spectral_noise_floor_a16.h +++ b/volk/include/volk/volk_32f_s32f_calc_spectral_noise_floor_32f_a16.h @@ -1,5 +1,5 @@ -#ifndef INCLUDED_volk_32f_calc_spectral_noise_floor_a16_H -#define INCLUDED_volk_32f_calc_spectral_noise_floor_a16_H +#ifndef INCLUDED_volk_32f_s32f_calc_spectral_noise_floor_32f_a16_H +#define INCLUDED_volk_32f_s32f_calc_spectral_noise_floor_32f_a16_H #include <inttypes.h> #include <stdio.h> @@ -16,7 +16,7 @@ \param spectralExclusionValue The number of dB above the noise floor that a data point must be to be excluded from the noise floor calculation - default value is 20 \param noiseFloorAmplitude The noise floor of the input spectrum, in dB */ -static inline void volk_32f_calc_spectral_noise_floor_a16_sse(float* noiseFloorAmplitude, const float* realDataPoints, const float spectralExclusionValue, const unsigned int num_points){ +static inline void volk_32f_s32f_calc_spectral_noise_floor_32f_a16_sse(float* noiseFloorAmplitude, const float* realDataPoints, const float spectralExclusionValue, const unsigned int num_points){ unsigned int number = 0; const unsigned int quarterPoints = num_points / 4; @@ -127,7 +127,7 @@ static inline void volk_32f_calc_spectral_noise_floor_a16_sse(float* noiseFloorA \param spectralExclusionValue The number of dB above the noise floor that a data point must be to be excluded from the noise floor calculation - default value is 20 \param noiseFloorAmplitude The noise floor of the input spectrum, in dB */ -static inline void volk_32f_calc_spectral_noise_floor_a16_generic(float* noiseFloorAmplitude, const float* realDataPoints, const float spectralExclusionValue, const unsigned int num_points){ +static inline void volk_32f_s32f_calc_spectral_noise_floor_32f_a16_generic(float* noiseFloorAmplitude, const float* realDataPoints, const float spectralExclusionValue, const unsigned int num_points){ float sumMean = 0.0; unsigned int number; // find the sum (for mean), etc @@ -164,4 +164,4 @@ static inline void volk_32f_calc_spectral_noise_floor_a16_generic(float* noiseFl -#endif /* INCLUDED_volk_32f_calc_spectral_noise_floor_a16_H */ +#endif /* INCLUDED_volk_32f_s32f_calc_spectral_noise_floor_32f_a16_H */ |