MythTV
master
|
#include <cstdint>
#include <deque>
#include <QString>
#include <QMap>
#include <QHash>
#include <QtCore>
#include "mythexp.h"
#include "recordingtypes.h"
#include "programtypeflags.h"
Go to the source code of this file.
Macros | |
#define | DEFINE_FLAGS_ENUM |
Typedefs | |
using | frm_pos_map_t = QMap< long long, long long > |
Frame # -> File offset map. More... | |
using | stringMarkMap = std::map< QString, MarkTypes > |
using | frm_dir_map_t = QMap< uint64_t, MarkTypes > |
Frame # -> Mark map. More... | |
Functions | |
MPUBLIC QString | toString (MarkTypes type) |
MPUBLIC MarkTypes | markTypeFromString (const QString &str) |
MPUBLIC QString | SkipTypeToString (int flags) |
MPUBLIC std::deque< int > | GetPreferredSkipTypeCombinations (void) |
MPUBLIC QString | toString (AvailableStatusType status) |
Variables | |
const MPUBLIC QString | kPlayerInUseID |
const MPUBLIC QString | kPIPPlayerInUseID |
const MPUBLIC QString | kPBPPlayerInUseID |
const MPUBLIC QString | kImportRecorderInUseID |
const MPUBLIC QString | kRecorderInUseID |
const MPUBLIC QString | kFileTransferInUseID |
const MPUBLIC QString | kTruncatingDeleteInUseID |
const MPUBLIC QString | kFlaggerInUseID |
const MPUBLIC QString | kTranscoderInUseID |
const MPUBLIC QString | kPreviewGeneratorInUseID |
const MPUBLIC QString | kJobQueueInUseID |
const MPUBLIC QString | kCCExtractorInUseID |
static stringMarkMap | MarkTypeStrings |
#define DEFINE_FLAGS_ENUM |
Definition at line 164 of file programtypes.h.
using frm_pos_map_t = QMap<long long, long long> |
Frame # -> File offset map.
Definition at line 46 of file programtypes.h.
using stringMarkMap = std::map<QString, MarkTypes> |
Definition at line 83 of file programtypes.h.
using frm_dir_map_t = QMap<uint64_t, MarkTypes> |
Frame # -> Mark map.
Definition at line 119 of file programtypes.h.
enum MarkTypes |
Definition at line 48 of file programtypes.h.
enum CommFlagStatus |
Enumerator | |
---|---|
COMM_FLAG_NOT_FLAGGED | |
COMM_FLAG_DONE | |
COMM_FLAG_PROCESSING | |
COMM_FLAG_COMMFREE |
Definition at line 121 of file programtypes.h.
enum SkipType |
This is used as a bitmask.
Definition at line 129 of file programtypes.h.
enum TranscodingStatus |
Enumerator | |
---|---|
TRANSCODING_NOT_TRANSCODED | |
TRANSCODING_COMPLETE | |
TRANSCODING_RUNNING |
Definition at line 158 of file programtypes.h.
enum ProgramInfoType |
Enumerator | |
---|---|
kProgramInfoTypeRecording | |
kProgramInfoTypeVideoFile | |
kProgramInfoTypeVideoDVD | |
kProgramInfoTypeVideoStreamingHTML | |
kProgramInfoTypeVideoStreamingRTSP | |
kProgramInfoTypeVideoBD |
Definition at line 168 of file programtypes.h.
enum AvailableStatusType |
Enumerator | |
---|---|
asAvailable | |
asNotYetAvailable | |
asPendingDelete | |
asFileNotFound | |
asZeroByte | |
asDeleted |
Definition at line 177 of file programtypes.h.
enum WatchListStatus |
Enumerator | |
---|---|
wlDeleted | |
wlEarlier | |
wlWatched | |
wlExpireOff |
Definition at line 187 of file programtypes.h.
enum AutoExpireType |
Enumerator | |
---|---|
kDisableAutoExpire | |
kNormalAutoExpire | |
kDeletedAutoExpire | |
kLiveTVAutoExpire |
Definition at line 194 of file programtypes.h.
Definition at line 29 of file programtypes.cpp.
Referenced by AdjustFill(), AspectOverride(), ImageManagerFe::CreateImport(), ViewScheduled::deleteRule(), GuideGrid::deleteRule(), DetectLetterbox::Detect(), LCDProcClient::dostdclock(), TV::DoTogglePictureAttribute(), Dvr::DupInToString(), V2Dvr::DupInToString(), Dvr::DupMethodToString(), V2Dvr::DupMethodToString(), RecordingExtender::findKnownSport(), IPTVTuningData::GetDeviceName(), MythMediaCodecContext::GetProfiles(), Dvr::GetRecordedMarkup(), V2Dvr::GetRecordedMarkup(), AvFormatDecoder::GetTrackDesc(), ProgLister::HandleSelected(), DVBChannel::HasLock(), MythVideoOutputNull::Init(), VideoOutputD3D::Init(), MythVAAPIContext::InitialiseContext(), VideoOutputD3D::InputChanged(), MythVideoOutputGPU::InputChanged(), LetterboxingColour(), ProgDetails::loadPage(), RecExtEspnDataSource::loadPage(), UPnpCDSMusic::LoadTracks(), UPnpCDSVideo::LoadVideos(), TV::MenuItemDisplayPlayback(), MythPlayerVideoUI::PictureAttributeChanged(), TV::PictureAttributeHandleAction(), MythVAAPIContext::PostProcessFrame(), ClassicCommDetector::PrintFullMap(), RecordingExtender::processActiveRecordings(), RecordingExtender::processNewRecordings(), JobQueue::ProcessQueue(), Dvr::RecTypeToString(), V2Dvr::RecTypeToString(), ProgramRecPriority::remove(), AvFormatDecoder::ScanStreams(), MSqlQuery::seekDebug(), MythAirplayServer::SendResponse(), TV::SetAutoCommercialSkip(), MythVideoColourSpace::SetSupportedAttributes(), ProgLister::ShowDeleteRuleMenu(), MythVideoBounds::ToggleAdjustFill(), MythPlayerVideoUI::ToggleAdjustFill(), MythVideoBounds::ToggleAspectOverride(), RecordingRule::ToMap(), VirtualChannelMapSubtable::toStringXML(), ProgLister::UpdateButtonList(), UPnpCDS::UPnpCDS(), and DVBChannel::WaitForBackend().
Definition at line 68 of file programtypes.cpp.
Referenced by Dvr::SetRecordedMarkup(), and V2Dvr::SetRecordedMarkup().
MPUBLIC QString SkipTypeToString | ( | int | flags | ) |
Definition at line 91 of file programtypes.cpp.
Referenced by CommercialSkipMethod(), and CommMethod::CommMethod().
MPUBLIC std::deque<int> GetPreferredSkipTypeCombinations | ( | void | ) |
Definition at line 129 of file programtypes.cpp.
Referenced by CommercialSkipMethod(), and CommMethod::CommMethod().
MPUBLIC QString toString | ( | AvailableStatusType | status | ) |
Definition at line 76 of file programtypes.cpp.
const MPUBLIC QString kPlayerInUseID |
Definition at line 16 of file programtypes.cpp.
Referenced by Scheduler::FillRecordingDir(), ProgramInfo::MarkAsInUse(), ProgramInfo::QueryInUseMap(), ProgramInfo::QueryIsDeleteCandidate(), ProgramInfo::QueryIsInUse(), and TV::ShowOSDPromptDeleteRecording().
const MPUBLIC QString kPIPPlayerInUseID |
Definition at line 17 of file programtypes.cpp.
Referenced by ProgramInfo::QueryIsInUse().
const MPUBLIC QString kPBPPlayerInUseID |
Definition at line 18 of file programtypes.cpp.
Referenced by ProgramInfo::QueryIsInUse().
const MPUBLIC QString kImportRecorderInUseID |
Definition at line 19 of file programtypes.cpp.
Referenced by ProgramInfo::QueryIsInUse(), and ImportRecorder::run().
const MPUBLIC QString kRecorderInUseID |
Definition at line 20 of file programtypes.cpp.
Referenced by TVRec::CreateLiveTVRingBuffer(), Scheduler::FillRecordingDir(), ProgramInfo::MarkAsInUse(), ProgramInfo::QueryInUseMap(), ProgramInfo::QueryIsDeleteCandidate(), ProgramInfo::QueryIsInUse(), TVRec::RingBufferChanged(), TV::ShowOSDPromptDeleteRecording(), TVRec::StartRecording(), TVRec::SwitchLiveTVRingBuffer(), TVRec::SwitchRecordingRingBuffer(), TVRec::TeardownRecorder(), TVRec::TuningNewRecorder(), TVRec::TuningRestartRecorder(), and TVRec::TuningShutdowns().
const MPUBLIC QString kFileTransferInUseID |
Definition at line 21 of file programtypes.cpp.
Referenced by FileTransfer::FileTransfer(), ProgramInfo::QueryIsInUse(), and FileTransfer::~FileTransfer().
const MPUBLIC QString kTruncatingDeleteInUseID |
Definition at line 22 of file programtypes.cpp.
Referenced by ProgramInfo::QueryIsInUse(), and MainServer::TruncateAndClose().
const MPUBLIC QString kFlaggerInUseID |
Definition at line 23 of file programtypes.cpp.
Referenced by Scheduler::FillRecordingDir(), FlagCommercials(), ProgramInfo::QueryIsDeleteCandidate(), ProgramInfo::QueryIsInUse(), and RebuildSeekTable().
const MPUBLIC QString kTranscoderInUseID |
Definition at line 24 of file programtypes.cpp.
Referenced by Scheduler::FillRecordingDir(), ProgramInfo::QueryIsDeleteCandidate(), ProgramInfo::QueryIsInUse(), and Transcode::TranscodeFile().
const MPUBLIC QString kPreviewGeneratorInUseID |
Definition at line 25 of file programtypes.cpp.
Referenced by PreviewGenerator::GetScreenGrab(), PreviewGenerator::LocalPreviewRun(), and ProgramInfo::QueryIsInUse().
const MPUBLIC QString kJobQueueInUseID |
Definition at line 26 of file programtypes.cpp.
Referenced by JobQueue::ProcessJob(), ProgramInfo::QueryIsDeleteCandidate(), ProgramInfo::QueryIsInUse(), and JobQueue::RemoveRunningJob().
const MPUBLIC QString kCCExtractorInUseID |
Definition at line 27 of file programtypes.cpp.
Referenced by RunCCExtract().
|
static |
Definition at line 84 of file programtypes.h.
Referenced by markTypeFromString().