Fix for ticket:214, gr_rotate speedup. We now normalize once every
authoreb <eb@221aa14e-8319-0410-a670-987f0aec2ac5>
Sat, 23 Aug 2008 21:26:19 +0000 (21:26 +0000)
committereb <eb@221aa14e-8319-0410-a670-987f0aec2ac5>
Sat, 23 Aug 2008 21:26:19 +0000 (21:26 +0000)
commit5b313df46a91b36f0698e5b369dba57f7ea8d879
treeb09e14d9026b2686b617a60d40757956b6e25e15
parent0da73b85fc0a8bf49e84c46e29b045d76defa984
Fix for ticket:214, gr_rotate speedup.  We now normalize once every
512 cycles.  We also now compute the return value based on the
preincremented phase value, thus shortening the dependency chain.
This does put the computed result 1 tick ahead of the previous version
of the code, but none of the code in the tree depends on the absolute
phase.  If yours does, sorry.  You can work around it by initializing
the phase to conj(gr_expj(phase_incr)) instead of gr_complex(1,0).
Added QA code to ensure I didn't break anything.

git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9384 221aa14e-8319-0410-a670-987f0aec2ac5
gnuradio-core/src/lib/filter/Makefile.am
gnuradio-core/src/lib/filter/gr_rotator.h
gnuradio-core/src/lib/filter/qa_filter.cc
gnuradio-core/src/lib/filter/qa_gr_rotator.cc [new file with mode: 0644]
gnuradio-core/src/lib/filter/qa_gr_rotator.h [new file with mode: 0644]