Class for ISO BMFF Fragment Processor.
More...
#include <isobmffprocessor.h>
|
| IsoBmffProcessor (class PrivateInstanceAAMP *aamp, AampLogManager *logObj=NULL, IsoBmffProcessorType trackType=eBMFFPROCESSOR_TYPE_VIDEO, IsoBmffProcessor *peerBmffProcessor=NULL) |
| IsoBmffProcessor constructor.
|
|
| ~IsoBmffProcessor () |
| IsoBmffProcessor destructor.
|
|
| IsoBmffProcessor (const IsoBmffProcessor &)=delete |
|
IsoBmffProcessor & | operator= (const IsoBmffProcessor &)=delete |
|
void | setThrottleEnable (bool enable) override |
| Enable or disable throttle. More...
|
|
void | setFrameRateForTM (int frameRate) override |
| Set frame rate for trickmode. More...
|
|
bool | sendSegment (char *segment, size_t &size, double position, double duration, bool discontinuous, bool &ptsError) override |
| Process and send ISOBMFF fragment. More...
|
|
void | abort () override |
| Abort all operations. More...
|
|
void | reset () override |
| Reset all variables. More...
|
|
void | setRate (double rate, PlayMode mode) override |
| Set playback rate. More...
|
|
| MediaProcessor () |
| MediaProcessor constructor.
|
|
virtual | ~MediaProcessor () |
| MediaProcessor destructor.
|
|
| MediaProcessor (const MediaProcessor &)=delete |
|
MediaProcessor & | operator= (const MediaProcessor &)=delete |
|
virtual void | ChangeMuxedAudioTrack (unsigned char index) |
|
virtual void | SetAudioGroupId (std::string &id) |
| Function to set the group-ID. More...
|
|
virtual void | setApplyOffsetFlag (bool enable) |
| Function to set a offsetflag. if the value is fasle, no need to apply offset while doing pts restamping. More...
|
|
Class for ISO BMFF Fragment Processor.
Definition at line 47 of file isobmffprocessor.h.
◆ setThrottleEnable()
void IsoBmffProcessor::setThrottleEnable |
( |
bool |
enable | ) |
|
|
inlineoverridevirtual |
◆ setFrameRateForTM()
void IsoBmffProcessor::setFrameRateForTM |
( |
int |
frameRate | ) |
|
|
inlineoverridevirtual |
◆ sendSegment()
IsoBmffProcessor::sendSegment |
( |
char * |
segment, |
|
|
size_t & |
size, |
|
|
double |
position, |
|
|
double |
duration, |
|
|
bool |
discontinuous, |
|
|
bool & |
ptsError |
|
) |
| |
|
overridevirtual |
Process and send ISOBMFF fragment.
- Parameters
-
[in] | segment | - fragment buffer pointer |
[in] | size | - fragment buffer size |
[in] | position | - position of fragment |
[in] | duration | - duration of fragment |
[in] | discontinuous | - true if discontinuous fragment |
[out] | ptsError | - flag indicates if any PTS error occurred |
- Returns
- true if fragment was sent, false otherwise
Implements MediaProcessor.
Definition at line 69 of file isobmffprocessor.cpp.
◆ abort()
IsoBmffProcessor::abort |
( |
| ) |
|
|
overridevirtual |
◆ reset()
IsoBmffProcessor::reset |
( |
| ) |
|
|
overridevirtual |
◆ setRate()
IsoBmffProcessor::setRate |
( |
double |
rate, |
|
|
PlayMode |
mode |
|
) |
| |
|
overridevirtual |
◆ setPeerProcessor()
◆ setBasePTS()
IsoBmffProcessor::setBasePTS |
( |
uint64_t |
pts, |
|
|
uint32_t |
tScale |
|
) |
| |
|
private |
Set base PTS and TimeScale value.
- Parameters
-
[in] | pts | - base PTS value |
[in] | tScale | - TimeScale value |
- Returns
- void
Definition at line 276 of file isobmffprocessor.cpp.
◆ cacheInitSegment()
IsoBmffProcessor::cacheInitSegment |
( |
char * |
segment, |
|
|
size_t |
size |
|
) |
| |
|
private |
Cache init fragment internally.
- Parameters
-
[in] | segment | - buffer pointer |
[in] | size | - buffer size |
- Returns
- void
Definition at line 290 of file isobmffprocessor.cpp.
◆ pushInitSegment()
IsoBmffProcessor::pushInitSegment |
( |
double |
position | ) |
|
|
private |
Push init fragment cached earlier.
- Parameters
-
[in] | position | - position value |
- Returns
- void
Definition at line 304 of file isobmffprocessor.cpp.
◆ clearInitSegment()
IsoBmffProcessor::clearInitSegment |
( |
| ) |
|
|
private |
The documentation for this class was generated from the following files: