Software demuxer of MPEGTS.
More...
|
| | Demuxer (AampLogManager *logObj, class PrivateInstanceAAMP *aamp, MediaType type) |
| | Demuxer Constructor. More...
|
| |
|
| Demuxer (const Demuxer &)=delete |
| | Copy Constructor.
|
| |
|
Demuxer & | operator= (const Demuxer &)=delete |
| | Assignment operator overloading.
|
| |
|
| ~Demuxer () |
| | Demuxer Destructor.
|
| |
| void | init (double position, double duration, bool trickmode, bool resetBasePTS) |
| | Initialize demux. More...
|
| |
|
void | flush () |
| | flush es buffer and reset demux state
|
| |
|
void | reset () |
| | reset demux state
|
| |
| void | setBasePTS (unsigned long long basePTS, bool isFinal) |
| | Set base PTS used for re-stamping. More...
|
| |
| unsigned long long | getBasePTS () |
| | Get base PTS used for re-stamping. More...
|
| |
| void | processPacket (unsigned char *packetStart, bool &basePtsUpdated, bool &ptsError, bool &isPacketIgnored, bool applyOffset) |
| | Process a TS packet. More...
|
| |
|
|
void | send () |
| | Sends elementary stream with proper PTS.
|
| |
Software demuxer of MPEGTS.
Definition at line 230 of file tsprocessor.cpp.
◆ Demuxer()
◆ init()
| void Demuxer::init |
( |
double |
position, |
|
|
double |
duration, |
|
|
bool |
trickmode, |
|
|
bool |
resetBasePTS |
|
) |
| |
|
inline |
Initialize demux.
- Parameters
-
| [in] | position | start position |
| [in] | duration | duration |
| [in] | trickmode | true if trickmode |
| [in] | resetBasePTS | true to reset base pts used for restamping |
Definition at line 351 of file tsprocessor.cpp.
◆ setBasePTS()
| void Demuxer::setBasePTS |
( |
unsigned long long |
basePTS, |
|
|
bool |
isFinal |
|
) |
| |
|
inline |
Set base PTS used for re-stamping.
- Parameters
-
| [in] | basePTS | new base PTS |
| [in] | final | true if base PTS is finalized |
Definition at line 406 of file tsprocessor.cpp.
◆ getBasePTS()
| unsigned long long Demuxer::getBasePTS |
( |
| ) |
|
|
inline |
Get base PTS used for re-stamping.
- Return values
-
| base | PTS used for re-stamping |
Definition at line 420 of file tsprocessor.cpp.
◆ processPacket()
| void Demuxer::processPacket |
( |
unsigned char * |
packetStart, |
|
|
bool & |
basePtsUpdated, |
|
|
bool & |
ptsError, |
|
|
bool & |
isPacketIgnored, |
|
|
bool |
applyOffset |
|
) |
| |
|
inline |
Process a TS packet.
- Parameters
-
| [in] | packetStart | start of buffer containing packet |
| [out] | basePtsUpdated | true if base PTS is updated |
| [in] | ptsError | true if encountered PTS error. |
Definition at line 432 of file tsprocessor.cpp.
The documentation for this class was generated from the following file: