diff options
Diffstat (limited to 'gr-atsc/src/lib/atsci_randomizer.cc')
-rw-r--r-- | gr-atsc/src/lib/atsci_randomizer.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gr-atsc/src/lib/atsci_randomizer.cc b/gr-atsc/src/lib/atsci_randomizer.cc index 4a18e263a..8766bbef0 100644 --- a/gr-atsc/src/lib/atsci_randomizer.cc +++ b/gr-atsc/src/lib/atsci_randomizer.cc @@ -1,19 +1,19 @@ /* -*- c++ -*- */ /* * Copyright 2002 Free Software Foundation, Inc. - * + * * This file is part of GNU Radio - * + * * GNU Radio is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3, or (at your option) * any later version. - * + * * GNU Radio is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with GNU Radio; see the file COPYING. If not, write to * the Free Software Foundation, Inc., 51 Franklin Street, @@ -48,19 +48,19 @@ void atsci_randomizer::initialize_output_map () { s_output_map_initialized_p = true; - + for (int i = 0; i < (1 << 14); i++) s_output_map[i] = slow_output_map (i << 2); } -void +void atsci_randomizer::reset () { d_state = PRELOAD_VALUE; } -void +void atsci_randomizer::randomize (atsc_mpeg_packet_no_sync &out, const atsc_mpeg_packet &in) { assert (in.data[0] == MPEG_SYNC_BYTE); // confirm it's there, then drop |