MythTV  master
Classes | Macros | Typedefs | Enumerations
mythplayer.h File Reference
#include <cstdint>
#include <utility>
#include <QCoreApplication>
#include <QList>
#include <QMutex>
#include <QTime>
#include <QString>
#include <QRect>
#include <QSize>
#include <QStringList>
#include <QWaitCondition>
#include "playercontext.h"
#include "volumebase.h"
#include "osd.h"
#include "mythvideoout.h"
#include "captions/teletextreader.h"
#include "captions/subtitlereader.h"
#include "captions/cc608reader.h"
#include "captions/cc708reader.h"
#include "decoders/decoderbase.h"
#include "deletemap.h"
#include "commbreakmap.h"
#include "audioplayer.h"
#include "audiooutputgraph.h"
#include "mthread.h"
#include "mythavutil.h"
#include "mythtypes.h"
#include "programtypes.h"
#include "tv.h"
#include "videoouttypes.h"
#include "mythmiscutil.h"
#include "mythtvexp.h"
Include dependency graph for mythplayer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  DecoderCallback
 
class  MythPlayer
 

Macros

#define TCTYPESMAX   4
 
#define FlagIsSet(arg)   (m_playerFlags & (arg))
 

Typedefs

using StatusCallback = void(*)(int, void *)
 
using tctype_arr = std::array< int64_t, TCTYPESMAX >
 

Enumerations

enum  TCTypes { TC_VIDEO = 0, TC_AUDIO, TC_SUB, TC_CC }
 Timecode types. More...
 
enum  {
  BPLIST_NULL = 0x00, BPLIST_FALSE = 0x08, BPLIST_TRUE = 0x09, BPLIST_FILL = 0x0F,
  BPLIST_UINT = 0x10, BPLIST_REAL = 0x20, BPLIST_DATE = 0x30, BPLIST_DATA = 0x40,
  BPLIST_STRING = 0x50, BPLIST_UNICODE = 0x60, BPLIST_UID = 0x70, BPLIST_ARRAY = 0xA0,
  BPLIST_SET = 0xC0, BPLIST_DICT = 0xD0, MHLogError = 1, MHLogWarning = 2,
  MHLogNotifications = 4, MHLogScenes = 8, MHLogActions = 16, MHLogLinks = 32,
  MHLogDetail = 64, VIDEO_YEAR_DEFAULT = 1895, kHasMPAA = 0x1, kHasTPG = 0x2,
  kHasCanEnglish = 0x4, kHasCanFrench = 0x8, RET_ERROR = -1, RET_OK = 0,
  MPEG_PAT_PID = 0x0000, MPEG_CAT_PID = 0x0001, MPEG_TSDT_PID = 0x0002, DVB_NIT_PID = 0x0010,
  DVB_SDT_PID = 0x0011, DVB_EIT_PID = 0x0012, DVB_RST_PID = 0x0013, DVB_TDT_PID = 0x0014,
  DVB_DNLONG_EIT_PID = 0x0300, DVB_BVLONG_EIT_PID = 0x0441, PREMIERE_EIT_DIREKT_PID = 0x0b11, PREMIERE_EIT_SPORT_PID = 0x0b12,
  ATSC_PSIP_PID = 0x1ffb, SCTE_PSIP_PID = 0x1ffc, FREESAT_SI_PID = 0x0f01, FREESAT_EIT_PID = 0x0f02,
  FREESAT_ST_EIT_PID = 0x0f03, MPEG_NULL_PID = 0x1fff, OTV_EIT_TIT_PID_START = 0x30, OTV_EIT_TIT_PID_END = 0x37,
  OTV_EIT_SUP_PID_START = 0x40, OTV_EIT_SUP_PID_END = 0x47, kDisplayNone = 0x000, kDisplayNUVTeletextCaptions = 0x001,
  kDisplayTeletextCaptions = 0x002, kDisplayAVSubtitle = 0x004, kDisplayCC608 = 0x008, kDisplayCC708 = 0x010,
  kDisplayTextSubtitle = 0x020, kDisplayDVDButton = 0x040, kDisplayRawTextSubtitle = 0x080, kDisplayAllCaptions = 0x0FF,
  kDisplayTeletextMenu = 0x100, kDisplayAllTextCaptions, kExtractPTS, kExtractDTS,
  kStartTVNoFlags = 0x00, kStartTVInPlayList = 0x02, kStartTVByNetworkCommand = 0x04, kStartTVIgnoreBookmark = 0x08,
  kStartTVIgnoreProgStart = 0x10, kStartTVAllowLastPlayPos = 0x20, kArtworkFanTimeout = 300, kArtworkBannerTimeout = 50,
  kArtworkCoverTimeout = 50, VIDEO_NONE =0, VIDEO_PAL, VIDEO_NTSC,
  S_SEARCH, S_FOUND, S_ERROR, MiscError = 1,
  EOFIndicator, IndexError
}
 
enum  PlayerFlags {
  kNoFlags = 0x000000, kDecodeLowRes = 0x000001, kDecodeSingleThreaded = 0x000002, kDecodeFewBlocks = 0x000004,
  kDecodeNoLoopFilter = 0x000008, kDecodeNoDecode = 0x000010, kDecodeAllowGPU = 0x000020, kVideoIsNull = 0x000040,
  kAudioMuted = 0x010000, kNoITV = 0x020000, kMusicChoice = 0x040000
}
 

Macro Definition Documentation

◆ TCTYPESMAX

#define TCTYPESMAX   4

Definition at line 61 of file mythplayer.h.

◆ FlagIsSet

#define FlagIsSet (   arg)    (m_playerFlags & (arg))

Definition at line 97 of file mythplayer.h.

Typedef Documentation

◆ StatusCallback

using StatusCallback = void (*)(int, void*)

Definition at line 51 of file mythplayer.h.

◆ tctype_arr

using tctype_arr = std::array<int64_t,TCTYPESMAX>

Definition at line 62 of file mythplayer.h.

Enumeration Type Documentation

◆ TCTypes

enum TCTypes

Timecode types.

Enumerator
TC_VIDEO 
TC_AUDIO 
TC_SUB 
TC_CC 

Definition at line 54 of file mythplayer.h.

◆ anonymous enum

anonymous enum
Enumerator
BPLIST_NULL 
BPLIST_FALSE 
BPLIST_TRUE 
BPLIST_FILL 
BPLIST_UINT 
BPLIST_REAL 
BPLIST_DATE 
BPLIST_DATA 
BPLIST_STRING 
BPLIST_UNICODE 
BPLIST_UID 
BPLIST_ARRAY 
BPLIST_SET 
BPLIST_DICT 
MHLogError 
MHLogWarning 
MHLogNotifications 
MHLogScenes 
MHLogActions 
MHLogLinks 
MHLogDetail 
VIDEO_YEAR_DEFAULT 
kHasMPAA 
kHasTPG 
kHasCanEnglish 
kHasCanFrench 
RET_ERROR 
RET_OK 
MPEG_PAT_PID 
MPEG_CAT_PID 
MPEG_TSDT_PID 
DVB_NIT_PID 
DVB_SDT_PID 
DVB_EIT_PID 
DVB_RST_PID 
DVB_TDT_PID 
DVB_DNLONG_EIT_PID 
DVB_BVLONG_EIT_PID 
PREMIERE_EIT_DIREKT_PID 
PREMIERE_EIT_SPORT_PID 
ATSC_PSIP_PID 
SCTE_PSIP_PID 
FREESAT_SI_PID 
FREESAT_EIT_PID 
FREESAT_ST_EIT_PID 
MPEG_NULL_PID 

The all-ones PID value 0x1FFF indicates a Null TS Packet introduced to maintain a constant bit rate of a TS Multiplex.

OTV_EIT_TIT_PID_START 
OTV_EIT_TIT_PID_END 
OTV_EIT_SUP_PID_START 
OTV_EIT_SUP_PID_END 
kDisplayNone 
kDisplayNUVTeletextCaptions 
kDisplayTeletextCaptions 
kDisplayAVSubtitle 
kDisplayCC608 
kDisplayCC708 
kDisplayTextSubtitle 
kDisplayDVDButton 
kDisplayRawTextSubtitle 
kDisplayAllCaptions 
kDisplayTeletextMenu 
kDisplayAllTextCaptions 
kExtractPTS 
kExtractDTS 
kStartTVNoFlags 
kStartTVInPlayList 
kStartTVByNetworkCommand 
kStartTVIgnoreBookmark 
kStartTVIgnoreProgStart 
kStartTVAllowLastPlayPos 
kArtworkFanTimeout 
kArtworkBannerTimeout 
kArtworkCoverTimeout 
VIDEO_NONE 
VIDEO_PAL 
VIDEO_NTSC 
S_SEARCH 
S_FOUND 
S_ERROR 
MiscError 
EOFIndicator 
IndexError 

Definition at line 65 of file mythplayer.h.

◆ PlayerFlags

Enumerator
kNoFlags 
kDecodeLowRes 
kDecodeSingleThreaded 
kDecodeFewBlocks 
kDecodeNoLoopFilter 
kDecodeNoDecode 
kDecodeAllowGPU 
kVideoIsNull 
kAudioMuted 
kNoITV 
kMusicChoice 

Definition at line 82 of file mythplayer.h.