MythTV
master
|
#include <utility>
#include <QMutex>
#include "libmythbase/compat.h"
#include "frequencies.h"
#include "frequencytables.h"
#include "channelutil.h"
Go to the source code of this file.
Macros | |
#define | FREQ(A, B, C, D, E, F, G, H, I) |
Functions | |
static void | init_freq_tables (freq_table_map_t &) |
static freq_table_list_t | get_matching_freq_tables_internal (const QString &format, const QString &modulation, const QString &country) |
static bool | init_freq_tables (void) |
bool | teardown_frequency_tables (void) |
freq_table_list_t | get_matching_freq_tables (const QString &format, const QString &modulation, const QString &country) |
long long | get_center_frequency (const QString &format, const QString &modulation, const QString &country, int freqid) |
int | get_closest_freqid (const QString &format, QString modulation, const QString &country, long long centerfreq) |
static constexpr uint64_t | EIA_542_FREQUENCY (uint64_t bandwidth, uint64_t offset, uint64_t channel) |
Variables | |
static bool | frequencies_initialized = false |
static QMutex | frequencies_lock |
static freq_table_map_t | frequencies |
static constexpr uint8_t | US_MAX_CHAN { 158 } |
#define FREQ | ( | A, | |
B, | |||
C, | |||
D, | |||
E, | |||
F, | |||
G, | |||
H, | |||
I | |||
) |
Definition at line 317 of file frequencytables.cpp.
|
static |
Definition at line 331 of file frequencytables.cpp.
Referenced by get_center_frequency(), get_matching_freq_tables(), and init_freq_tables().
|
static |
Definition at line 225 of file frequencytables.cpp.
Referenced by get_center_frequency(), get_closest_freqid(), and get_matching_freq_tables().
|
static |
Definition at line 204 of file frequencytables.cpp.
bool teardown_frequency_tables | ( | void | ) |
Definition at line 214 of file frequencytables.cpp.
Referenced by ChannelScanSM::~ChannelScanSM().
freq_table_list_t get_matching_freq_tables | ( | const QString & | format, |
const QString & | modulation, | ||
const QString & | country | ||
) |
Definition at line 246 of file frequencytables.cpp.
Referenced by PaneATSC::FetchFrequencyTables(), and ChannelScanSM::ScanTransports().
long long get_center_frequency | ( | const QString & | format, |
const QString & | modulation, | ||
const QString & | country, | ||
int | freqid | ||
) |
Definition at line 262 of file frequencytables.cpp.
Referenced by get_atsc_stuff().
int get_closest_freqid | ( | const QString & | format, |
QString | modulation, | ||
const QString & | country, | ||
long long | centerfreq | ||
) |
Definition at line 285 of file frequencytables.cpp.
|
staticconstexpr |
Definition at line 324 of file frequencytables.cpp.
Referenced by init_freq_tables().
Definition at line 11 of file frequencytables.cpp.
Referenced by init_freq_tables(), and teardown_frequency_tables().
|
static |
Definition at line 12 of file frequencytables.cpp.
Referenced by get_center_frequency(), get_matching_freq_tables(), and teardown_frequency_tables().
|
static |
Definition at line 13 of file frequencytables.cpp.
Referenced by get_matching_freq_tables_internal(), init_freq_tables(), and teardown_frequency_tables().
|
staticconstexpr |
Definition at line 322 of file frequencytables.cpp.
Referenced by init_freq_tables().