discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] compiling atsc_trellis_encoder.cc


From: Charles Swiger
Subject: Re: [Discuss-gnuradio] compiling atsc_trellis_encoder.cc
Date: Wed, 12 Apr 2006 11:01:38 -0400

On Wed, 2006-04-12 at 01:23 +0200, Martin Dvh wrote:
> Did you check that the type of &out[i] is atsc_data_segment
> and the type of &in[i] is atsc_mpeg_packet_rs_encoded?
> 

OK - atsc_trellis_encoder.cc compiles and runs and produces
reasonable looking output:

00000000  01 00 34 00 06 01 01 06  06 02 06 06 06 02 06 00
00000010  00 00 04 06 03 03 03 05  01 03 05 04 02 00 02 01
00000020  01 05 01 04 00 07 00 02  01 06 05 04 05 05 03 03

(our 8VSB symbols I guess)

By using: 

  for (int i = 0; i < atsci_trellis_encoder::NCODERS; i +=
atsci_trellis_encoder::NCODERS){
    d_trellis_encoder.encode(&out[i], &in[i]);


assuming Eric put enough magic in atsci_trellis_encoder,
AND skipping 52 packets for the interleaver to fill up
to pass sanity checks.

--Chuck






reply via email to

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