20#ifndef __PIPRECEIVER_H
21#define __PIPRECEIVER_H
23#include <vdr/receiver.h>
40 virtual void Receive(
const uchar *,
int);
48 int ParseTs(
const uchar *,
int);
49 int PlayTs(
const uchar *,
int);
cPipHandler - class for pip
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.
cPipReceiver * m_pPipReceiver
pointer to pip receiver
void Toggle(void)
Toggle picture-in-picture.
void HandleChannelChange(int)
Change the pip channel.
const cChannel * m_pPipChannel
current pip channel
virtual ~cPipHandler(void)
int Start(int)
Create a new pip receiver and render the pip stream.
void HandleEvent(enum PipState)
Handle the pip event.
void Disable(void)
Stop picture-in-picture.
void ChannelSwap(bool)
Swap the pip channel with main live channel.
IEventReceiver * m_pEventReceiver
pointer to event receiver
bool m_active
true, if pip is active
int m_pipChannelNum
current pip channel number
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.
cSoftHdDevice * m_pDevice
pointer to device
cPipReceiver - receiver class for pip
virtual ~cPipReceiver(void)
pip receiver class destructor
int PlayTs(const uchar *, int)
Get the pes payload and send it to the player.
uint64_t m_lastErrorReport
virtual void Activate(bool)
called before the receiver gets attached or after it got detached
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
cSoftHdDevice * m_pDevice
State machine and event header file.