summaryrefslogtreecommitdiff
path: root/volk/include
diff options
context:
space:
mode:
Diffstat (limited to 'volk/include')
-rw-r--r--volk/include/volk/Makefile.am2
-rw-r--r--volk/include/volk/volk_16ic_deinterleave_real_8i_a16.h6
-rw-r--r--volk/include/volk/volk_32fc_s32f_deinterleave_real_16i_a16.h (renamed from volk/include/volk/volk_32fc_deinterleave_real_16i_a16.h)10
3 files changed, 9 insertions, 9 deletions
diff --git a/volk/include/volk/Makefile.am b/volk/include/volk/Makefile.am
index 83f386c6c..79da0effb 100644
--- a/volk/include/volk/Makefile.am
+++ b/volk/include/volk/Makefile.am
@@ -68,7 +68,7 @@ volkinclude_HEADERS = \
volk_32fc_x2_conjugate_dot_prod_32fc_a16.h \
volk_32fc_deinterleave_32f_x2_a16.h \
volk_32fc_deinterleave_64f_x2_a16.h \
- volk_32fc_deinterleave_real_16i_a16.h \
+ volk_32fc_s32f_deinterleave_real_16i_a16.h \
volk_32fc_deinterleave_real_32f_a16.h \
volk_32fc_deinterleave_real_64f_a16.h \
volk_32fc_x2_dot_prod_32fc_a16.h \
diff --git a/volk/include/volk/volk_16ic_deinterleave_real_8i_a16.h b/volk/include/volk/volk_16ic_deinterleave_real_8i_a16.h
index 437d5ab6b..55a25702e 100644
--- a/volk/include/volk/volk_16ic_deinterleave_real_8i_a16.h
+++ b/volk/include/volk/volk_16ic_deinterleave_real_8i_a16.h
@@ -53,7 +53,7 @@ static inline void volk_16ic_deinterleave_real_8i_a16_ssse3(int8_t* iBuffer, con
number = sixteenthPoints * 16;
int16_t* int16ComplexVectorPtr = (int16_t*)complexVectorPtr;
for(; number < num_points; number++){
- *iBufferPtr++ = ((int8_t)(*int16ComplexVectorPtr++ / 256));
+ *iBufferPtr++ = ((int8_t)(*int16ComplexVectorPtr++ >> 8));
int16ComplexVectorPtr++;
}
}
@@ -68,10 +68,10 @@ static inline void volk_16ic_deinterleave_real_8i_a16_ssse3(int8_t* iBuffer, con
*/
static inline void volk_16ic_deinterleave_real_8i_a16_generic(int8_t* iBuffer, const lv_16sc_t* complexVector, unsigned int num_points){
unsigned int number = 0;
- const int16_t* complexVectorPtr = (int16_t*)complexVector;
+ int16_t* complexVectorPtr = (int16_t*)complexVector;
int8_t* iBufferPtr = iBuffer;
for(number = 0; number < num_points; number++){
- *iBufferPtr++ = (int8_t)(*complexVectorPtr++ / 256);
+ *iBufferPtr++ = ((int8_t)(*complexVectorPtr++ >> 8));
complexVectorPtr++;
}
}
diff --git a/volk/include/volk/volk_32fc_deinterleave_real_16i_a16.h b/volk/include/volk/volk_32fc_s32f_deinterleave_real_16i_a16.h
index 6042e6d62..31465bff9 100644
--- a/volk/include/volk/volk_32fc_deinterleave_real_16i_a16.h
+++ b/volk/include/volk/volk_32fc_s32f_deinterleave_real_16i_a16.h
@@ -1,5 +1,5 @@
-#ifndef INCLUDED_volk_32fc_deinterleave_real_16i_a16_H
-#define INCLUDED_volk_32fc_deinterleave_real_16i_a16_H
+#ifndef INCLUDED_volk_32fc_s32f_deinterleave_real_16i_a16_H
+#define INCLUDED_volk_32fc_s32f_deinterleave_real_16i_a16_H
#include <inttypes.h>
#include <stdio.h>
@@ -13,7 +13,7 @@
\param iBuffer The I buffer output data
\param num_points The number of complex data values to be deinterleaved
*/
-static inline void volk_32fc_deinterleave_real_16i_a16_sse(int16_t* iBuffer, const lv_32fc_t* complexVector, const float scalar, unsigned int num_points){
+static inline void volk_32fc_s32f_deinterleave_real_16i_a16_sse(int16_t* iBuffer, const lv_32fc_t* complexVector, const float scalar, unsigned int num_points){
unsigned int number = 0;
const unsigned int quarterPoints = num_points / 4;
@@ -62,7 +62,7 @@ static inline void volk_32fc_deinterleave_real_16i_a16_sse(int16_t* iBuffer, con
\param iBuffer The I buffer output data
\param num_points The number of complex data values to be deinterleaved
*/
-static inline void volk_32fc_deinterleave_real_16i_a16_generic(int16_t* iBuffer, const lv_32fc_t* complexVector, const float scalar, unsigned int num_points){
+static inline void volk_32fc_s32f_deinterleave_real_16i_a16_generic(int16_t* iBuffer, const lv_32fc_t* complexVector, const float scalar, unsigned int num_points){
const float* complexVectorPtr = (float*)complexVector;
int16_t* iBufferPtr = iBuffer;
unsigned int number = 0;
@@ -77,4 +77,4 @@ static inline void volk_32fc_deinterleave_real_16i_a16_generic(int16_t* iBuffer,
-#endif /* INCLUDED_volk_32fc_deinterleave_real_16i_a16_H */
+#endif /* INCLUDED_volk_32fc_s32f_deinterleave_real_16i_a16_H */