12#ifndef __PIPRECEIVER_H
13#define __PIPRECEIVER_H
15#include <vdr/receiver.h>
cPipReceiver * m_pPipReceiver
pointer to pip receiver
const cChannel * m_pPipChannel
current pip channel
IEventReceiver * m_pEventReceiver
pointer to event receiver
bool m_active
true, if pip is active
int m_pipChannelNum
current pip channel number
cSoftHdDevice * m_pDevice
pointer to device
cTsToPes m_pTsToPesVideo
TS to PES converter.
uint64_t m_lastErrorReport
tracks time since last error report
cSoftHdDevice * m_pDevice
pointer to device
int m_numLostPackets
tracks lost packets
Output Device Implementation.
State Machine and Event Header File.
void ChannelChange(int)
Change the pip channel.
void SwapPosition(void)
Swap pip between normal and alternative position.
void HandleEnable(bool)
Enable/ disable picture-in-picture.
void Toggle(void)
Toggle picture-in-picture.
virtual ~cPipReceiver(void)
Detach the pip receiver.
int PlayTs(const uchar *, int)
Get the pes payload and send it to the player.
void HandleChannelChange(int)
Change the pip channel.
virtual ~cPipHandler(void)
int Start(int)
Create a new pip receiver and render the pip stream.
void HandleEvent(enum PipState)
Handle a pip event.
virtual void Activate(bool)
Called before the receiver gets attached or after it got detached.
void Disable(void)
Stop picture-in-picture.
void ChannelSwap(bool)
Swap the pip channel with main live channel.
int ParseTs(const uchar *, int)
Parse the ts stream and send it to the pes player.
virtual void Receive(const uchar *, int)
Receive data from the receiver.
void Stop(void)
Delete the pip receiver, clear decoder and display buffers and disable rendering the pip window.
void Enable(void)
Start picture-in-picture.
void SetSize(void)
Set size and position for the pip window.