MythTV
master
|
#include <cstdint>
#include <deque>
#include <QString>
#include <QMap>
#include <QHash>
#include <QtCore>
#include "mythexp.h"
#include "recordingtypes.h"
Go to the source code of this file.
Macros | |
#define | kAudioPropertyBits 6 |
#define | kAudioPropertyOffset 0 |
#define | kAudioPropertyMask (0x3f<<kAudioPropertyOffset) |
#define | kVideoPropertyBits 11 |
#define | kVideoPropertyOffset kAudioPropertyBits |
#define | kVideoPropertyMask (0x7ff<<kVideoPropertyOffset) |
#define | kSubtitlePropertyBits 4 |
#define | kSubtitlePropertyOffset (kAudioPropertyBits+kVideoPropertyBits) |
#define | kSubtitlePropertyMask (0x0f<<kSubtitlePropertyOffset) |
Typedefs | |
using | frm_pos_map_t = QMap< long long, long long > |
Frame # -> File offset map. More... | |
using | frm_dir_map_t = QMap< uint64_t, MarkTypes > |
Frame # -> Mark map. More... | |
Functions | |
MPUBLIC QString | toString (MarkTypes type) |
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 |
#define kAudioPropertyBits 6 |
Definition at line 178 of file programtypes.h.
#define kAudioPropertyOffset 0 |
Definition at line 179 of file programtypes.h.
#define kAudioPropertyMask (0x3f<<kAudioPropertyOffset) |
Definition at line 180 of file programtypes.h.
#define kVideoPropertyBits 11 |
Definition at line 199 of file programtypes.h.
#define kVideoPropertyOffset kAudioPropertyBits |
Definition at line 200 of file programtypes.h.
#define kVideoPropertyMask (0x7ff<<kVideoPropertyOffset) |
Definition at line 201 of file programtypes.h.
#define kSubtitlePropertyBits 4 |
Definition at line 213 of file programtypes.h.
#define kSubtitlePropertyOffset (kAudioPropertyBits+kVideoPropertyBits) |
Definition at line 214 of file programtypes.h.
#define kSubtitlePropertyMask (0x0f<<kSubtitlePropertyOffset) |
Definition at line 215 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 frm_dir_map_t = QMap<uint64_t, MarkTypes> |
Frame # -> Mark map.
Definition at line 82 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 84 of file programtypes.h.
enum SkipType |
This is used as a bitmask.
Definition at line 92 of file programtypes.h.
enum TranscodingStatus |
Enumerator | |
---|---|
TRANSCODING_NOT_TRANSCODED | |
TRANSCODING_COMPLETE | |
TRANSCODING_RUNNING |
Definition at line 121 of file programtypes.h.
enum ProgramFlag |
If you change these please update: mythplugins/mythweb/modules/tv/classes/Program.php mythtv/bindings/perl/MythTV/Program.pm (search for "Assign the program flags" in both)
Definition at line 131 of file programtypes.h.
enum ProgramInfoType |
Enumerator | |
---|---|
kProgramInfoTypeRecording | |
kProgramInfoTypeVideoFile | |
kProgramInfoTypeVideoDVD | |
kProgramInfoTypeVideoStreamingHTML | |
kProgramInfoTypeVideoStreamingRTSP | |
kProgramInfoTypeVideoBD |
Definition at line 158 of file programtypes.h.
enum AudioProps |
if AudioProps changes, the audioprop column in program and recordedprogram has to changed accordingly
Enumerator | |
---|---|
AUD_UNKNOWN | |
AUD_STEREO | |
AUD_MONO | |
AUD_SURROUND | |
AUD_DOLBY | |
AUD_HARDHEAR | |
AUD_VISUALIMPAIR |
Definition at line 169 of file programtypes.h.
enum VideoProps |
if VideoProps changes, the videoprop column in program and recordedprogram has to changed accordingly
Enumerator | |
---|---|
VID_UNKNOWN | |
VID_WIDESCREEN | |
VID_HDTV | |
VID_MPEG2 | |
VID_AVC | |
VID_HEVC | |
VID_720 | |
VID_1080 | |
VID_4K | |
VID_3DTV | |
VID_PROGRESSIVE | |
VID_DAMAGED |
Definition at line 184 of file programtypes.h.
enum SubtitleType |
if SubtitleTypes changes, the subtitletypes column in program and recordedprogram has to changed accordingly
Enumerator | |
---|---|
SUB_UNKNOWN | |
SUB_HARDHEAR | |
SUB_NORMAL | |
SUB_ONSCREEN | |
SUB_SIGNED |
Definition at line 205 of file programtypes.h.
enum AvailableStatusType |
Enumerator | |
---|---|
asAvailable | |
asNotYetAvailable | |
asPendingDelete | |
asFileNotFound | |
asZeroByte | |
asDeleted |
Definition at line 218 of file programtypes.h.
enum WatchListStatus |
Enumerator | |
---|---|
wlDeleted | |
wlEarlier | |
wlWatched | |
wlExpireOff |
Definition at line 228 of file programtypes.h.
enum AutoExpireType |
Enumerator | |
---|---|
kDisableAutoExpire | |
kNormalAutoExpire | |
kDeletedAutoExpire | |
kLiveTVAutoExpire |
Definition at line 235 of file programtypes.h.
Definition at line 26 of file programtypes.cpp.
Referenced by AdjustFill(), AspectOverride(), ImageManagerFe::CreateImport(), ViewScheduled::deleteRule(), GuideGrid::deleteRule(), DetectLetterbox::Detect(), LCDProcClient::dostdclock(), TV::DoTogglePictureAttribute(), Dvr::DupInToString(), Dvr::DupMethodToString(), IPTVTuningData::GetDeviceName(), MythMediaCodecContext::GetProfiles(), AvFormatDecoder::GetTrackDesc(), ProgLister::HandleSelected(), DVBChannel::HasLock(), MythVideoOutputNull::Init(), VideoOutputD3D::Init(), MythVAAPIContext::InitialiseContext(), VideoOutputD3D::InputChanged(), MythVideoOutputGPU::InputChanged(), LetterboxingColour(), ProgDetails::loadPage(), UPnpCDSMusic::LoadTracks(), UPnpCDSVideo::LoadVideos(), TV::MenuItemDisplayPlayback(), MythPlayerVideoUI::PictureAttributeChanged(), TV::PictureAttributeHandleAction(), MythVAAPIContext::PostProcessFrame(), ClassicCommDetector::PrintFullMap(), JobQueue::ProcessQueue(), Dvr::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().
MPUBLIC QString SkipTypeToString | ( | int | flags | ) |
Definition at line 79 of file programtypes.cpp.
Referenced by CommercialSkipMethod(), and CommMethod::CommMethod().
MPUBLIC std::deque<int> GetPreferredSkipTypeCombinations | ( | void | ) |
Definition at line 117 of file programtypes.cpp.
Referenced by CommercialSkipMethod(), and CommMethod::CommMethod().
MPUBLIC QString toString | ( | AvailableStatusType | status | ) |
Definition at line 64 of file programtypes.cpp.
const MPUBLIC QString kPlayerInUseID |
Definition at line 13 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 14 of file programtypes.cpp.
Referenced by ProgramInfo::QueryIsInUse().
const MPUBLIC QString kPBPPlayerInUseID |
Definition at line 15 of file programtypes.cpp.
Referenced by ProgramInfo::QueryIsInUse().
const MPUBLIC QString kImportRecorderInUseID |
Definition at line 16 of file programtypes.cpp.
Referenced by ProgramInfo::QueryIsInUse(), and ImportRecorder::run().
const MPUBLIC QString kRecorderInUseID |
Definition at line 17 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 18 of file programtypes.cpp.
Referenced by FileTransfer::FileTransfer(), ProgramInfo::QueryIsInUse(), and FileTransfer::~FileTransfer().
const MPUBLIC QString kTruncatingDeleteInUseID |
Definition at line 19 of file programtypes.cpp.
Referenced by ProgramInfo::QueryIsInUse(), and MainServer::TruncateAndClose().
const MPUBLIC QString kFlaggerInUseID |
Definition at line 20 of file programtypes.cpp.
Referenced by Scheduler::FillRecordingDir(), FlagCommercials(), ProgramInfo::QueryIsDeleteCandidate(), ProgramInfo::QueryIsInUse(), and RebuildSeekTable().
const MPUBLIC QString kTranscoderInUseID |
Definition at line 21 of file programtypes.cpp.
Referenced by Scheduler::FillRecordingDir(), ProgramInfo::QueryIsDeleteCandidate(), ProgramInfo::QueryIsInUse(), and Transcode::TranscodeFile().
const MPUBLIC QString kPreviewGeneratorInUseID |
Definition at line 22 of file programtypes.cpp.
Referenced by PreviewGenerator::GetScreenGrab(), PreviewGenerator::LocalPreviewRun(), and ProgramInfo::QueryIsInUse().
const MPUBLIC QString kJobQueueInUseID |
Definition at line 23 of file programtypes.cpp.
Referenced by JobQueue::ProcessJob(), ProgramInfo::QueryIsDeleteCandidate(), ProgramInfo::QueryIsInUse(), and JobQueue::RemoveRunningJob().
const MPUBLIC QString kCCExtractorInUseID |
Definition at line 24 of file programtypes.cpp.
Referenced by RunCCExtract().