[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] hdtv hacking

From: Charles Swiger
Subject: Re: [Discuss-gnuradio] hdtv hacking
Date: Fri, 07 Apr 2006 17:05:24 -0400

On Fri, 2006-04-07 at 15:28 -0400, Charles Swiger wrote:
> Well, (this is a boy trying a grown-ups job ;) I managed to get
> two new modules to compile in gr-atsc,   atsc_interleaver and
> atsc_deinterleaver, just by copying atsc_rs_encoder and atsc_rd_decoder

> Anyway, after putting in another python test_loopback_002(self):
> with the two stages interleaver/deinterleaver it will fail
> make check , printing out a bunch of numbers.

Ah, I need a clue how to do this:

>When you loop the deinterleaver back, you'll need to account for the
>52 segment delay through it.  Using gr.skiphead is probably the
>easiest solution (thanks Martin!).

As this sure didn't help:

        src = vector_source_ts(self.fg, src_data)
        rand = atsc.randomizer()
        rs_enc = atsc.rs_encoder()
        inter = atsc.interleaver()
=?=>    skip = gr.skiphead(atsc.sizeof_atsc_mpeg_packet_rs_encoded,52)
        deinter = atsc.deinterleaver()
        rs_dec = atsc.rs_decoder()
        derand = atsc.derandomizer()
        dst = vector_sink_ts(self.fg)
        self.fg.connect(src, rand, rs_enc, inter, skip, deinter, rs_dec,
derand, dst)

apologies if the above is laughably inept ;)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]