[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] really need suggestions for operating on big bloc
From: |
Eric Blossom |
Subject: |
Re: [Discuss-gnuradio] really need suggestions for operating on big blocks of data |
Date: |
Tue, 29 May 2007 08:25:10 -0700 |
User-agent: |
Mutt/1.5.9i |
On Mon, May 28, 2007 at 07:30:08PM +0200, Vincenzo Pellegrini wrote:
> sorry Eric,
>
> I really haven't found a proper way to operate (actually to do
> interleaving) on blocks of 6048 items of one byte, as requested by the
> standard I'm trying to implement.
>
> maybe this is because it's not very clear to me which way the function
> work is called at runtime and how the value of noutput_items is
> assigned.
>
> please, I'm really in need of some help, because what I've written so
> far really seems to produce decent output, but I'm stuck on my
> interleaver block.
>
> i think that there's somenthing on gnuradio architecture that I have
> misunderstood..
>
> I hope you can give me some suggestions or point me towards some code
> that already operates on such big blocks...
>
> thanks
> best regards
>
> vincenzo
Vincenzo,
You may need to write your block based on gr_block, and implement
general_work. Doing that, you will be able to (have to) manage all
intermediate state yourself. You should accept the default
output_multiple (which is 1) and accept all available input. When
you've got a full interleaved block ready for output, produce it,
otherwise produce 0 output, but consume the input, and accrue your
internal interleaver state.
Eric