|
RDK Documentation (Open Sourced RDK Components)
|
Go to the documentation of this file.
25 #ifndef __ISOBMFFPROCESSOR_H__
26 #define __ISOBMFFPROCESSOR_H__
39 eBMFFPROCESSOR_TYPE_VIDEO = 0,
40 eBMFFPROCESSOR_TYPE_AUDIO = 1
95 bool sendSegment(
char *segment,
size_t& size,
double position,
double duration,
bool discontinuous,
bool &ptsError)
override;
102 void abort()
override;
109 void reset()
override;
118 void setRate(
double rate, PlayMode mode)
override;
137 void setBasePTS(uint64_t pts, uint32_t tScale);
168 bool processPTSComplete;
169 bool initSegmentProcessComplete;
172 std::vector<GrowableBuffer *> initSegment;
176 pthread_mutex_t m_mutex;
177 pthread_cond_t m_cond;
void clearInitSegment()
Clear init fragment cached earlier.
void reset() override
Reset all variables.
~IsoBmffProcessor()
IsoBmffProcessor destructor.
void pushInitSegment(double position)
Push init fragment cached earlier.
void setRate(double rate, PlayMode mode) override
Set playback rate.
void setBasePTS(uint64_t pts, uint32_t tScale)
Set base PTS and TimeScale value.
bool sendSegment(char *segment, size_t &size, double position, double duration, bool discontinuous, bool &ptsError) override
Process and send ISOBMFF fragment.
IsoBmffProcessorType
ISOBMFF Processor types.
Class for ISO BMFF Fragment Processor.
void abort() override
Abort all operations.
void setThrottleEnable(bool enable) override
Enable or disable throttle.
Private functions and types used internally by AAMP.
Header file for ISO Base Media File Format Buffer.
Class representing the AAMP player's private instance, which is not exposed to outside world.
void setFrameRateForTM(int frameRate) override
Set frame rate for trickmode.
void cacheInitSegment(char *segment, size_t size)
Cache init fragment internally.
IsoBmffProcessor(class PrivateInstanceAAMP *aamp, AampLogManager *logObj=NULL, IsoBmffProcessorType trackType=eBMFFPROCESSOR_TYPE_VIDEO, IsoBmffProcessor *peerBmffProcessor=NULL)
IsoBmffProcessor constructor.
void setPeerProcessor(IsoBmffProcessor *processor)
Set peer instance of IsoBmffProcessor.