MythTV master
Public Member Functions | Static Public Attributes | Protected Types | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
MHIContext Class Reference

Contains various utility functions for interactive television. More...

#include <libmythtv/mheg/mhi.h>

Inheritance diagram for MHIContext:
[legend]
Collaboration diagram for MHIContext:
[legend]

Public Member Functions

 MHIContext (InteractiveTV *parent)
 
 ~MHIContext () override
 
void QueueDSMCCPacket (unsigned char *data, int length, int componentTag, unsigned carouselId, int dataBroadcastId)
 
void SetNetBootInfo (const unsigned char *data, uint length)
 
void Restart (int chanid, int sourceid, bool isLive)
 Restart the MHEG engine. More...
 
bool OfferKey (const QString &key)
 
void UpdateOSD (InteractiveScreen *osdWindow, MythPainter *osdPainter)
 Update the display. More...
 
void Reinit (QRect videoRect, QRect dispRect, float aspect)
 The display area has changed. More...
 
void StopEngine (void)
 Stop the MHEG engine if it's running and waits until it has. More...
 
bool CheckCarouselObject (const QString &objectPath) override
 
bool GetCarouselData (const QString &objectPath, QByteArray &result) override
 
void SetInputRegister (int num) override
 
void RequireRedraw (const QRegion &region) override
 An area of the screen/image needs to be redrawn. More...
 
bool CheckStop (void) override
 Check whether we have requested a stop. More...
 
void GetInitialStreams (int &audioTag, int &videoTag) const
 Get the initial component tags. More...
 
MHDLADisplayCreateDynamicLineArt (bool isBoxed, MHRgba lineColour, MHRgba fillColour) override
 Creation functions for various visibles. More...
 
MHTextDisplayCreateText (void) override
 
MHBitmapDisplayCreateBitmap (bool tiled) override
 
void DrawRect (int xPos, int yPos, int width, int height, MHRgba colour) override
 Additional drawing functions. More...
 
void DrawBackground (const QRegion &reg) override
 
void DrawVideo (const QRect &videoRect, const QRect &dispRect) override
 
void DrawImage (int x, int y, QRect rect, const QImage &image, bool bScaled=false, bool bUnder=false)
 
int GetChannelIndex (const QString &str) override
 
bool GetServiceInfo (int channelId, int &netId, int &origNetId, int &transportId, int &serviceId) override
 Get netId etc from the channel index. More...
 
bool TuneTo (int channel, int tuneinfo) override
 
bool BeginStream (const QString &str, MHStream *notify) override
 Begin playing the specified stream. More...
 
void EndStream () override
 
bool StreamStarted (bool bStarted=true)
 
bool BeginAudio (int tag) override
 Begin playing audio. More...
 
void StopAudio () override
 Stop playing audio. More...
 
bool BeginVideo (int tag) override
 Begin displaying video. More...
 
void StopVideo () override
 Stop displaying video. More...
 
std::chrono::milliseconds GetStreamPos () override
 
std::chrono::milliseconds GetStreamMaxPos () override
 
std::chrono::milliseconds SetStreamPos (std::chrono::milliseconds pos) override
 
void StreamPlay (bool play) override
 
const char * GetReceiverId (void) override
 
const char * GetDSMCCId (void) override
 
int GetICStatus () override
 
void AddToDisplay (const QImage &image, QRect rect, bool bUnder=false)
 
int ScaleX (int n, bool roundup=false) const
 
int ScaleY (int n, bool roundup=false) const
 
QRect Scale (QRect r) const
 
int ScaleVideoX (int n, bool roundup=false) const
 
int ScaleVideoY (int n, bool roundup=false) const
 
QRect ScaleVideo (QRect r) const
 
FT_Face GetFontFace (void)
 
bool IsFaceLoaded (void) const
 
bool LoadFont (const QString &name)
 
bool ImageUpdated (void) const
 
- Public Member Functions inherited from MHContext
virtual ~MHContext ()=default
 
virtual bool CheckCarouselObject (const QString &objectPath)=0
 
virtual bool GetCarouselData (const QString &objectPath, QByteArray &result)=0
 
virtual void SetInputRegister (int nReg)=0
 
virtual void RequireRedraw (const QRegion &region)=0
 
virtual MHDLADisplayCreateDynamicLineArt (bool isBoxed, MHRgba lineColour, MHRgba fillColour)=0
 
virtual MHTextDisplayCreateText (void)=0
 
virtual MHBitmapDisplayCreateBitmap (bool tiled)=0
 
virtual void DrawRect (int xPos, int yPos, int width, int height, MHRgba colour)=0
 
virtual void DrawVideo (const QRect &videoRect, const QRect &displayRect)=0
 
virtual void DrawBackground (const QRegion &reg)=0
 
virtual int GetChannelIndex (const QString &str)=0
 
virtual bool GetServiceInfo (int channelId, int &netId, int &origNetId, int &transportId, int &serviceId)=0
 
virtual bool TuneTo (int channel, int tuneinfo)=0
 
virtual bool CheckStop (void)=0
 
virtual bool BeginStream (const QString &str, MHStream *notify=nullptr)=0
 
virtual void EndStream ()=0
 
virtual bool BeginAudio (int tag)=0
 
virtual void StopAudio ()=0
 
virtual bool BeginVideo (int tag)=0
 
virtual void StopVideo ()=0
 
virtual std::chrono::milliseconds GetStreamPos ()=0
 
virtual std::chrono::milliseconds GetStreamMaxPos ()=0
 
virtual std::chrono::milliseconds SetStreamPos (std::chrono::milliseconds)=0
 
virtual void StreamPlay (bool play=true)=0
 
virtual const char * GetReceiverId (void)=0
 
virtual const char * GetDSMCCId (void)=0
 
virtual int GetICStatus ()=0
 

Static Public Attributes

static const int kStdDisplayWidth = 720
 
static const int kStdDisplayHeight = 576
 

Protected Types

using Val_t = QPair< int, int >
 
using Key_t = QPair< int, int >
 
using ChannelCache_t = QMultiMap< Key_t, Val_t >
 

Protected Member Functions

void run (void) override
 
void ProcessDSMCCQueue (void)
 
void NetworkBootRequested (void)
 
void ClearDisplay (void)
 
void ClearQueue (void)
 
bool LoadChannelCache ()
 
bool GetDSMCCObject (const QString &objectPath, QByteArray &result)
 
bool CheckAccess (const QString &objectPath, QByteArray &cert)
 

Static Protected Member Functions

static int Tid (ChannelCache_t::const_iterator it)
 
static int Cid (ChannelCache_t::const_iterator it)
 
static int Nid (ChannelCache_t::const_iterator it)
 
static int Sid (ChannelCache_t::const_iterator it)
 

Protected Attributes

InteractiveTVm_parent {nullptr}
 
Dsmccm_dsmcc {nullptr}
 
QMutex m_dsmccLock
 
MythDeque< DSMCCPacket * > m_dsmccQueue
 
MHInteractionChannel m_ic
 
MHStreamm_notify {nullptr}
 
QMutex m_keyLock
 
MythDeque< int > m_keyQueue
 
int m_keyProfile {0}
 
MHEGm_engine
 
QMutex m_runLock
 
QWaitCondition m_engineWait
 
bool m_stop {false}
 
QMutex m_displayLock
 
bool m_updated {false}
 
std::list< MHIImageData * > m_display
 
FT_Face m_face {nullptr}
 
bool m_faceLoaded {false}
 
MThreadm_engineThread {nullptr}
 
int m_currentChannel {-1}
 
int m_currentStream {-1}
 
bool m_isLive {false}
 
int m_currentSource {-1}
 
int m_audioTag {-1}
 
int m_videoTag {-1}
 
QList< int > m_tuneInfo
 
uint m_lastNbiVersion {NBI_VERSION_UNSET}
 
std::vector< unsigned char > m_nbiData
 
QRect m_videoRect
 
QRect m_videoDisplayRect
 
QRect m_displayRect
 
ChannelCache_t m_channelCache
 
QMutex m_channelMutex
 

Detailed Description

Contains various utility functions for interactive television.

Definition at line 50 of file mhi.h.

Member Typedef Documentation

◆ ChannelCache_t

using MHIContext::ChannelCache_t = QMultiMap< Key_t, Val_t >
protected

Definition at line 228 of file mhi.h.

◆ Key_t

using MHIContext::Key_t = QPair< int, int >
protected

Definition at line 227 of file mhi.h.

◆ Val_t

using MHIContext::Val_t = QPair< int, int >
protected

Definition at line 226 of file mhi.h.

Constructor & Destructor Documentation

◆ MHIContext()

MHIContext::MHIContext ( InteractiveTV parent)
explicit

Definition at line 78 of file mhi.cpp.

◆ ~MHIContext()

MHIContext::~MHIContext ( )
override

Definition at line 128 of file mhi.cpp.

Member Function Documentation

◆ AddToDisplay()

void MHIContext::AddToDisplay ( const QImage &  image,
QRect  rect,
bool  bUnder = false 
)

Definition at line 788 of file mhi.cpp.

Referenced by DrawImage(), and DrawRect().

◆ BeginAudio()

bool MHIContext::BeginAudio ( int  tag)
overridevirtual

Begin playing audio.

Implements MHContext.

Definition at line 1099 of file mhi.cpp.

◆ BeginStream()

bool MHIContext::BeginStream ( const QString &  str,
MHStream notify 
)
overridevirtual

Begin playing the specified stream.

Implements MHContext.

Definition at line 1028 of file mhi.cpp.

◆ BeginVideo()

bool MHIContext::BeginVideo ( int  tag)
overridevirtual

Begin displaying video.

Implements MHContext.

Definition at line 1119 of file mhi.cpp.

◆ CheckAccess()

bool MHIContext::CheckAccess ( const QString &  objectPath,
QByteArray &  cert 
)
protected

Definition at line 396 of file mhi.cpp.

Referenced by CheckCarouselObject(), and GetCarouselData().

◆ CheckCarouselObject()

bool MHIContext::CheckCarouselObject ( const QString &  objectPath)
overridevirtual

Implements MHContext.

Definition at line 368 of file mhi.cpp.

◆ CheckStop()

bool MHIContext::CheckStop ( void  )
inlineoverridevirtual

Check whether we have requested a stop.

Implements MHContext.

Definition at line 94 of file mhi.h.

◆ Cid()

static int MHIContext::Cid ( ChannelCache_t::const_iterator  it)
inlinestaticprotected

Definition at line 232 of file mhi.h.

Referenced by GetChannelIndex(), and GetServiceInfo().

◆ ClearDisplay()

void MHIContext::ClearDisplay ( void  )
protected

Definition at line 140 of file mhi.cpp.

Referenced by NetworkBootRequested(), RequireRedraw(), Restart(), and ~MHIContext().

◆ ClearQueue()

void MHIContext::ClearQueue ( void  )
protected

Definition at line 149 of file mhi.cpp.

Referenced by Restart(), SetNetBootInfo(), and ~MHIContext().

◆ CreateBitmap()

MHBitmapDisplay * MHIContext::CreateBitmap ( bool  tiled)
overridevirtual

Implements MHContext.

Definition at line 1180 of file mhi.cpp.

◆ CreateDynamicLineArt()

MHDLADisplay * MHIContext::CreateDynamicLineArt ( bool  isBoxed,
MHRgba  lineColour,
MHRgba  fillColour 
)
overridevirtual

Creation functions for various visibles.

Implements MHContext.

Definition at line 1167 of file mhi.cpp.

◆ CreateText()

MHTextDisplay * MHIContext::CreateText ( void  )
overridevirtual

Implements MHContext.

Definition at line 1174 of file mhi.cpp.

◆ DrawBackground()

void MHIContext::DrawBackground ( const QRegion &  reg)
overridevirtual

Implements MHContext.

Definition at line 1226 of file mhi.cpp.

◆ DrawImage()

void MHIContext::DrawImage ( int  x,
int  y,
QRect  rect,
const QImage &  image,
bool  bScaled = false,
bool  bUnder = false 
)

Definition at line 1203 of file mhi.cpp.

Referenced by MHIText::Draw(), MHIDLA::Draw(), and MHIBitmap::Draw().

◆ DrawRect()

void MHIContext::DrawRect ( int  xPos,
int  yPos,
int  width,
int  height,
MHRgba  colour 
)
overridevirtual

Additional drawing functions.

Implements MHContext.

Definition at line 1186 of file mhi.cpp.

Referenced by MHIDLA::Draw(), and DrawBackground().

◆ DrawVideo()

void MHIContext::DrawVideo ( const QRect &  videoRect,
const QRect &  dispRect 
)
overridevirtual

Implements MHContext.

Definition at line 832 of file mhi.cpp.

◆ EndStream()

void MHIContext::EndStream ( )
overridevirtual

Implements MHContext.

Definition at line 1073 of file mhi.cpp.

◆ GetCarouselData()

bool MHIContext::GetCarouselData ( const QString &  objectPath,
QByteArray &  result 
)
overridevirtual

Implements MHContext.

Definition at line 436 of file mhi.cpp.

◆ GetChannelIndex()

int MHIContext::GetChannelIndex ( const QString &  str)
overridevirtual

Implements MHContext.

Definition at line 891 of file mhi.cpp.

Referenced by BeginStream().

◆ GetDSMCCId()

const char * MHIContext::GetDSMCCId ( void  )
inlineoverridevirtual

Implements MHContext.

Definition at line 146 of file mhi.h.

◆ GetDSMCCObject()

bool MHIContext::GetDSMCCObject ( const QString &  objectPath,
QByteArray &  result 
)
protected

Definition at line 388 of file mhi.cpp.

Referenced by CheckAccess().

◆ GetFontFace()

FT_Face MHIContext::GetFontFace ( void  )
inline

Definition at line 163 of file mhi.h.

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

◆ GetICStatus()

int MHIContext::GetICStatus ( )
overridevirtual

Implements MHContext.

Definition at line 658 of file mhi.cpp.

◆ GetInitialStreams()

void MHIContext::GetInitialStreams ( int &  audioTag,
int &  videoTag 
) const

Get the initial component tags.

Definition at line 735 of file mhi.cpp.

◆ GetReceiverId()

const char * MHIContext::GetReceiverId ( void  )
inlineoverridevirtual

Implements MHContext.

Definition at line 144 of file mhi.h.

◆ GetServiceInfo()

bool MHIContext::GetServiceInfo ( int  channelId,
int &  netId,
int &  origNetId,
int &  transportId,
int &  serviceId 
)
overridevirtual

Get netId etc from the channel index.

Implements MHContext.

Definition at line 978 of file mhi.cpp.

Referenced by BeginStream().

◆ GetStreamMaxPos()

std::chrono::milliseconds MHIContext::GetStreamMaxPos ( )
overridevirtual

Implements MHContext.

Definition at line 1145 of file mhi.cpp.

◆ GetStreamPos()

std::chrono::milliseconds MHIContext::GetStreamPos ( )
overridevirtual

Implements MHContext.

Definition at line 1139 of file mhi.cpp.

◆ ImageUpdated()

bool MHIContext::ImageUpdated ( void  ) const
inline

Definition at line 166 of file mhi.h.

◆ IsFaceLoaded()

bool MHIContext::IsFaceLoaded ( void  ) const
inline

Definition at line 164 of file mhi.h.

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

◆ LoadChannelCache()

bool MHIContext::LoadChannelCache ( )
protected

Definition at line 856 of file mhi.cpp.

Referenced by GetChannelIndex(), and GetServiceInfo().

◆ LoadFont()

bool MHIContext::LoadFont ( const QString &  name)

Definition at line 98 of file mhi.cpp.

Referenced by MHIContext().

◆ NetworkBootRequested()

void MHIContext::NetworkBootRequested ( void  )
protected

Definition at line 340 of file mhi.cpp.

Referenced by run().

◆ Nid()

static int MHIContext::Nid ( ChannelCache_t::const_iterator  it)
inlinestaticprotected

Definition at line 233 of file mhi.h.

Referenced by GetServiceInfo().

◆ OfferKey()

bool MHIContext::OfferKey ( const QString &  key)

Definition at line 608 of file mhi.cpp.

◆ ProcessDSMCCQueue()

void MHIContext::ProcessDSMCCQueue ( void  )
protected

Definition at line 276 of file mhi.cpp.

Referenced by GetCarouselData(), and run().

◆ QueueDSMCCPacket()

void MHIContext::QueueDSMCCPacket ( unsigned char *  data,
int  length,
int  componentTag,
unsigned  carouselId,
int  dataBroadcastId 
)

Definition at line 295 of file mhi.cpp.

◆ Reinit()

void MHIContext::Reinit ( QRect  videoRect,
QRect  dispRect,
float  aspect 
)

The display area has changed.

Definition at line 624 of file mhi.cpp.

◆ RequireRedraw()

void MHIContext::RequireRedraw ( const QRegion &  region)
overridevirtual

An area of the screen/image needs to be redrawn.

Implements MHContext.

Definition at line 745 of file mhi.cpp.

◆ Restart()

void MHIContext::Restart ( int  chanid,
int  sourceid,
bool  isLive 
)

Restart the MHEG engine.

Definition at line 174 of file mhi.cpp.

◆ run()

void MHIContext::run ( void  )
overrideprotected

Definition at line 241 of file mhi.cpp.

◆ Scale()

QRect MHIContext::Scale ( QRect  r) const
inline

Definition at line 766 of file mhi.cpp.

Referenced by AddToDisplay(), and DrawVideo().

◆ ScaleVideo()

QRect MHIContext::ScaleVideo ( QRect  r) const
inline

Definition at line 782 of file mhi.cpp.

Referenced by DrawVideo().

◆ ScaleVideoX()

int MHIContext::ScaleVideoX ( int  n,
bool  roundup = false 
) const
inline

Definition at line 772 of file mhi.cpp.

Referenced by ScaleVideo().

◆ ScaleVideoY()

int MHIContext::ScaleVideoY ( int  n,
bool  roundup = false 
) const
inline

Definition at line 777 of file mhi.cpp.

Referenced by ScaleVideo().

◆ ScaleX()

int MHIContext::ScaleX ( int  n,
bool  roundup = false 
) const
inline

Definition at line 756 of file mhi.cpp.

Referenced by Scale().

◆ ScaleY()

int MHIContext::ScaleY ( int  n,
bool  roundup = false 
) const
inline

Definition at line 761 of file mhi.cpp.

Referenced by Scale().

◆ SetInputRegister()

void MHIContext::SetInputRegister ( int  num)
overridevirtual

Implements MHContext.

Definition at line 650 of file mhi.cpp.

◆ SetNetBootInfo()

void MHIContext::SetNetBootInfo ( const unsigned char *  data,
uint  length 
)

Definition at line 315 of file mhi.cpp.

◆ SetStreamPos()

std::chrono::milliseconds MHIContext::SetStreamPos ( std::chrono::milliseconds  pos)
overridevirtual

Implements MHContext.

Definition at line 1151 of file mhi.cpp.

◆ Sid()

static int MHIContext::Sid ( ChannelCache_t::const_iterator  it)
inlinestaticprotected

Definition at line 234 of file mhi.h.

Referenced by GetServiceInfo().

◆ StopAudio()

void MHIContext::StopAudio ( )
overridevirtual

Stop playing audio.

Implements MHContext.

Definition at line 1113 of file mhi.cpp.

◆ StopEngine()

void MHIContext::StopEngine ( void  )

Stop the MHEG engine if it's running and waits until it has.

Definition at line 157 of file mhi.cpp.

Referenced by Restart(), and ~MHIContext().

◆ StopVideo()

void MHIContext::StopVideo ( )
overridevirtual

Stop displaying video.

Implements MHContext.

Definition at line 1133 of file mhi.cpp.

◆ StreamPlay()

void MHIContext::StreamPlay ( bool  play)
overridevirtual

Implements MHContext.

Definition at line 1160 of file mhi.cpp.

◆ StreamStarted()

bool MHIContext::StreamStarted ( bool  bStarted = true)

Definition at line 1083 of file mhi.cpp.

◆ Tid()

static int MHIContext::Tid ( ChannelCache_t::const_iterator  it)
inlinestaticprotected

Definition at line 231 of file mhi.h.

Referenced by GetChannelIndex(), and GetServiceInfo().

◆ TuneTo()

bool MHIContext::TuneTo ( int  channel,
int  tuneinfo 
)
overridevirtual

Implements MHContext.

Definition at line 1003 of file mhi.cpp.

Referenced by BeginStream().

◆ UpdateOSD()

void MHIContext::UpdateOSD ( InteractiveScreen osdWindow,
MythPainter osdPainter 
)

Update the display.

Definition at line 665 of file mhi.cpp.

Member Data Documentation

◆ kStdDisplayHeight

const int MHIContext::kStdDisplayHeight = 576
static

Definition at line 169 of file mhi.h.

Referenced by DrawVideo(), RequireRedraw(), ScaleVideoY(), and ScaleY().

◆ kStdDisplayWidth

const int MHIContext::kStdDisplayWidth = 720
static

Definition at line 168 of file mhi.h.

Referenced by DrawVideo(), RequireRedraw(), ScaleVideoX(), and ScaleX().

◆ m_audioTag

int MHIContext::m_audioTag {-1}
protected

Definition at line 215 of file mhi.h.

Referenced by BeginAudio(), BeginStream(), GetInitialStreams(), and Restart().

◆ m_channelCache

ChannelCache_t MHIContext::m_channelCache
protected

Definition at line 229 of file mhi.h.

Referenced by GetChannelIndex(), GetServiceInfo(), LoadChannelCache(), and Restart().

◆ m_channelMutex

QMutex MHIContext::m_channelMutex
protected

Definition at line 230 of file mhi.h.

Referenced by GetChannelIndex(), GetServiceInfo(), and Restart().

◆ m_currentChannel

int MHIContext::m_currentChannel {-1}
protected

Definition at line 210 of file mhi.h.

Referenced by GetChannelIndex(), and Restart().

◆ m_currentSource

int MHIContext::m_currentSource {-1}
protected

Definition at line 213 of file mhi.h.

Referenced by GetChannelIndex(), LoadChannelCache(), and Restart().

◆ m_currentStream

int MHIContext::m_currentStream {-1}
protected

Definition at line 211 of file mhi.h.

Referenced by BeginStream(), GetChannelIndex(), Restart(), and StreamStarted().

◆ m_display

std::list<MHIImageData*> MHIContext::m_display
protected

Definition at line 203 of file mhi.h.

Referenced by AddToDisplay(), ClearDisplay(), DrawVideo(), and UpdateOSD().

◆ m_displayLock

QMutex MHIContext::m_displayLock
protected

Definition at line 200 of file mhi.h.

Referenced by AddToDisplay(), DrawVideo(), NetworkBootRequested(), RequireRedraw(), and UpdateOSD().

◆ m_displayRect

QRect MHIContext::m_displayRect
protected

Definition at line 223 of file mhi.h.

Referenced by Reinit(), Scale(), ScaleX(), and ScaleY().

◆ m_dsmcc

Dsmcc* MHIContext::m_dsmcc {nullptr}
protected

◆ m_dsmccLock

QMutex MHIContext::m_dsmccLock
protected

◆ m_dsmccQueue

MythDeque<DSMCCPacket*> MHIContext::m_dsmccQueue
protected

Definition at line 186 of file mhi.h.

Referenced by ClearQueue(), ProcessDSMCCQueue(), and QueueDSMCCPacket().

◆ m_engine

MHEG* MHIContext::m_engine
protected

Definition at line 195 of file mhi.h.

Referenced by NetworkBootRequested(), RequireRedraw(), Restart(), run(), StreamStarted(), and ~MHIContext().

◆ m_engineThread

MThread* MHIContext::m_engineThread {nullptr}
protected

Definition at line 208 of file mhi.h.

Referenced by Restart(), and StopEngine().

◆ m_engineWait

QWaitCondition MHIContext::m_engineWait
protected

Definition at line 198 of file mhi.h.

Referenced by GetCarouselData(), OfferKey(), QueueDSMCCPacket(), run(), SetNetBootInfo(), and StopEngine().

◆ m_face

FT_Face MHIContext::m_face {nullptr}
protected

Definition at line 205 of file mhi.h.

Referenced by GetFontFace(), LoadFont(), and ~MHIContext().

◆ m_faceLoaded

bool MHIContext::m_faceLoaded {false}
protected

Definition at line 206 of file mhi.h.

Referenced by IsFaceLoaded(), MHIContext(), and ~MHIContext().

◆ m_ic

MHInteractionChannel MHIContext::m_ic
protected

Definition at line 188 of file mhi.h.

Referenced by CheckCarouselObject(), and GetCarouselData().

◆ m_isLive

bool MHIContext::m_isLive {false}
protected

Definition at line 212 of file mhi.h.

Referenced by Restart(), and TuneTo().

◆ m_keyLock

QMutex MHIContext::m_keyLock
protected

Definition at line 191 of file mhi.h.

Referenced by OfferKey(), Restart(), run(), and SetInputRegister().

◆ m_keyProfile

int MHIContext::m_keyProfile {0}
protected

Definition at line 193 of file mhi.h.

Referenced by OfferKey(), and SetInputRegister().

◆ m_keyQueue

MythDeque<int> MHIContext::m_keyQueue
protected

Definition at line 192 of file mhi.h.

Referenced by OfferKey(), Restart(), run(), and SetInputRegister().

◆ m_lastNbiVersion

uint MHIContext::m_lastNbiVersion {NBI_VERSION_UNSET}
protected

Definition at line 219 of file mhi.h.

Referenced by NetworkBootRequested(), SetNetBootInfo(), and TuneTo().

◆ m_nbiData

std::vector<unsigned char> MHIContext::m_nbiData
protected

Definition at line 220 of file mhi.h.

Referenced by NetworkBootRequested(), SetNetBootInfo(), and TuneTo().

◆ m_notify

MHStream* MHIContext::m_notify {nullptr}
protected

Definition at line 189 of file mhi.h.

Referenced by BeginStream(), EndStream(), and StreamStarted().

◆ m_parent

InteractiveTV* MHIContext::m_parent {nullptr}
protected

◆ m_runLock

QMutex MHIContext::m_runLock
mutableprotected

Definition at line 197 of file mhi.h.

Referenced by GetCarouselData(), Restart(), run(), StopEngine(), and StreamStarted().

◆ m_stop

bool MHIContext::m_stop {false}
protected

Definition at line 199 of file mhi.h.

Referenced by CheckStop(), GetCarouselData(), Restart(), run(), and StopEngine().

◆ m_tuneInfo

QList<int> MHIContext::m_tuneInfo
protected

Definition at line 217 of file mhi.h.

Referenced by Restart(), and TuneTo().

◆ m_updated

bool MHIContext::m_updated {false}
protected

Definition at line 201 of file mhi.h.

Referenced by ImageUpdated(), NetworkBootRequested(), RequireRedraw(), Restart(), and UpdateOSD().

◆ m_videoDisplayRect

QRect MHIContext::m_videoDisplayRect
protected

Definition at line 222 of file mhi.h.

Referenced by ClearDisplay(), DrawVideo(), Reinit(), and UpdateOSD().

◆ m_videoRect

QRect MHIContext::m_videoRect
protected

Definition at line 222 of file mhi.h.

Referenced by Reinit(), ScaleVideo(), ScaleVideoX(), and ScaleVideoY().

◆ m_videoTag

int MHIContext::m_videoTag {-1}
protected

Definition at line 216 of file mhi.h.

Referenced by BeginStream(), BeginVideo(), GetInitialStreams(), and Restart().


The documentation for this class was generated from the following files: