summaryrefslogtreecommitdiff
path: root/gr-blocks/lib/deinterleave_impl.h
diff options
context:
space:
mode:
authorTom Rondeau <tom@trondeau.com>2014-09-23 18:00:41 -0400
committerJohnathan Corgan <johnathan@corganlabs.com>2014-09-24 15:48:58 -0700
commit71299bf848d3185af73e36bcee0de7a649398b91 (patch)
treed518e60dea7e546a6fe2c3b4af1333840e117075 /gr-blocks/lib/deinterleave_impl.h
parent881c41c75b414b1769a7b44478806430f36b10be (diff)
blocks: deinterleaver will process more than one block at a time for significant speed improvements.
Diffstat (limited to 'gr-blocks/lib/deinterleave_impl.h')
-rw-r--r--gr-blocks/lib/deinterleave_impl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gr-blocks/lib/deinterleave_impl.h b/gr-blocks/lib/deinterleave_impl.h
index 247ee3a018..71a551a69c 100644
--- a/gr-blocks/lib/deinterleave_impl.h
+++ b/gr-blocks/lib/deinterleave_impl.h
@@ -35,11 +35,12 @@ namespace gr {
unsigned int d_blocksize;
unsigned int d_current_output;
unsigned int d_noutputs;
-
+ unsigned int d_size_bytes; // block size in bytes
public:
deinterleave_impl(size_t itemsize, unsigned int blocksize);
+ void forecast(int noutput_items, gr_vector_int &ninput_items_required);
bool check_topology(int ninputs, int noutputs);
int general_work(int noutput_items,