|
vdr-plugin-softhddevice-drm-gles 1.6.4-d0291bb
|
Receiver for PiP Stream. More...
#include <pipreceiver.h>
Public Member Functions | |
| cPipReceiver (const cChannel *, cSoftHdDevice *) | |
| Create a new receiver for the pip stream handling only video pid. | |
| virtual | ~cPipReceiver (void) |
| Detach the pip receiver. | |
Protected Member Functions | |
| virtual void | Activate (bool) |
| Called before the receiver gets attached or after it got detached. | |
| virtual void | Receive (const uchar *, int) |
| Receive data from the receiver. | |
Private Member Functions | |
| int | ParseTs (const uchar *, int) |
| Parse the ts stream and send it to the pes player. | |
| int | PlayTs (const uchar *, int) |
| Get the pes payload and send it to the player. | |
Private Attributes | |
| cSoftHdDevice * | m_pDevice |
| pointer to device | |
| cTsToPes | m_pTsToPesVideo |
| TS to PES converter. | |
| uint64_t | m_lastErrorReport = 0 |
| tracks time since last error report | |
| int | m_numLostPackets = 0 |
| tracks lost packets | |
Receiver for PiP Stream.
Definition at line 31 of file pipreceiver.h.
| cPipReceiver::cPipReceiver | ( | const cChannel * | channel, |
| cSoftHdDevice * | device | ||
| ) |
Create a new receiver for the pip stream handling only video pid.
| channel | channel to receive |
| device | pointer to cSoftHdDevice object |
Definition at line 30 of file pipreceiver.cpp.
References LOGDEBUG.
|
virtual |
Called before the receiver gets attached or after it got detached.
| on | set on/off (unused) |
Definition at line 52 of file pipreceiver.cpp.
References LOGDEBUG, and m_pTsToPesVideo.
Parse the ts stream and send it to the pes player.
This code is taken from VDRs cDevice::PlayTs()
Definition at line 87 of file pipreceiver.cpp.
References LOGWARNING, m_pTsToPesVideo, and PlayTs().
Referenced by Receive().
Get the pes payload and send it to the player.
This code is taken from VDRs cDevice::PlayTsVideo()
Definition at line 132 of file pipreceiver.cpp.
References m_pDevice, m_pTsToPesVideo, and cSoftHdDevice::PlayPipVideo().
Referenced by ParseTs().
Receive data from the receiver.
This code is taken from VDRs cTransfer::Receive()
Definition at line 63 of file pipreceiver.cpp.
References LOGWARNING, m_lastErrorReport, m_numLostPackets, and ParseTs().
|
private |
tracks time since last error report
Definition at line 43 of file pipreceiver.h.
Referenced by Receive().
|
private |
|
private |
|
private |
TS to PES converter.
Definition at line 42 of file pipreceiver.h.
Referenced by Activate(), ParseTs(), and PlayTs().