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);
void set_phase(gr_complex phase)
Definition: rotator.h:33
gr_complex rotate(gr_complex in)
Definition: rotator.h:36
gr_complex phase()
Definition: rotator.h:32
rotator()
Definition: rotator.h:30
void set_phase_incr(gr_complex incr)
Definition: rotator.h:34
void rotateN(gr_complex *out, const gr_complex *in, int n)
Definition: rotator.h:50
std::complex< float > gr_complex
Definition: gr_complex.h:15
GNU Radio logging wrapper.
Definition: basic_block.h:29