65 #ifndef VOLK_KERNELS_VOLK_VOLK_8U_X3_ENCODEPOLAR_8U_X2_U_H_
66 #define VOLK_KERNELS_VOLK_VOLK_8U_X3_ENCODEPOLAR_8U_X2_U_H_
71 const unsigned char* frozen_bit_mask,
72 const unsigned char* frozen_bits,
73 const unsigned char* info_bits,
74 const unsigned int frame_size)
77 for (bit = 0; bit < frame_size; ++bit) {
78 *target++ = *frozen_bit_mask++ ? *frozen_bits++ : *info_bits++;
82 #ifdef LV_HAVE_GENERIC
87 const unsigned char* frozen_bit_mask,
88 const unsigned char* frozen_bits,
89 const unsigned char* info_bits,
90 unsigned int frame_size)
94 temp, frozen_bit_mask, frozen_bits, info_bits, frame_size);
101 #include <tmmintrin.h>
106 const unsigned char* frozen_bit_mask,
107 const unsigned char* frozen_bits,
108 const unsigned char* info_bits,
109 unsigned int frame_size)
113 temp, frozen_bit_mask, frozen_bits, info_bits, frame_size);
120 #include <immintrin.h>
122 volk_8u_x3_encodepolar_8u_x2_u_avx2(
unsigned char* frame,
124 const unsigned char* frozen_bit_mask,
125 const unsigned char* frozen_bits,
126 const unsigned char* info_bits,
127 unsigned int frame_size)
130 temp, frozen_bit_mask, frozen_bits, info_bits, frame_size);
131 volk_8u_x2_encodeframepolar_8u_u_avx2(frame, temp, frame_size);
137 #ifndef VOLK_KERNELS_VOLK_VOLK_8U_X3_ENCODEPOLAR_8U_X2_A_H_
138 #define VOLK_KERNELS_VOLK_VOLK_8U_X3_ENCODEPOLAR_8U_X2_A_H_
141 #include <tmmintrin.h>
145 const unsigned char* frozen_bit_mask,
146 const unsigned char* frozen_bits,
147 const unsigned char* info_bits,
148 unsigned int frame_size)
151 temp, frozen_bit_mask, frozen_bits, info_bits, frame_size);
157 #include <immintrin.h>
159 volk_8u_x3_encodepolar_8u_x2_a_avx2(
unsigned char* frame,
161 const unsigned char* frozen_bit_mask,
162 const unsigned char* frozen_bits,
163 const unsigned char* info_bits,
164 unsigned int frame_size)
167 temp, frozen_bit_mask, frozen_bits, info_bits, frame_size);
168 volk_8u_x2_encodeframepolar_8u_a_avx2(frame, temp, frame_size);
static void volk_8u_x2_encodeframepolar_8u_a_ssse3(unsigned char *frame, unsigned char *temp, unsigned int frame_size)
Definition: volk_8u_x2_encodeframepolar_8u.h:611
static void volk_8u_x2_encodeframepolar_8u_generic(unsigned char *frame, unsigned char *temp, unsigned int frame_size)
Definition: volk_8u_x2_encodeframepolar_8u.h:52
static void volk_8u_x2_encodeframepolar_8u_u_ssse3(unsigned char *frame, unsigned char *temp, unsigned int frame_size)
Definition: volk_8u_x2_encodeframepolar_8u.h:76
static void volk_8u_x3_encodepolar_8u_x2_generic(unsigned char *frame, unsigned char *temp, const unsigned char *frozen_bit_mask, const unsigned char *frozen_bits, const unsigned char *info_bits, unsigned int frame_size)
Definition: volk_8u_x3_encodepolar_8u_x2.h:85
static void interleave_frozen_and_info_bits(unsigned char *target, const unsigned char *frozen_bit_mask, const unsigned char *frozen_bits, const unsigned char *info_bits, const unsigned int frame_size)
Definition: volk_8u_x3_encodepolar_8u_x2.h:70
static void volk_8u_x3_encodepolar_8u_x2_a_ssse3(unsigned char *frame, unsigned char *temp, const unsigned char *frozen_bit_mask, const unsigned char *frozen_bits, const unsigned char *info_bits, unsigned int frame_size)
Definition: volk_8u_x3_encodepolar_8u_x2.h:143
static void volk_8u_x3_encodepolar_8u_x2_u_ssse3(unsigned char *frame, unsigned char *temp, const unsigned char *frozen_bit_mask, const unsigned char *frozen_bits, const unsigned char *info_bits, unsigned int frame_size)
Definition: volk_8u_x3_encodepolar_8u_x2.h:104