GNU Radio Manual and C++ API Reference 3.7.14.0
The Free & Open Software Radio Ecosystem
sync_tag_impl.h
Go to the documentation of this file.
1/* -*- c++ -*- */
2/*
3 * Copyright 2002 Free Software Foundation, Inc.
4 *
5 * This file is part of GNU Radio
6 *
7 * GNU Radio is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 3, or (at your option)
10 * any later version.
11 *
12 * GNU Radio is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with GNU Radio; see the file COPYING. If not, write to
19 * the Free Software Foundation, Inc., 51 Franklin Street,
20 * Boston, MA 02110-1301, USA.
21 */
22#ifndef _ATSC_SYNC_TAG_H_
23#define _ATSC_SYNC_TAG_H_
24
25/*
26 * Constants used to communicate in the second stream passed between
27 * GrAtscFSCorrelator, GrAtscEqualizer and GrAtscFieldSyncMux. The
28 * second stream is sample-for-sample parallel with the streaming
29 * floating point in the first stream. The second stream provides
30 * information about alignment boundaries.
31 *
32 * These are in floating point because the current implementation
33 * requires that for a given module, all input streams share the same
34 * type and all output streams share the same type. We'd use unsigned
35 * char otherwise.
36 */
37
38namespace atsc_sync_tag {
39
40// Nothing special
41static const float NORMAL = 0.0;
42
43// The corresponding symbol is the first symbol of the
44// data segment sync sequence { +5, -5, -5, +5 }
45static const float START_SEG_SYNC = 1.0;
46
47// The corresponding symbol is the first symbol of the
48// field sync 1 PN511 pattern.
49static const float START_FIELD_SYNC_1 = 2.0;
50
51// The corresponding symbol is the first symbol of the
52// field sync 2 PN511 pattern.
53static const float START_FIELD_SYNC_2 = 3.0;
54}; // namespace atsc_sync_tag
55
56#endif /* _ATSC_SYNC_TAG_H_ */
Definition: sync_tag_impl.h:38
static const float START_FIELD_SYNC_1
Definition: sync_tag_impl.h:49
static const float START_FIELD_SYNC_2
Definition: sync_tag_impl.h:53
static const float START_SEG_SYNC
Definition: sync_tag_impl.h:45
static const float NORMAL
Definition: sync_tag_impl.h:41