MythTV master
Macros | Typedefs | Functions | Variables
dvbstreamhandler.cpp File Reference
#include <algorithm>
#include <chrono>
#include <fcntl.h>
#include <sys/ioctl.h>
#include <sys/select.h>
#include <thread>
#include <QString>
#include "libmythbase/mythlogging.h"
#include "cardutil.h"
#include "diseqc.h"
#include "dtvsignalmonitor.h"
#include "dvbchannel.h"
#include "dvbstreamhandler.h"
#include "dvbtypes.h"
#include "mpeg/mpegstreamdata.h"
#include "mpeg/streamlisteners.h"
Include dependency graph for dvbstreamhandler.cpp:

Go to the source code of this file.

Macros

#define LOC   QString("DVBSH[%1](%2): ").arg(m_inputId).arg(m_device)
 
#define LOC   QString("PIDInfo(%1): ").arg(dvb_dev)
 

Typedefs

using __suseconds_t = __darwin_suseconds_t
 
using pid_list_t = std::vector< uint >
 

Functions

static pid_list_t::iterator find (const PIDInfoMap &map, pid_list_t &list, pid_list_t::iterator begin, pid_list_t::iterator end, bool find_open)
 

Variables

static constexpr __suseconds_t k50Milliseconds {static_cast<__suseconds_t>(50 * 1000)}
 

Macro Definition Documentation

◆ LOC [1/2]

#define LOC   QString("DVBSH[%1](%2): ").arg(m_inputId).arg(m_device)

Definition at line 593 of file dvbstreamhandler.cpp.

◆ LOC [2/2]

#define LOC   QString("PIDInfo(%1): ").arg(dvb_dev)

Definition at line 593 of file dvbstreamhandler.cpp.

Typedef Documentation

◆ __suseconds_t

using __suseconds_t = __darwin_suseconds_t

Definition at line 37 of file dvbstreamhandler.cpp.

◆ pid_list_t

using pid_list_t = std::vector<uint>

Definition at line 362 of file dvbstreamhandler.cpp.

Function Documentation

◆ find()

static pid_list_t::iterator find ( const PIDInfoMap map,
pid_list_t list,
pid_list_t::iterator  begin,
pid_list_t::iterator  end,
bool  find_open 
)
static

Definition at line 364 of file dvbstreamhandler.cpp.

Referenced by MultiValueImp::add(), FirewireDevice::AddListener(), AudioOutput::addVisual(), AudioPlayer::addVisual(), nv_python_libs.xsltfunctions.cinemarv_api.xpathFunctions::cinemarvLinkGeneration(), nv_python_libs.xsltfunctions.comedycentral_api.xpathFunctions::comedycentralMakeLink(), MythOpenGLVideo::CreateVideoShader(), DVBStreamHandler::CycleFiltersByPriority(), nv_python_libs.bbciplayer.bbciplayer_api.Videos::displayTreeView(), nv_python_libs.hulu.hulu_api.Videos::displayTreeView(), nv_python_libs.rev3.rev3_api.Videos::displayTreeView(), nv_python_libs.thewb.thewb_api.Videos::displayTreeView(), MultiValueImp::exists(), MusicMetadata::Filename(), DVBCardNum::fillSelections(), Scheduler::FindNextConflict(), MythDRMPlane::FormatIsVideo(), TVBrowseHelper::GetBrowseChanId(), MythMMALContext::GetBuffer(), MythV4L2M2MContext::GetBuffer(), Dsmcc::GetCarouselById(), MythDRMConnector::GetConnector(), MythDRMCrtc::GetCrtc(), ATSCStreamData::GetEITPIDChanges(), DVBStreamData::GetEITPIDChanges(), MythDRMEncoder::GetEncoder(), MythWebEngineView::getExtensionForMimetype(), GetGameTypeExtensions(), GetGameTypeName(), MythUIButtonList::GetItemNext(), ChannelUtil::GetNextChannel(), ChannelGroup::GetNextChannelGroup(), MythV4L2M2MContext::GetProfiles(), APHTTPRequest::GetQueryValue(), nv_python_libs.bbciplayer.bbciplayer_api.Videos::getUserPreferences(), nv_python_libs.hulu.hulu_api.Videos::getUserPreferences(), nv_python_libs.mashups.mashups_api.Videos::getUserPreferences(), nv_python_libs.pbs.pbs_api.Videos::getUserPreferences(), nv_python_libs.rev3.rev3_api.Videos::getUserPreferences(), nv_python_libs.tedtalks.tedtalks_api.Videos::getUserPreferences(), nv_python_libs.thewb.thewb_api.Videos::getUserPreferences(), TableStatusMap::HasAllSections(), hardwareprofile.MultipartPostHandler.MultipartPostHandler::http_request(), ChannelGroup::InChannelGroupList(), ChannelBase::Init(), mythburn::intelliDraw(), Scheduler::IsBusyRecording(), TableStatusMap::IsSectionSeen(), AudioOutputSettings::IsSupportedFormat(), AudioOutputSettings::IsSupportedRate(), nv_python_libs.common.common_api.Common::linkWebPage(), nv_python_libs.xsltfunctions.mevio_api.xpathFunctions::mevioTitle(), SourceManager::needSourceFor(), anonymous_namespace{channelutil.cpp}::next_w_wrap(), MythCECAdapter::Open(), UPNPScanner::ParseBrowse(), UPNPScanner::ParseDescription(), DTVParamHelper::ParseParam(), python_pathfix::pathfix(), cCiConditionalAccessSupport::Process(), giantbomb.giantbomb_api.gamedbQueries::pubDate(), nv_python_libs.common.common_api.Common::pubDate(), MultiValueImp::remove(), AvFormatDecoder::remove_tracks_not_in_same_AVProgram(), ATSCStreamData::RemoveATSC81EITListener(), ATSCStreamData::RemoveATSCAuxListener(), ATSCStreamData::RemoveATSCEITListener(), ATSCStreamData::RemoveATSCMainListener(), DVBStreamData::RemoveDVBEITListener(), DVBStreamData::RemoveDVBMainListener(), DVBStreamData::RemoveDVBOtherListener(), MPEGStreamData::RemoveEncryptionTestPIDs(), CleanupHooksImp::removeHook(), FirewireDevice::RemoveListener(), ATSCStreamData::RemoveSCTEMainListener(), AudioOutput::removeVisual(), AudioPlayer::removeVisual(), nv_python_libs.xsltfunctions.revision3XSL_api.xpathFunctions::revision3checkIfDBItem(), nv_python_libs.xsltfunctions.revision3XSL_api.xpathFunctions::revision3Episode(), ExternRecChannelScanner::run(), anonymous_namespace{CommDetector2.cpp}::searchingForLogo(), nv_python_libs.bbciplayer.bbciplayer_api.Videos::searchTitle(), nv_python_libs.hulu.hulu_api.Videos::searchTitle(), nv_python_libs.rev3.rev3_api.Videos::searchTitle(), nv_python_libs.tedtalks.tedtalks_api.Videos::searchTitle(), nv_python_libs.thewb.thewb_api.Videos::searchTitle(), TV::ShowOSDAskAllow(), MythHTTPServer::StaleHandlers(), MythHTTPServer::StaleServices(), nv_python_libs.xsltfunctions.tedtalksXSL_api.xpathFunctions::tedtalksMakeItem(), nv_python_libs.common.common_api.Common::testSubString(), nv_python_libs.xsltfunctions.tributeca_api.xpathFunctions::tributecaLinkGeneration(), nv_python_libs.xsltfunctions.tributeca_api.xpathFunctions::tributecaTopTenTitle(), AudioSetupWizard::UpdateCapabilities(), DTVSignalMonitor::UpdateListeningForEIT(), StreamHandler::UpdateListeningForEIT(), nv_python_libs.pbs.pbs_api.Videos::updatePBS(), nv_python_libs.rev3.rev3_api.Videos::updateRev3(), FileSelector::updateSelectedList(), nv_python_libs.tedtalks.tedtalks_api.Videos::updateTedTalks(), and nv_python_libs.thewb.thewb_api.Videos::updateTheWB().

Variable Documentation

◆ k50Milliseconds

constexpr __suseconds_t k50Milliseconds {static_cast<__suseconds_t>(50 * 1000)}
staticconstexpr

Definition at line 42 of file dvbstreamhandler.cpp.

Referenced by DVBStreamHandler::RunTS().