[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] gnuradio block for boolean operations
From: |
Johnathan Corgan |
Subject: |
Re: [Discuss-gnuradio] gnuradio block for boolean operations |
Date: |
Sat, 16 Feb 2008 08:09:46 -0800 |
On 2/14/08, Tim Meehan <address@hidden> wrote:
> 1) gr_xor_bb, gr_and_bb, gr_or_bb, br_not_bb ...
This would be the way to go. Alternatively, you could create these
blocks as _ss or _ii, and work on packed data. Depending on where in
your flowgraph you need this operation, this would be much faster.
See:
http://gnuradio.org/trac/browser/gnuradio/trunk/gr-gpio/src/lib/gpio_and_const_ss.cc
...for an example of a block that logically ANDs a stream of short
integers with a constant value.
--
Johnathan Corgan
Corgan Enterprises LLC
http://corganenterprises.com/