vdr-plugin-softhddevice-drm-gles 1.6.2
cPipHandler Class Reference

PiP Stream Handler. More...

#include <pipreceiver.h>

Public Member Functions

 cPipHandler (cSoftHdDevice *)
 
virtual ~cPipHandler (void)
 
bool IsEnabled (void)
 
void Enable (void)
 Start picture-in-picture.
 
void Disable (void)
 Stop picture-in-picture.
 
void Toggle (void)
 Toggle picture-in-picture.
 
void ChannelChange (int)
 Change the pip channel.
 
void ChannelSwap (bool)
 Swap the pip channel with main live channel.
 
void SetSize (void)
 Set size and position for the pip window.
 
void SwapPosition (void)
 Swap pip between normal and alternative position.
 
void HandleEvent (enum PipState)
 Handle a pip event.
 

Private Member Functions

int Start (int)
 Create a new pip receiver and render the pip stream.
 
void Stop (void)
 Delete the pip receiver, clear decoder and display buffers and disable rendering the pip window.
 
void HandleEnable (bool)
 Enable/ disable picture-in-picture.
 
void HandleChannelChange (int)
 Change the pip channel.
 

Private Attributes

cSoftHdDevicem_pDevice
 pointer to device
 
IEventReceiverm_pEventReceiver
 pointer to event receiver
 
cPipReceiverm_pPipReceiver = nullptr
 pointer to pip receiver
 
int m_pipChannelNum
 current pip channel number
 
const cChannelm_pPipChannel
 current pip channel
 
bool m_active = false
 true, if pip is active
 

Detailed Description

PiP Stream Handler.

Definition at line 51 of file pipreceiver.h.

Member Function Documentation

◆ IsEnabled()

bool cPipHandler::IsEnabled ( void  )
inline

Definition at line 56 of file pipreceiver.h.

References m_active.

Referenced by cSoftHdDevice::PipIsEnabled().

Member Data Documentation

◆ m_active

bool cPipHandler::m_active = false
private

true, if pip is active

Definition at line 72 of file pipreceiver.h.

Referenced by ChannelChange(), ChannelSwap(), Disable(), Enable(), HandleChannelChange(), HandleEnable(), HandleEvent(), IsEnabled(), Start(), and Stop().

◆ m_pDevice

cSoftHdDevice* cPipHandler::m_pDevice
private

pointer to device

Definition at line 67 of file pipreceiver.h.

Referenced by HandleEnable(), HandleEvent(), Start(), and Stop().

◆ m_pEventReceiver

IEventReceiver* cPipHandler::m_pEventReceiver
private

pointer to event receiver

Definition at line 68 of file pipreceiver.h.

Referenced by ChannelChange(), ChannelSwap(), Disable(), Enable(), SetSize(), SwapPosition(), and Toggle().

◆ m_pipChannelNum

int cPipHandler::m_pipChannelNum
private

current pip channel number

Definition at line 70 of file pipreceiver.h.

Referenced by HandleEnable(), and Start().

◆ m_pPipChannel

const cChannel* cPipHandler::m_pPipChannel
private

current pip channel

Definition at line 71 of file pipreceiver.h.

Referenced by ChannelSwap(), HandleChannelChange(), Start(), and Stop().

◆ m_pPipReceiver

cPipReceiver* cPipHandler::m_pPipReceiver = nullptr
private

pointer to pip receiver

Definition at line 69 of file pipreceiver.h.

Referenced by Start(), and Stop().


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