summaryrefslogtreecommitdiff
path: root/gnuradio-core/src/lib
AgeCommit message (Collapse)Author
2008-08-31fixed copy/paste error in include guardeb
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9472 221aa14e-8319-0410-a670-987f0aec2ac5
2008-08-31fix for ticket:268, vector not always a context sensitive keyworkeb
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9471 221aa14e-8319-0410-a670-987f0aec2ac5
2008-08-24Fix typo in variable name (Firas Abbas)jcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9397 221aa14e-8319-0410-a670-987f0aec2ac5
2008-08-24Fix compiler warnings across the tree. Adds --enable-warnings-as-errors ↵jcorgan
configure option. Currently compiles with no warnings with GCC 4.2.3 on Ubuntu 8.04. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9396 221aa14e-8319-0410-a670-987f0aec2ac5
2008-08-23Fix for ticket:214, gr_rotate speedup. We now normalize once everyeb
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
2008-08-23fix for ticket:243eb
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9381 221aa14e-8319-0410-a670-987f0aec2ac5
2008-08-19Merged features/mp-sched -r8915:9335 into the trunk. The trunk noweb
contains the SMP aware scheduler. This changeset introduces a dependency on boost 1.35 or later. See source:gnuradio/trunk/README.building-boost for additional info. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9336 221aa14e-8319-0410-a670-987f0aec2ac5
2008-08-18New taps computation based on requested transition bandwidth and stopband ↵n4hy
attenuation. qa code testing each added git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9316 221aa14e-8319-0410-a670-987f0aec2ac5
2008-08-15Trial fix for ticket:258 / integer overflow undefined / phaseeb
accumulator. Thanks to Stefan Bruens and Philip Ballister for working on this. According to the fine print in the C and C++ standards, if a signed integer type overflows, the result is undefined. As of gcc 4.3, gcc was proving that our code was overflowing, and took advantage of the "undefined" result to short circuit the evaluation. Moral of the story: if you're using a fixed point phase accumulator, or anything else where you're counting on overflow happening, be sure that your variable is unsigned. See also http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37067 and http://www.airs.com/blog/archives/120 git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9296 221aa14e-8319-0410-a670-987f0aec2ac5
2008-08-12Refactored unique vector functionality into template.jcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9253 221aa14e-8319-0410-a670-987f0aec2ac5
2008-08-12Make gr_basic_block sort deterministic (Martin Dvh)jcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9251 221aa14e-8319-0410-a670-987f0aec2ac5
2008-08-06added cpuid for sse3,ssse3,sse4.1, and sse4.2jcoy
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9176 221aa14e-8319-0410-a670-987f0aec2ac5
2008-07-31wrong signeb
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9079 221aa14e-8319-0410-a670-987f0aec2ac5
2008-07-24first cut at iq imbalance compensationmatt
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8993 221aa14e-8319-0410-a670-987f0aec2ac5
2008-07-22Add gr_costas_loop_cc setters and gettersjcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8966 221aa14e-8319-0410-a670-987f0aec2ac5
2008-07-21efficient moving average filters, should speed up OFDM significantlymatt
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8965 221aa14e-8319-0410-a670-987f0aec2ac5
2008-07-09Merged jcorgan/ptrfix -r8827:8843 into the trunk.eb
Fix that allows C++ classes derived from gr_hier_block2 to use the new self() method to get a magic object that can be passed to connect or disconnect to refer to their own inputs and outputs. Note that the constructor wrapper of all classes derived from gr_hier_block2 (and thus gr_top_block too) MUST USE the new gnuradio::get_initial_sptr function to get the initial shared pointer. gnuradio::get_initial_sptr works on all block types, and should be used in all new code. See qa_gr_hier_block2_derived.{h,cc} for an example. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8844 221aa14e-8319-0410-a670-987f0aec2ac5
2008-07-09fix for ticket:250eb
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8835 221aa14e-8319-0410-a670-987f0aec2ac5
2008-06-24removed is_running method from gr_top_blockeb
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8689 221aa14e-8319-0410-a670-987f0aec2ac5
2008-06-23Backed out [8669]. Better fix for removing cruft from opreporteb
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8685 221aa14e-8319-0410-a670-987f0aec2ac5
2008-06-23in SIMD assmebler, changed .cleanup to a local symboleb
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8684 221aa14e-8319-0410-a670-987f0aec2ac5
2008-06-23Renamed labels .loop1 and .loop2 to include name of file they're contained in.eb
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8669 221aa14e-8319-0410-a670-987f0aec2ac5
2008-06-23merged refactoring of gr_top_block_impl into abstract base classeb
gr_top_block_impl and concrete class gr_top_block_impl_sts from eb/mp-sched r8447:8660. No change in functionality or behavior. Paves the way for development of multiprocessor aware scheduler. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8665 221aa14e-8319-0410-a670-987f0aec2ac5
2008-06-10Applied patch from Dean Armstrong to fix gr_repeat (ticket:246). eb
The QA code was not updated to detect the bug and should still be sorted out. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8568 221aa14e-8319-0410-a670-987f0aec2ac5
2008-05-26Added rewind() and clear() to vector sources and sinks. This is usefuleb
when doing automatic testing of a block (e.g. BER vs SNR). Patch from Andreas Müller. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8509 221aa14e-8319-0410-a670-987f0aec2ac5
2008-05-20Expose flowgraph debugging dump as gr.top_block.dump(). May or may not be ↵jcorgan
suitable for ticket:245 git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8466 221aa14e-8319-0410-a670-987f0aec2ac5
2008-05-08better fix for ticket:243eb
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8324 221aa14e-8319-0410-a670-987f0aec2ac5
2008-05-08fix for ticket:243eb
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8318 221aa14e-8319-0410-a670-987f0aec2ac5
2008-04-30Potentially invalid read deferred until it's valid (Dan Halperin)eb
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8296 221aa14e-8319-0410-a670-987f0aec2ac5
2008-04-30Tweaks for gcc 4.3 based on patch from Marek Mahut <mmahut@fedoraproject.org>.eb
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8292 221aa14e-8319-0410-a670-987f0aec2ac5
2008-04-24Merged changeset r8231:8270 from jcorgan/merge-fix into trunk. Fixes ↵jcorgan
flowgraph reconfiguration bug reported by Tim O'Shea and Mark Schneider. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8271 221aa14e-8319-0410-a670-987f0aec2ac5
2008-04-22Merged eb/gcell -r8215:8243 into trunk. This adds gr-gcell, the GNUeb
Radio interface to the Cell Broadband Engine. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8244 221aa14e-8319-0410-a670-987f0aec2ac5
2008-04-15Merged r8195:8205 from jcorgan/ecc into trunk. Adds convolutional encoderjcorgan
and decoder corresponding to the R=1/2, K=7 CCSDS standard ("Voyager"). This code is a GNU Radio wrapper around a 1995-era KA9Q portable-C implementation, and is designed for continuous streaming data, not packets. The encoder takes MSB packed bytes and outputs channel symbols 0 or 1. The decoder uses soft-decision Viterbi decoding on a floating point stream of (possibly noise corrupted) [1.0, 1.0] symbols, and outputs MSB packed decoded bytes. Benchmarking on a 2.16 GHz Intel Core 2 Duo shows 4.7 Mbps decoding rate at 100% CPU usage (single core). (There is a newer KA9Q library that implements SIMD speed ups with correspondingly faster performance.) The KA9Q library is placed into src/lib/viterbi. It could use some cleanup, file/function renaming, and refactoring, or even replacement with the newer libfec code that is available. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8206 221aa14e-8319-0410-a670-987f0aec2ac5
2008-04-12Fix typo in previous check-injcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8194 221aa14e-8319-0410-a670-987f0aec2ac5
2008-04-12Addes gr.cpfsk_bc(), a continuous phase frequency shift keying modulator block.jcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8193 221aa14e-8319-0410-a670-987f0aec2ac5
2008-04-12Adds gr.integrate_XX for ss, ii, ff, and cc. Sums successive samples and ↵jcorgan
decimates. Trunk passes distcheck. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8190 221aa14e-8319-0410-a670-987f0aec2ac5
2008-04-12Fixes typo in r8188.jcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8189 221aa14e-8319-0410-a670-987f0aec2ac5
2008-04-11bug in gr_argmax_XX.cc.t fixedn4hy
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8188 221aa14e-8319-0410-a670-987f0aec2ac5
2008-04-11fixing bug in gr_max_XX.cc.t and modifying qa_max.py to test fixn4hy
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8187 221aa14e-8319-0410-a670-987f0aec2ac5
2008-04-11Adds gr.repeat(), an interpolating block to repeat a sample N times on the ↵jcorgan
output. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8186 221aa14e-8319-0410-a670-987f0aec2ac5
2008-04-09Fixes ticket:238. (Tim Meehan)jcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8163 221aa14e-8319-0410-a670-987f0aec2ac5
2008-03-31merging branch trondeau/ofdm r7971:8143. Fixing subcarriers and other issues ↵trondeau
to improve OFDM system operation. Not much more we can do with this than add channel coding and cleaning up. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8144 221aa14e-8319-0410-a670-987f0aec2ac5
2008-03-24Fixed gr.udp_source,sink for use on Win32 (Don Ward)jcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8097 221aa14e-8319-0410-a670-987f0aec2ac5
2008-03-19Minor tweak that avoids intermittent build failureeb
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8057 221aa14e-8319-0410-a670-987f0aec2ac5
2008-03-19Fixes ticket:193jcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8050 221aa14e-8319-0410-a670-987f0aec2ac5
2008-03-17Don't define RANDOM_MAX on systems that have already defined it. (Atgdt
present, only NetBSD-current is known to do this.) Improve the comment explaining the situation. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8034 221aa14e-8319-0410-a670-987f0aec2ac5
2008-03-05Merged eb/reverted-7899 -r7928:7930 into trunk. This effectivelyeb
reverts changeset 7899 and fixes some distcheck problems. We're now back to the old behavior, where you must "make" before "make distcheck". git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@7931 221aa14e-8319-0410-a670-987f0aec2ac5
2008-03-03Fix for ticket:236, parallel makes are indeterminate.eb
Merged eb/pmake r7909:7911 into trunk git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@7912 221aa14e-8319-0410-a670-987f0aec2ac5
2008-02-29Merged r7866:7887 from michaelld/discheck_fix into trunk. Allows running ↵jcorgan
'make distcheck' without running 'make' first. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@7899 221aa14e-8319-0410-a670-987f0aec2ac5
2008-02-26merged -r7836:7846 from trondeau/ofdmtiming to trunk. This fixes the big ↵trondeau
issues in transmitting OFDM over the air with 1 preamble symbol. Still some smaller issues left. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@7848 221aa14e-8319-0410-a670-987f0aec2ac5