MythTV
master
|
Collection of helper utilities for input DB use. More...
#include <libmythtv/cardutil.h>
Public Types | |
enum | INPUT_TYPES : std::uint8_t { ERROR_OPEN = 0, ERROR_UNKNOWN = 1, ERROR_PROBE = 2, QPSK = 3, DVBS = 3, QAM = 4, DVBC = 4, OFDM = 5, DVBT = 5, ATSC = 6, V4L = 7, MPEG = 8, FIREWIRE = 9, HDHOMERUN = 10, FREEBOX = 11, HDPVR = 12, DVBS2 = 13, IMPORT = 14, DEMO = 15, ASI = 16, CETON = 17, EXTERNAL = 18, VBOX = 19, DVBT2 = 20, V4L2ENC = 21, SATIP = 22 } |
all the different inputs More... | |
using | InputTypes = QMap< QString, QString > |
Static Public Member Functions | |
static enum INPUT_TYPES | toInputType (const QString &name) |
static bool | IsEncoder (const QString &rawtype) |
static bool | IsV4L (const QString &rawtype) |
static bool | IsChannelChangeDiscontinuous (const QString &rawtype) |
static bool | IsUnscanable (const QString &rawtype) |
static QString | GetScanableInputTypes (void) |
static bool | IsCableCardPresent (uint inputid, const QString &inputType) |
static bool | IsEITCapable (const QString &rawtype) |
static bool | IsTunerSharingCapable (const QString &rawtype) |
static bool | HasTuner (const QString &rawtype, const QString &device) |
static bool | IsTunerShared (uint inputidA, uint inputidB) |
static bool | IsTuningDigital (const QString &rawtype) |
static bool | IsTuningAnalog (const QString &rawtype) |
static bool | IsTuningVirtual (const QString &rawtype) |
static bool | IsSingleInputType (const QString &rawtype) |
static bool | IsChannelReusable (const QString &rawtype) |
static int | CreateCaptureCard (const QString &videodevice, const QString &audiodevice, const QString &vbidevice, const QString &inputtype, uint audioratelimit, const QString &hostname, uint dvb_swfilter, uint dvb_sat_type, bool dvb_wait_for_seqstart, bool skipbtaudio, bool dvb_on_demand, uint dvb_diseqc_type, uint firewire_speed, const QString &firewire_model, uint firewire_connection, std::chrono::milliseconds signal_timeout, std::chrono::milliseconds channel_timeout, uint dvb_tuning_delay, uint contrast, uint brightness, uint colour, uint hue, uint diseqcid, bool dvb_eitscan) |
static bool | DeleteInput (uint inputid) |
static bool | DeleteAllInputs (void) |
static std::vector< uint > | GetInputList (void) |
static std::vector< uint > | GetSchedInputList (void) |
static std::vector< uint > | GetLiveTVInputList (void) |
static uint | GetFirstInputID (const QString &videodevice) |
Convenience function for GetInputIDs() More... | |
static std::vector< uint > | GetInputIDs (const QString &videodevice=QString(), const QString &rawtype=QString(), const QString &inputname=QString(), QString hostname=QString()) |
Returns all inputids of inputs that uses the specified videodevice if specified, and optionally rawtype and a non-local hostname. More... | |
static uint | GetChildInputCount (uint inputid) |
static std::vector< uint > | GetChildInputIDs (uint inputid) |
static bool | IsInputTypePresent (const QString &rawtype, QString hostname=QString()) |
Returns true if the input type is present and connected to an input. More... | |
static InputTypes | GetInputTypes (void) |
static QStringList | GetInputTypeNames (uint sourceid) |
Get a list of card input types for a source id. More... | |
static QStringList | GetVideoDevices (const QString &rawtype, QString hostname=QString()) |
Returns the videodevices of the matching inputs, duplicates removed. More... | |
static QString | GetRawInputType (uint inputid) |
static QString | GetVideoDevice (uint inputid) |
static QString | GetAudioDevice (uint inputid) |
static QString | GetVBIDevice (uint inputid) |
static QString | GetDeliverySystemFromDB (uint inputid) |
static QString | GetDiSEqCPosition (uint inputid) |
static QString | GetHostname (uint inputid) |
static int | GetValueInt (const QString &col, uint inputid) |
static bool | SetValue (const QString &col, uint inputid, int val) |
static bool | SetValue (const QString &col, uint inputid, const QString &val) |
static bool | SetStartChannel (uint inputid, const QString &channum) |
static int | CreateCardInput (uint inputid, uint sourceid, const QString &inputname, const QString &externalcommand, const QString &changer_device, const QString &changer_model, const QString &hostname, const QString &tunechan, const QString &startchan, const QString &displayname, bool dishnet_eit, uint recpriority, uint quicktune, uint schedorder, uint livetvorder) |
static std::vector< uint > | GetInputIDs (uint sourceid) |
static bool | GetInputInfo (InputInfo &input, std::vector< uint > *groupids=nullptr) |
static QList< InputInfo > | GetAllInputInfo (bool virtTuners) |
static QString | GetInputName (uint inputid) |
static QString | GetStartChannel (uint inputid) |
static QString | GetDisplayName (uint inputid) |
static bool | IsUniqueDisplayName (const QString &name, uint exclude_inputid) |
static uint | GetSourceID (uint inputid) |
static uint | CreateInputGroup (const QString &name) |
static uint | CreateDeviceInputGroup (uint inputid, const QString &type, const QString &host, const QString &device) |
static uint | GetDeviceInputGroup (uint inputid) |
static bool | LinkInputGroup (uint inputid, uint inputgroupid) |
static bool | UnlinkInputGroup (uint inputid, uint inputgroupid) |
static std::vector< uint > | GetInputGroups (uint inputid) |
static std::vector< uint > | GetGroupInputIDs (uint inputgroupid) |
static std::vector< uint > | GetConflictingInputs (uint inputid) |
static QString | GetDeviceLabel (const QString &inputtype, const QString &videodevice) |
static QString | GetDeviceLabel (uint inputid) |
static QString | ProbeSubTypeName (uint inputid) |
static QStringList | ProbeVideoInputs (const QString &device, const QString &inputtype=QString()) |
static QStringList | ProbeAudioInputs (const QString &device, const QString &inputtype=QString()) |
static void | GetDeviceInputNames (const QString &device, const QString &inputtype, QStringList &inputs) |
static QStringList | ProbeVideoDevices (const QString &rawtype) |
static void | ClearVideoDeviceCache () |
static uint | CloneCard (uint src_inputid, uint dst_inputid) |
static bool | InputSetMaxRecordings (uint parentid, uint max_recordings) |
static uint | AddChildInput (uint parentid) |
static QString | GetFirewireChangerNode (uint inputid) |
static QString | GetFirewireChangerModel (uint inputid) |
static bool | GetTimeouts (uint inputid, std::chrono::milliseconds &signal_timeout, std::chrono::milliseconds &channel_timeout) |
static bool | IgnoreEncrypted (uint inputid, const QString &inputname) |
static bool | TVOnly (uint inputid, const QString &inputname) |
static bool | IsInNeedOfExternalInputConf (uint inputid) |
static uint | GetQuickTuning (uint inputid, const QString &input_name) |
static bool | IsDVB (uint inputid) |
Returns true if the input is a DVB input. More... | |
static bool | IsDVBInputType (const QString &inputType) |
Returns true iff the input_type is one of the DVB types. More... | |
static QStringList | ProbeDeliverySystems (const QString &device) |
static QStringList | ProbeDeliverySystems (int fd_frontend) |
static QString | ProbeDefaultDeliverySystem (const QString &device) |
static QString | ProbeDVBType (const QString &device) |
static QString | ProbeDVBFrontendName (const QString &device) |
Returns the input type from the video device. More... | |
static bool | HasDVBCRCBug (const QString &device) |
Returns true if and only if the device munges PAT/PMT tables, and then doesn't fix the CRC. More... | |
static std::chrono::milliseconds | GetMinSignalMonitoringDelay (const QString &device) |
static DTVTunerType | ConvertToTunerType (DTVModulationSystem delsys) |
static DTVTunerType | GetTunerType (uint inputid) |
static DTVTunerType | ProbeTunerType (int fd_frontend) |
static DTVTunerType | ProbeTunerType (const QString &device) |
static DTVTunerType | GetTunerTypeFromMultiplex (uint mplexid) |
static DTVModulationSystem | GetDeliverySystem (uint inputid) |
static DTVModulationSystem | ProbeCurrentDeliverySystem (const QString &device) |
static DTVModulationSystem | ProbeCurrentDeliverySystem (int fd_frontend) |
static DTVModulationSystem | ProbeBestDeliverySystem (int fd) |
static DTVModulationSystem | GetOrProbeDeliverySystem (uint inputid, int fd) |
static int | SetDefaultDeliverySystem (uint inputid, int fd) |
static int | SetDeliverySystem (uint inputid) |
static int | SetDeliverySystem (uint inputid, DTVModulationSystem delsys) |
static int | SetDeliverySystem (uint inputid, int fd) |
static int | SetDeliverySystem (uint inputid, DTVModulationSystem delsys, int fd) |
static int | OpenVideoDevice (int inputid) |
static int | OpenVideoDevice (const QString &device) |
static QString | GetDeviceName (dvb_dev_type_t type, const QString &device) |
static InputNames | GetConfiguredDVBInputs (const QString &device) |
static QStringList | CapabilitiesToString (uint64_t capabilities) |
static bool | hasV4L2 (int videofd) |
static bool | GetV4LInfo (int videofd, QString &input, QString &driver, uint32_t &version, uint32_t &capabilities) |
static bool | GetV4LInfo (int videofd, QString &input, QString &driver) |
static InputNames | ProbeV4LVideoInputs (int videofd, bool &ok) |
static InputNames | ProbeV4LAudioInputs (int videofd, bool &ok) |
static bool | HDHRdoesDVB (const QString &device) |
If the device is valid, check if the model does DVB. More... | |
static bool | HDHRdoesDVBC (const QString &device) |
If the device is valid, check if the model does DVB-C. More... | |
static QString | GetHDHRdesc (const QString &device) |
Get a nicely formatted string describing the device. More... | |
static QString | GetVBoxdesc (const QString &id, const QString &ip, const QString &tunerNo, const QString &tunerType) |
Get a nicely formatted string describing the device. More... | |
static int | GetASIDeviceNumber (const QString &device, QString *error=nullptr) |
static uint | GetASIBufferSize (uint device_num, QString *error=nullptr) |
static uint | GetASINumBuffers (uint device_num, QString *error=nullptr) |
static int | GetASIMode (uint device_num, QString *error=nullptr) |
static bool | SetASIMode (uint device_num, uint mode, QString *error=nullptr) |
Static Private Member Functions | |
static QStringList | ProbeV4LVideoInputs (const QString &device) |
static QStringList | ProbeV4LAudioInputs (const QString &device) |
static QStringList | ProbeDVBInputs (const QString &device) |
Static Private Attributes | |
static QMap< QString, QStringList > | s_videoDeviceCache |
Collection of helper utilities for input DB use.
Definition at line 41 of file cardutil.h.
using CardUtil::InputTypes = QMap<QString, QString> |
Definition at line 46 of file cardutil.h.
enum CardUtil::INPUT_TYPES : std::uint8_t |
all the different inputs
Enumerator | |
---|---|
ERROR_OPEN | |
ERROR_UNKNOWN | |
ERROR_PROBE | |
QPSK | |
DVBS | |
QAM | |
DVBC | |
OFDM | |
DVBT | |
ATSC | |
V4L | |
MPEG | |
FIREWIRE | |
HDHOMERUN | |
FREEBOX | |
HDPVR | |
DVBS2 | |
IMPORT | |
DEMO | |
ASI | |
CETON | |
EXTERNAL | |
VBOX | |
DVBT2 | |
V4L2ENC | |
SATIP |
Definition at line 49 of file cardutil.h.
|
inlinestatic |
Definition at line 82 of file cardutil.h.
Referenced by get_cardtype(), V2Capture::GetCaptureDeviceList(), V2Capture::GetCardSubType(), DVBConfigurationGroup::probeCard(), ScanWizard::SetInput(), ScanTypeSetting::SetInput(), and ChannelScannerWeb::StartScan().
|
inlinestatic |
Definition at line 139 of file cardutil.h.
Referenced by CardInput::CardInput(), RecordingProfile::CompleteLoad(), TVRec::GetMaxBitrate(), ChannelData::insert_chan(), SourceUtil::IsEncoder(), SourceUtil::IsProperlyConnected(), and CardInput::sourceFetch().
|
inlinestatic |
Definition at line 149 of file cardutil.h.
Referenced by CardInput::CardInput(), ChannelWizard::ChannelWizard(), TVRec::CloseChannel(), ChannelBase::CreateChannel(), and RecorderBase::CreateRecorder().
|
inlinestatic |
Definition at line 156 of file cardutil.h.
Referenced by LiveTVChain::DoGetNextProgram().
|
inlinestatic |
Definition at line 162 of file cardutil.h.
Referenced by CardInput::CardInput(), CardInput::channelScanner(), ChannelData::insert_chan(), SourceUtil::IsProperlyConnected(), SourceUtil::IsUnscanable(), CardInput::SetSourceID(), and CardInput::sourceFetch().
|
static |
Definition at line 60 of file cardutil.cpp.
Referenced by ScanWizard::SetupConfig().
Definition at line 107 of file cardutil.cpp.
Referenced by SourceUtil::IsCableCardPresent(), HDHRChannelFetcher::run(), and CardInput::sourceFetch().
|
inlinestatic |
Definition at line 174 of file cardutil.h.
Referenced by RecordingProfile::CompleteLoad(), TVRec::run(), and ChannelOptionsCommon::sourceChanged().
|
inlinestatic |
Definition at line 181 of file cardutil.h.
Referenced by CardInput::CardInput(), CloneCard(), RecordingProfile::CompleteLoad(), IsTunerShared(), and CaptureCard::Save().
|
static |
Definition at line 215 of file cardutil.cpp.
Referenced by CardInput::CardInput().
Definition at line 240 of file cardutil.cpp.
Referenced by TV::ShowOSDAskAllow().
|
inlinestatic |
Definition at line 194 of file cardutil.h.
Referenced by SourceUtil::IsProperlyConnected().
|
inlinestatic |
Definition at line 202 of file cardutil.h.
Referenced by SourceUtil::IsProperlyConnected().
|
inlinestatic |
Definition at line 209 of file cardutil.h.
Referenced by SourceUtil::IsProperlyConnected().
|
inlinestatic |
Definition at line 216 of file cardutil.h.
Referenced by GetDeviceInputNames(), and ProbeVideoInputs().
|
inlinestatic |
Definition at line 226 of file cardutil.h.
Referenced by TVRec::SetupDTVSignalMonitor().
|
static |
Definition at line 2672 of file cardutil.cpp.
Referenced by V2Capture::AddCaptureCard().
Definition at line 2821 of file cardutil.cpp.
Referenced by clone_capturecard(), CaptureCardEditor::DeleteAllCaptureCardsOnHost(), CaptureCard::deleteEntry(), MainServer::HandleAddChildInput(), InputSetMaxRecordings(), V2Capture::RemoveCaptureCard(), and V2Capture::RemoveCardInput().
|
static |
Definition at line 2891 of file cardutil.cpp.
Referenced by CaptureCardEditor::DeleteAllCaptureCards(), and V2Capture::RemoveAllCaptureCards().
|
static |
Definition at line 2900 of file cardutil.cpp.
Referenced by RemoteGetRecordingStatus().
|
static |
Definition at line 2921 of file cardutil.cpp.
Referenced by SchedOptMixin::Load().
|
static |
Definition at line 2943 of file cardutil.cpp.
|
inlinestatic |
Convenience function for GetInputIDs()
Definition at line 272 of file cardutil.h.
Referenced by ChannelBase::InitializeInput().
|
static |
Returns all inputids of inputs that uses the specified videodevice if specified, and optionally rawtype and a non-local hostname.
The result is ordered from smallest to largest.
videodevice | Video device we want input ids for |
rawtype | Input type as used in DB or empty string for any type |
inputname | The name of the input card. |
hostname | Host on which device resides, only required if said host is not the localhost |
Definition at line 1303 of file cardutil.cpp.
Referenced by SourceUtil::IsCableCardPresent(), and main().
Definition at line 1347 of file cardutil.cpp.
Definition at line 1371 of file cardutil.cpp.
Referenced by DeleteInput(), Scheduler::InitInputInfoMap(), InputSetMaxRecordings(), and CaptureCard::Save().
|
static |
Returns true if the input type is present and connected to an input.
rawtype | Input type as used in DB or empty string for all inputs |
hostname | Host to check, or empty string for current host |
Definition at line 287 of file cardutil.cpp.
|
static |
Definition at line 321 of file cardutil.cpp.
Referenced by ProfileGroup::addMissingDynamicProfiles(), and ProfileGroup::fillSelections().
|
static |
Get a list of card input types for a source id.
sourceid | [in] source id. |
Definition at line 368 of file cardutil.cpp.
Referenced by ChannelWizard::ChannelWizard().
|
static |
Returns the videodevices of the matching inputs, duplicates removed.
rawtype | Input type as used in DB or empty string for all inputids |
hostname | Host to check, or empty string for current host |
Definition at line 396 of file cardutil.cpp.
Referenced by RecordingProfile::CompleteLoad(), VBoxConfigurationGroup::FillDeviceList(), DVBCardNum::fillSelections(), and ASIDevice::fillSelections().
|
inlinestatic |
Definition at line 296 of file cardutil.h.
Referenced by CardInput::channelScanner(), CloneCard(), V2Channel::FetchChannelsFromSource(), InputName::fillSelections(), get_cardtype(), CaptureCard::GetRawCardType(), SourceUtil::IsCableCardPresent(), main(), ChannelScanner::PreScanCommon(), ProbeSubTypeName(), CaptureCard::Save(), ChannelScanner::Scan(), CardInput::SetSourceID(), CardInput::sourceFetch(), and TunerCardAudioInput::TunerCardAudioInput().
|
inlinestatic |
Definition at line 298 of file cardutil.h.
Referenced by InputName::fillSelections(), get_cardtype(), V2Capture::GetCardSubType(), IsCableCardPresent(), VBoxDeviceIDList::Load(), main(), OpenVideoDevice(), ChannelScanner::PreScanCommon(), ExternRecChannelScanner::run(), VBoxChannelFetcher::run(), IPTVChannelFetcher::run(), HDHRChannelFetcher::run(), CaptureCard::Save(), ChannelScanner::Scan(), SendMythSystemRecEvent(), ScanTypeSetting::SetInput(), ChannelScannerWeb::StartScan(), and VBoxChannelFetcher::VBoxChannelFetcher().
|
inlinestatic |
Definition at line 300 of file cardutil.h.
Referenced by TunerCardAudioInput::TunerCardAudioInput().
|
inlinestatic |
Definition at line 302 of file cardutil.h.
Referenced by SendMythSystemRecEvent().
|
inlinestatic |
Definition at line 304 of file cardutil.h.
Referenced by CardInput::CardInput(), and GetDeliverySystem().
|
inlinestatic |
Definition at line 306 of file cardutil.h.
Referenced by SatIPChannel::Tune().
|
inlinestatic |
Definition at line 309 of file cardutil.h.
Referenced by MainServer::HandleAddChildInput().
|
inlinestatic |
Definition at line 312 of file cardutil.h.
Referenced by V4LChannel::ChangePictureAttribute(), V4LChannel::GetPictureAttribute(), and V4LChannel::InitPictureAttribute().
Definition at line 314 of file cardutil.h.
Referenced by V4LChannel::ChangePictureAttribute().
|
inlinestatic |
Definition at line 317 of file cardutil.h.
Definition at line 1678 of file cardutil.cpp.
Referenced by checkChannelPresets(), MythPlayer::OpenFile(), and TV::SwitchInputs().
|
static |
Definition at line 1965 of file cardutil.cpp.
Referenced by V2Capture::AddCardInput().
Definition at line 1654 of file cardutil.cpp.
Definition at line 1696 of file cardutil.cpp.
Referenced by GetInputName(), MainServer::HandleGetFreeInputInfo(), and TVRec::IsBusy().
Definition at line 1733 of file cardutil.cpp.
Referenced by FillEncoderList(), and V2Dvr::GetInputList().
|
static |
Definition at line 1771 of file cardutil.cpp.
Referenced by main(), and TVRec::TuningGetChanNum().
|
static |
Definition at line 1790 of file cardutil.cpp.
Referenced by checkChannelPresets(), TVRec::Init(), GuideGrid::RunProgramGuide(), StartingChannel::SetSourceID(), TV::SwitchInputs(), and TVRec::TuningGetChanNum().
|
static |
Definition at line 1874 of file cardutil.cpp.
Referenced by ChannelScanSM::GetChannelList(), SchedOptMixin::Load(), TV::MenuItemDisplayPlayback(), and TV::UpdateOSDInput().
Definition at line 1896 of file cardutil.cpp.
Referenced by V2Capture::AddCardInput().
Definition at line 1946 of file cardutil.cpp.
Referenced by TVBrowseHelper::BrowseChannel(), DVBChannel::DVBChannel(), get_chanid(), main(), and TVRec::TuningFrequency().
|
static |
Definition at line 2025 of file cardutil.cpp.
Referenced by V2Capture::AddUserInputGroup(), CreateDeviceInputGroup(), and CardInput::CreateNewInputGroupSlot().
|
static |
Definition at line 2067 of file cardutil.cpp.
Referenced by CreateCaptureCard(), and CaptureCard::Save().
Definition at line 2080 of file cardutil.cpp.
Referenced by CaptureCard::Save().
Definition at line 2104 of file cardutil.cpp.
Referenced by clone_capturecard(), CreateCaptureCard(), V2Capture::LinkInputGroup(), CaptureCard::Save(), and InputGroup::Save().
Definition at line 2155 of file cardutil.cpp.
Referenced by clone_capturecard(), DeleteInput(), LinkInputGroup(), CaptureCard::Save(), InputGroup::Save(), and V2Capture::UnlinkInputGroup().
Definition at line 2186 of file cardutil.cpp.
Referenced by clone_capturecard(), GetInputInfo(), and TV::ShowOSDAskAllow().
Definition at line 2212 of file cardutil.cpp.
Definition at line 2239 of file cardutil.cpp.
Referenced by Scheduler::AddChildInput(), TVRec::Init(), Scheduler::InitInputInfoMap(), ChannelBase::IsInputAvailable(), TVRec::RecordPending(), and TVRec::run().
|
static |
Definition at line 2636 of file cardutil.cpp.
Referenced by CaptureCard::fillSelections(), HttpStatus::FillStatusXML(), V2Status::FillStatusXML(), GetDeviceLabel(), InputSelector::Load(), and CardInputEditor::Load().
|
static |
Definition at line 2642 of file cardutil.cpp.
|
static |
Definition at line 981 of file cardutil.cpp.
Referenced by get_cardtype(), V2Capture::GetCardSubType(), ScanWizard::SetInput(), ScanTypeSetting::SetInput(), and ChannelScannerWeb::StartScan().
|
static |
Definition at line 2526 of file cardutil.cpp.
|
static |
Definition at line 2540 of file cardutil.cpp.
Referenced by TunerCardAudioInput::fillSelections(), and fillSelectionsFromDir().
|
static |
Definition at line 2658 of file cardutil.cpp.
Referenced by InputName::fillSelections(), and fillSelectionsFromDir().
|
static |
Definition at line 447 of file cardutil.cpp.
Referenced by HDHomeRunConfigurationGroup::FillDeviceList(), VBoxConfigurationGroup::FillDeviceList(), DVBCardNum::fillSelections(), ASIDevice::fillSelections(), and V2Capture::GetCaptureDeviceList().
|
static |
Definition at line 441 of file cardutil.cpp.
Referenced by CaptureCard::fillSelections().
Definition at line 1548 of file cardutil.cpp.
Referenced by AddChildInput(), InputSetMaxRecordings(), and CaptureCard::Save().
Definition at line 1559 of file cardutil.cpp.
Referenced by CardInput::Save(), and V2Capture::SetInputMaxRecordings().
Definition at line 1592 of file cardutil.cpp.
Referenced by MainServer::HandleAddChildInput().
|
static |
Definition at line 1620 of file cardutil.cpp.
Referenced by ChannelBase::ChangeInternalChannel().
|
static |
Definition at line 1637 of file cardutil.cpp.
Referenced by ChannelBase::ChangeInternalChannel().
|
static |
Definition at line 2286 of file cardutil.cpp.
Referenced by DVBSignalMonitor::DVBSignalMonitor(), ChannelScanner::PreScanCommon(), and SatIPSignalMonitor::SatIPSignalMonitor().
Definition at line 2309 of file cardutil.cpp.
Referenced by CardInput::CardInput().
Definition at line 2320 of file cardutil.cpp.
Referenced by DTVChannel::GetSuggestedTuningMode().
Returns true if the input is a DVB input.
Definition at line 405 of file cardutil.h.
|
static |
Returns true iff the input_type is one of the DVB types.
Definition at line 1028 of file cardutil.cpp.
Referenced by SignalMonitor::Init().
|
static |
Referenced by V2Capture::GetCaptureDeviceList(), ProbeBestDeliverySystem(), and DVBConfigurationGroup::probeCard().
|
static |
|
static |
Definition at line 707 of file cardutil.cpp.
Referenced by V2Capture::GetCaptureDeviceList(), and DVBConfigurationGroup::probeCard().
|
static |
Definition at line 723 of file cardutil.cpp.
Referenced by V2Capture::GetCaptureDeviceList(), ChannelScanner::PreScanCommon(), DVBConfigurationGroup::probeCard(), and ChannelScanner::Scan().
|
static |
Returns the input type from the video device.
Definition at line 744 of file cardutil.cpp.
Referenced by V2Capture::GetCaptureDeviceList(), GetMinSignalMonitoringDelay(), HasDVBCRCBug(), and DVBConfigurationGroup::probeCard().
|
static |
Returns true if and only if the device munges PAT/PMT tables, and then doesn't fix the CRC.
Currently the list of broken DVB hardware and drivers includes: "VLSI VES1x93 DVB-S", and "ST STV0299 DVB-S"
Note: "DST DVB-S" was on this list but has been verified to not mess up the PAT using Linux 2.6.18.1.
Note: "Philips TDA10046H DVB-T" was on this list but has been verified to not mess up the PMT with a recent kernel and firmware (See https://code.mythtv.org/trac/ticket/3541).
device | Open DVB frontend device file descriptor to be checked |
Definition at line 788 of file cardutil.cpp.
Referenced by DVBChannel::DVBChannel().
|
static |
Definition at line 795 of file cardutil.cpp.
Referenced by DVBChannel::DVBChannel().
|
static |
Definition at line 805 of file cardutil.cpp.
Referenced by ChannelScanSM::AddToList(), GetTunerType(), GetTunerTypeFromMultiplex(), DVBChannel::Open(), ProbeSubTypeName(), and ProbeTunerType().
|
static |
Definition at line 848 of file cardutil.cpp.
|
static |
Definition at line 856 of file cardutil.cpp.
Referenced by ProbeDVBType().
|
static |
Definition at line 864 of file cardutil.cpp.
|
static |
Definition at line 872 of file cardutil.cpp.
Referenced by ScanWizard::SetPaneDefaults().
|
static |
Definition at line 906 of file cardutil.cpp.
Referenced by GetOrProbeDeliverySystem(), GetTunerType(), DVBChannel::Open(), and ProbeSubTypeName().
|
static |
Referenced by ProbeBestDeliverySystem(), and ProbeTunerType().
|
static |
|
static |
Definition at line 1040 of file cardutil.cpp.
Referenced by GetOrProbeDeliverySystem(), ProbeDefaultDeliverySystem(), and ProbeSubTypeName().
|
static |
Definition at line 1089 of file cardutil.cpp.
Referenced by SetDefaultDeliverySystem().
|
static |
Definition at line 1117 of file cardutil.cpp.
|
static |
Referenced by DVBChannel::Open(), ProbeSubTypeName(), and SetDefaultDeliverySystem().
|
static |
|
static |
|
static |
|
static |
Definition at line 1233 of file cardutil.cpp.
Referenced by ProbeDefaultDeliverySystem(), and ProbeSubTypeName().
|
static |
Definition at line 1239 of file cardutil.cpp.
|
static |
Definition at line 2965 of file cardutil.cpp.
Referenced by DVBCam::DVBCam(), DVBChannel::DVBChannel(), DVBCardNum::Load(), DVBPIDInfo::Open(), DVBChannel::Open(), OpenVideoDevice(), ProbeDVBFrontendName(), and DVBCam::Start().
|
static |
Definition at line 2445 of file cardutil.cpp.
Referenced by ProbeDVBInputs().
|
static |
Definition at line 2473 of file cardutil.cpp.
Referenced by DVBChannel::Open().
|
static |
Definition at line 2341 of file cardutil.cpp.
|
static |
Definition at line 2353 of file cardutil.cpp.
Referenced by AnalogSignalMonitor::AnalogSignalMonitor(), fillSelectionsFromDir(), VideoDevice::fillSelectionsFromDir(), VBIDevice::fillSelectionsFromDir(), V4LChannel::Open(), MpegRecorder::OpenV4L2DeviceAsInput(), V4LConfigurationGroup::probeCard(), MPEGConfigurationGroup::probeCard(), and HDPVRConfigurationGroup::probeCard().
|
inlinestatic |
Definition at line 440 of file cardutil.h.
|
static |
Referenced by GetDeviceInputNames(), V4LChannel::InitializeInputs(), ProbeV4LVideoInputs(), and ProbeVideoInputs().
|
static |
Referenced by ProbeAudioInputs(), and ProbeV4LAudioInputs().
|
static |
If the device is valid, check if the model does DVB.
Definition at line 3078 of file cardutil.cpp.
Referenced by get_cardtype(), V2Capture::GetCardSubType(), ScanTypeSetting::SetInput(), and ChannelScannerWeb::StartScan().
|
static |
If the device is valid, check if the model does DVB-C.
Definition at line 3104 of file cardutil.cpp.
Referenced by get_cardtype(), V2Capture::GetCardSubType(), ScanTypeSetting::SetInput(), and ChannelScannerWeb::StartScan().
|
static |
Get a nicely formatted string describing the device.
Definition at line 3130 of file cardutil.cpp.
|
static |
Get a nicely formatted string describing the device.
Definition at line 3183 of file cardutil.cpp.
Referenced by VBoxConfigurationGroup::FillDeviceList(), and V2Capture::GetCaptureDeviceList().
|
static |
Definition at line 3252 of file cardutil.cpp.
Referenced by ASIStreamHandler::Open(), ASIConfigurationGroup::probeCard(), and ProbeVideoDevices().
Definition at line 3307 of file cardutil.cpp.
Referenced by ASIStreamHandler::Open().
Definition at line 3331 of file cardutil.cpp.
Referenced by ASIStreamHandler::Open().
|
static |
Definition at line 3355 of file cardutil.cpp.
Definition at line 3378 of file cardutil.cpp.
Referenced by ASIStreamHandler::Open().
|
staticprivate |
Definition at line 2553 of file cardutil.cpp.
|
staticprivate |
Definition at line 2584 of file cardutil.cpp.
|
staticprivate |
Definition at line 2617 of file cardutil.cpp.
Referenced by ProbeVideoInputs().
|
staticprivate |
Definition at line 475 of file cardutil.h.
Referenced by ClearVideoDeviceCache(), and ProbeVideoDevices().