MythTV  master
Macros | Functions | Variables
mythplayer.cpp File Reference
#include <algorithm>
#include <cassert>
#include <cmath>
#include <cstdint>
#include <cstdio>
#include <cstdlib>
#include <unistd.h>
#include <QCoreApplication>
#include <QDir>
#include <QHash>
#include <QMap>
#include <QThread>
#include <QtCore/qnumeric.h>
#include <utility>
#include "mthread.h"
#include "mythconfig.h"
#include "mythplayer.h"
#include "DetectLetterbox.h"
#include "audioplayer.h"
#include "interactivescreen.h"
#include "programinfo.h"
#include "mythcorecontext.h"
#include "livetvchain.h"
#include "decoderbase.h"
#include "nuppeldecoder.h"
#include "avformatdecoder.h"
#include "dummydecoder.h"
#include "tv_play.h"
#include "interactivetv.h"
#include "mythsystemevent.h"
#include "mythlogging.h"
#include "mythmiscutil.h"
#include "icringbuffer.h"
#include "audiooutput.h"
#include "cardutil.h"
#include "mythavutil.h"
#include "jitterometer.h"
#include "mythtimer.h"
#include "mythuiactions.h"
#include "ringbuffer.h"
#include "tv_actions.h"
#include "mythcodeccontext.h"
#include <mythmainwindow.h>
#include "vsync.h"
#include "libavcodec/avcodec.h"
#include "remoteencoder.h"
Include dependency graph for mythplayer.cpp:

Go to the source code of this file.

Macros

#define round(x)   ((int) ((x) + 0.5))
 
#define LOC   QString("Player(%1): ").arg(dbg_ident(this),0,36)
 
#define LOC_DEC   QString("Player(%1): ").arg(dbg_ident(m_mp),0,36)
 
#define AVSYNC_MAX_LATE   10000000
 
#define FFREW_MULTICOUNT   10.0F
 

Functions

static unsigned dbg_ident (const MythPlayer *)
 
static int toCaptionType (int type)
 
static int toTrackType (int type)
 
static QString toQString (FrameScanType scan)
 
static double SafeFPS (DecoderBase *m_decoder)
 

Variables

static char * preBufferDebug = getenv("PREBUFFERDEBUG")
 

Macro Definition Documentation

◆ round

#define round (   x)    ((int) ((x) + 0.5))

Definition at line 65 of file mythplayer.cpp.

◆ LOC

#define LOC   QString("Player(%1): ").arg(dbg_ident(this),0,36)

Definition at line 70 of file mythplayer.cpp.

◆ LOC_DEC

#define LOC_DEC   QString("Player(%1): ").arg(dbg_ident(m_mp),0,36)

Definition at line 71 of file mythplayer.cpp.

◆ AVSYNC_MAX_LATE

#define AVSYNC_MAX_LATE   10000000

Definition at line 1564 of file mythplayer.cpp.

◆ FFREW_MULTICOUNT

#define FFREW_MULTICOUNT   10.0F

Function Documentation

◆ dbg_ident()

static unsigned dbg_ident ( const MythPlayer player)
static

Definition at line 5473 of file mythplayer.cpp.

◆ toCaptionType()

static int toCaptionType ( int  type)
static

Definition at line 102 of file mythplayer.cpp.

Referenced by MythPlayer::SetTrack(), and MythPlayer::ToggleCaptions().

◆ toTrackType()

static int toTrackType ( int  type)
static

◆ toQString()

static QString toQString ( FrameScanType  scan)
inlinestatic

Definition at line 498 of file mythplayer.cpp.

Referenced by MythPlayer::detectInterlace(), and MythPlayer::SetFrameInterval().

◆ SafeFPS()

static double SafeFPS ( DecoderBase m_decoder)
inlinestatic

Variable Documentation

◆ preBufferDebug

char* preBufferDebug = getenv("PREBUFFERDEBUG")
static

Definition at line 1862 of file mythplayer.cpp.

Referenced by MythPlayer::PrebufferEnoughFrames().