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 "tv_rec.h"
#include "tvremoteutil.h"
#include "recorders/dvbchannel.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 46 of file tv_rec.cpp.
#define LOC QString("TVRec[%1]: ").arg(m_inputId) |
Definition at line 48 of file tv_rec.cpp.
#define LOC2 QString("TVRec[%1]: ").arg(inputid) |
Definition at line 49 of file tv_rec.cpp.
#define TRANSITION | ( | ASTATE, | |
BSTATE | |||
) | ((m_internalState == (ASTATE)) && (m_desiredNextState == (BSTATE))) |
Definition at line 1020 of file tv_rec.cpp.
Definition at line 1022 of file tv_rec.cpp.
Definition at line 1023 of file tv_rec.cpp.
Definition at line 1248 of file tv_rec.cpp.
Referenced by TVRec::TuningSignalCheck().
|
static |
Definition at line 4015 of file tv_rec.cpp.
Referenced by TVRec::InitAutoRunJobs().
|
static |
Definition at line 4818 of file tv_rec.cpp.
Referenced by TVRec::SetupDTVSignalMonitor().
|
static |
Definition at line 1289 of file tv_rec.cpp.
Referenced by TVRec::EnableActiveScan(), TVRec::HandleStateChange(), TVRec::run(), and TVRec::TuningShutdowns().
Definition at line 1228 of file tv_rec.cpp.
Referenced by TVRec::run(), and TVRec::TuningSignalCheck().
|
static |
Definition at line 1269 of file tv_rec.cpp.
Referenced by eit_start_rand().
|
static |
Definition at line 1759 of file tv_rec.cpp.
Referenced by TVRec::TeardownSignalMonitor().
|
static |
Definition at line 1776 of file tv_rec.cpp.
Referenced by TVRec::SetupDTVSignalMonitor().
|
static |
Adds the spacer before the last character in chan.
Definition at line 2235 of file tv_rec.cpp.
Referenced by TVRec::CheckChannelPrefix().