MythTV  master
Macros | Functions | Variables
dvbchannel.cpp File Reference
#include <fcntl.h>
#include <unistd.h>
#include <utility>
#include <sys/poll.h>
#include <sys/select.h>
#include <sys/time.h>
#include <sys/types.h>
#include <chrono>
#include <thread>
#include "libmythbase/mythconfig.h"
#include "libmythbase/mythdb.h"
#include "cardutil.h"
#include "channelutil.h"
#include "dvbtypes.h"
#include "dvbchannel.h"
#include "dvbcam.h"
#include "tv_rec.h"
Include dependency graph for dvbchannel.cpp:

Go to the source code of this file.

Macros

#define LOC   QString("DVBChan[%1](%2): ").arg(m_inputId).arg(DVBChannel::GetDevice())
 
#define DTV_STAT_FULL_DEBUG   0
 

Functions

static struct dvb_frontend_parameters dtvmultiplex_to_dvbparams (DTVTunerType tuner_type, const DTVMultiplex &tuning, uint intermediate_freq, bool can_fec_auto)
 
static DTVMultiplex dvbparams_to_dtvmultiplex (DTVTunerType tuner_type, const dvb_frontend_parameters &params)
 
static struct dtv_properties * dtvmultiplex_to_dtvproperties (uint inputId, DTVTunerType tuner_type, DTVModulationSystem current_sys, const DTVMultiplex &tuning, uint intermediate_freq, bool can_fec_auto, bool do_tune=true)
 

Variables

static constexpr std::chrono::milliseconds concurrent_tunings_delay { 1s }
 

Macro Definition Documentation

◆ LOC

#define LOC   QString("DVBChan[%1](%2): ").arg(m_inputId).arg(DVBChannel::GetDevice())

Definition at line 70 of file dvbchannel.cpp.

◆ DTV_STAT_FULL_DEBUG

#define DTV_STAT_FULL_DEBUG   0

Definition at line 73 of file dvbchannel.cpp.

Function Documentation

◆ dtvmultiplex_to_dvbparams()

static struct dvb_frontend_parameters dtvmultiplex_to_dvbparams ( DTVTunerType  tuner_type,
const DTVMultiplex tuning,
uint  intermediate_freq,
bool  can_fec_auto 
)
static

Definition at line 1637 of file dvbchannel.cpp.

Referenced by DVBChannel::Tune().

◆ dvbparams_to_dtvmultiplex()

static DTVMultiplex dvbparams_to_dtvmultiplex ( DTVTunerType  tuner_type,
const dvb_frontend_parameters &  params 
)
static

Definition at line 1695 of file dvbchannel.cpp.

Referenced by DVBChannel::ProbeTuningParams().

◆ dtvmultiplex_to_dtvproperties()

static struct dtv_properties * dtvmultiplex_to_dtvproperties ( uint  inputId,
DTVTunerType  tuner_type,
DTVModulationSystem  current_sys,
const DTVMultiplex tuning,
uint  intermediate_freq,
bool  can_fec_auto,
bool  do_tune = true 
)
static

Definition at line 1739 of file dvbchannel.cpp.

Referenced by DVBChannel::Tune().

Variable Documentation

◆ concurrent_tunings_delay

constexpr std::chrono::milliseconds concurrent_tunings_delay { 1s }
staticconstexpr

Definition at line 67 of file dvbchannel.cpp.

Referenced by DVBChannel::Tune().