MythTV  master
Classes | Macros | Functions | Variables
mhi.cpp File Reference
#include "mhi.h"
#include <QRegion>
#include <QVector>
#include <QUrl>
#include <QPoint>
#include <QRgb>
#include <QVariant>
#include <QByteArray>
#include <QStringList>
#include <QTime>
#include <QHash>
#include <algorithm>
#include <cmath>
#include <cstdint>
#include <cstring>
#include <deque>
#include "dsmcc.h"
#include "interactivetv.h"
#include "interactivescreen.h"
#include "mythpainter.h"
#include "mythimage.h"
#include "mythuiimage.h"
#include "mythdirs.h"
#include "mythlogging.h"
#include "mythmainwindow.h"
#include "mythavutil.h"
#include "mthread.h"
#include "mythcorecontext.h"
#include "mythdb.h"
#include "mythdbcon.h"
#include "mythevent.h"
#include "mythplayer.h"
#include "mythrect.h"
#include "mythuiactions.h"
#include "tv_actions.h"
#include "libavutil/imgutils.h"
Include dependency graph for mhi.cpp:

Go to the source code of this file.

Classes

class  MHIImageData
 Data for items in the interactive television display stack. More...
 
class  MHKeyLookup
 
struct  lineSeg
 

Macros

#define FONT_WIDTHRES   54
 
#define FONT_HEIGHTRES   72
 
#define FONT_TO_USE   "FreeSans.ttf"
 
#define NBI_VERSION_UNSET   257
 

Functions

int Roundup (int n, int r)
 
static FT_F26Dot6 Point2FT (int pt)
 
static int FT2Point (FT_F26Dot6 fp)
 

Variables

static bool ft_loaded = false
 
static FT_Library ft_library
 
const unsigned kTuneQuietly = 1U<<0
 
const unsigned kTuneKeepApp = 1U<<1
 
const unsigned kTuneCarId = 1U<<2
 
const unsigned kTuneCarReset = 1U<<3
 
const unsigned kTuneKeepChnl = 1U<<16
 
const int kShift = 6
 

Macro Definition Documentation

◆ FONT_WIDTHRES

#define FONT_WIDTHRES   54

Definition at line 47 of file mhi.cpp.

◆ FONT_HEIGHTRES

#define FONT_HEIGHTRES   72

Definition at line 48 of file mhi.cpp.

◆ FONT_TO_USE

#define FONT_TO_USE   "FreeSans.ttf"

Definition at line 49 of file mhi.cpp.

◆ NBI_VERSION_UNSET

#define NBI_VERSION_UNSET   257

Definition at line 76 of file mhi.cpp.

Function Documentation

◆ Roundup()

int Roundup ( int  n,
int  r 
)
inline

Definition at line 842 of file mhi.cpp.

Referenced by MHIContext::DrawVideo().

◆ Point2FT()

static FT_F26Dot6 Point2FT ( int  pt)
inlinestatic

Definition at line 1276 of file mhi.cpp.

Referenced by MHIText::AddText(), and MHIText::GetBounds().

◆ FT2Point()

static int FT2Point ( FT_F26Dot6  fp)
inlinestatic

Definition at line 1281 of file mhi.cpp.

Referenced by MHIText::AddText(), and MHIText::GetBounds().

Variable Documentation

◆ ft_loaded

bool ft_loaded = false
static

Definition at line 44 of file mhi.cpp.

Referenced by MHIContext::MHIContext().

◆ ft_library

FT_Library ft_library
static

Definition at line 45 of file mhi.cpp.

Referenced by MHIContext::LoadFont(), and MHIContext::MHIContext().

◆ kTuneQuietly

const unsigned kTuneQuietly = 1U<<0

Definition at line 53 of file mhi.cpp.

Referenced by MHIContext::BeginStream().

◆ kTuneKeepApp

const unsigned kTuneKeepApp = 1U<<1

Definition at line 54 of file mhi.cpp.

Referenced by MHIContext::BeginStream(), and MHIContext::Restart().

◆ kTuneCarId

const unsigned kTuneCarId = 1U<<2

Definition at line 55 of file mhi.cpp.

Referenced by MHIContext::Restart().

◆ kTuneCarReset

const unsigned kTuneCarReset = 1U<<3

Definition at line 56 of file mhi.cpp.

Referenced by MHIContext::Restart().

◆ kTuneKeepChnl

const unsigned kTuneKeepChnl = 1U<<16

Definition at line 60 of file mhi.cpp.

Referenced by MHIContext::BeginStream(), and MHIContext::Restart().

◆ kShift

const int kShift = 6

Definition at line 1275 of file mhi.cpp.

Referenced by FT2Point(), and Point2FT().