MythTV  master
Classes | Macros | Typedefs | Enumerations
mythplayer.h File Reference
#include <cstdint>
#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 "teletextreader.h"
#include "subtitlereader.h"
#include "cc608reader.h"
#include "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 "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  DecoderThread
 
class  MythMultiLocker
 
class  MythPlayer
 

Macros

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

Typedefs

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

Enumerations

enum  TCTypes { TC_VIDEO = 0, TC_AUDIO, TC_SUB, TC_CC }
 Timecode types. More...
 
enum  {
  kDisplayNone = 0x000, kDisplayNUVTeletextCaptions = 0x001, kDisplayTeletextCaptions = 0x002, kDisplayAVSubtitle = 0x004,
  kDisplayCC608 = 0x008, kDisplayCC708 = 0x010, kDisplayTextSubtitle = 0x020, kDisplayDVDButton = 0x040,
  kDisplayRawTextSubtitle = 0x080, kDisplayAllCaptions = 0x0FF, kDisplayTeletextMenu = 0x100, kDisplayAllTextCaptions
}
 
enum  PlayerFlags {
  kNoFlags = 0x000000, kDecodeLowRes = 0x000001, kDecodeSingleThreaded = 0x000002, kDecodeFewBlocks = 0x000004,
  kDecodeNoLoopFilter = 0x000008, kDecodeNoDecode = 0x000010, kDecodeDisallowCPU = 0x000020, kDecodeAllowGPU = 0x000040,
  kDecodeAllowEXT = 0x000080, kVideoIsNull = 0x000100, kAudioMuted = 0x010000, kNoITV = 0x020000,
  kMusicChoice = 0x040000
}
 

Macro Definition Documentation

◆ TCTYPESMAX

#define TCTYPESMAX   4

Definition at line 66 of file mythplayer.h.

◆ FlagIsSet

#define FlagIsSet (   arg)    (m_playerFlags & arg)

Definition at line 103 of file mythplayer.h.

Typedef Documentation

◆ StatusCallback

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

Definition at line 56 of file mythplayer.h.

Enumeration Type Documentation

◆ TCTypes

enum TCTypes

Timecode types.

Enumerator
TC_VIDEO 
TC_AUDIO 
TC_SUB 
TC_CC 

Definition at line 59 of file mythplayer.h.

◆ anonymous enum

anonymous enum
Enumerator
kDisplayNone 
kDisplayNUVTeletextCaptions 
kDisplayTeletextCaptions 
kDisplayAVSubtitle 
kDisplayCC608 
kDisplayCC708 
kDisplayTextSubtitle 
kDisplayDVDButton 
kDisplayRawTextSubtitle 
kDisplayAllCaptions 
kDisplayTeletextMenu 
kDisplayAllTextCaptions 

Definition at line 69 of file mythplayer.h.

◆ PlayerFlags

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

Definition at line 86 of file mythplayer.h.