|
MythTV master
|
#include <chrono>#include <cstdio>#include <cstdlib>#include <cstring>#include <sched.h>#include <thread>#include <utility>#include "libmythbase/compat.h"#include "libmythbase/mythconfig.h"#include "libmythbase/mythcorecontext.h"#include "libmythbase/mythdate.h"#include "libmythbase/mythdb.h"#include "libmythbase/mythlogging.h"#include "libmythbase/mythrandom.h"#include "libmythbase/programinfo.h"#include "libmythbase/remoteutil.h"#include "libmythbase/storagegroup.h"#include "cardutil.h"#include "channelgroup.h"#include "eitscanner.h"#include "io/mythmediabuffer.h"#include "jobqueue.h"#include "livetvchain.h"#include "mpeg/atscstreamdata.h"#include "mpeg/atsctables.h"#include "mpeg/dvbstreamdata.h"#include "mythsystemevent.h"#include "osd.h"#include "previewgeneratorqueue.h"#include "recorders/channelbase.h"#include "recorders/dtvchannel.h"#include "recorders/dtvrecorder.h"#include "recorders/dtvsignalmonitor.h"#include "recorders/v4lchannel.h"#include "recorders/vboxutils.h"#include "recordingprofile.h"#include "recordingrule.h"#include "sourceutil.h"#include "tv_rec.h"#include "tvremoteutil.h"Go to the source code of this file.
Macros | |
| #define | DEBUG_CHANNEL_PREFIX 0 |
| set to 1 to channel prefixing More... | |
| #define | LOC QString("TVRec[%1]: ").arg(m_inputId) |
| #define | LOC2 QString("TVRec[%1]: ").arg(inputid) |
| #define | TRANSITION(ASTATE, BSTATE) ((m_internalState == (ASTATE)) && (m_desiredNextState == (BSTATE))) |
| #define | SET_NEXT() do { nextState = m_desiredNextState; changed = true; } while(false) |
| #define | SET_LAST() do { nextState = m_internalState; changed = true; } while(false) |
Functions | |
| static bool | is_dishnet_eit (uint inputid) |
| static int | init_jobs (const RecordingInfo *rec, RecordingProfile &profile, bool on_host, bool transcode_bfr_comm, bool on_line_comm) |
| static void | apply_broken_dvb_driver_crc_hack (ChannelBase *, MPEGStreamData *) |
| static std::chrono::seconds | eit_start_rand (uint inputId, std::chrono::seconds eitTransportTimeout) |
| static bool | get_use_eit (uint inputid) |
| static int | get_highest_input (void) |
| static void | GetPidsToCache (DTVSignalMonitor *dtvMon, pid_cache_t &pid_cache) |
| static bool | ApplyCachedPids (DTVSignalMonitor *dtvMon, const DTVChannel *channel) |
| static QString | add_spacer (const QString &channel, const QString &spacer) |
| Adds the spacer before the last character in chan. More... | |
| #define DEBUG_CHANNEL_PREFIX 0 |
set to 1 to channel prefixing
Definition at line 47 of file tv_rec.cpp.
| #define LOC QString("TVRec[%1]: ").arg(m_inputId) |
Definition at line 49 of file tv_rec.cpp.
| #define LOC2 QString("TVRec[%1]: ").arg(inputid) |
Definition at line 50 of file tv_rec.cpp.
Definition at line 1042 of file tv_rec.cpp.
Definition at line 1041 of file tv_rec.cpp.
| #define TRANSITION | ( | ASTATE, | |
| BSTATE | |||
| ) | ((m_internalState == (ASTATE)) && (m_desiredNextState == (BSTATE))) |
Definition at line 1039 of file tv_rec.cpp.
|
static |
Adds the spacer before the last character in chan.
Definition at line 2336 of file tv_rec.cpp.
Referenced by TVRec::CheckChannelPrefix().
|
static |
Definition at line 4961 of file tv_rec.cpp.
Referenced by TVRec::SetupDTVSignalMonitor().
|
static |
Definition at line 1876 of file tv_rec.cpp.
Referenced by TVRec::SetupDTVSignalMonitor().
|
static |
Definition at line 1333 of file tv_rec.cpp.
Referenced by TVRec::EnableActiveScan(), TVRec::HandleStateChange(), TVRec::run(), and TVRec::TuningShutdowns().
|
static |
Definition at line 1316 of file tv_rec.cpp.
Referenced by eit_start_rand().
Definition at line 1275 of file tv_rec.cpp.
Referenced by TVRec::run(), and TVRec::TuningSignalCheck().
|
static |
Definition at line 1859 of file tv_rec.cpp.
Referenced by TVRec::TeardownSignalMonitor().
|
static |
Definition at line 4126 of file tv_rec.cpp.
Referenced by TVRec::InitAutoRunJobs().
Definition at line 1295 of file tv_rec.cpp.
Referenced by TVRec::TuningSignalCheck().