11 #ifndef _GR_ROTATOR_H_
12 #define _GR_ROTATOR_H_
16 #include <volk/volk.h>
27 unsigned int d_counter;
30 rotator() : d_phase(1), d_phase_incr(1), d_counter(0) {}
41 d_phase *= d_phase_incr;
43 if ((d_counter % 512) == 0)
52 #if VOLK_VERSION >= 030100
53 volk_32fc_s32fc_x2_rotator2_32fc(out, in, &d_phase_incr, &d_phase, n);
55 volk_32fc_s32fc_x2_rotator_32fc(out, in, d_phase_incr, &d_phase, n);