RDK Documentation (Open Sourced RDK Components)
|
Class for ISO BMFF TFDT Box. More...
#include <isobmffbox.h>
Public Member Functions | |
TfdtBox (uint32_t sz, uint64_t mdt) | |
TfdtBox constructor. | |
TfdtBox (FullBox &fbox, uint64_t mdt) | |
TfdtBox constructor. | |
void | setBaseMDT (uint64_t mdt) |
Set BaseMediaDecodeTime value. More... | |
uint64_t | getBaseMDT () |
Get BaseMediaDecodeTime value. More... | |
Public Member Functions inherited from FullBox | |
FullBox (uint32_t sz, const char btype[4], uint8_t ver, uint32_t f) | |
FullBox constructor. More... | |
Public Member Functions inherited from Box | |
Box (uint32_t sz, const char btype[4]) | |
Box constructor. More... | |
virtual | ~Box () |
Box destructor. | |
void | setOffset (uint32_t os) |
Set box's offset from the beginning of the buffer. More... | |
uint32_t | getOffset () const |
Get box offset. More... | |
virtual bool | hasChildren () |
To check if box has any child boxes. More... | |
virtual const std::vector< Box * > * | getChildren () |
Get children of this box. More... | |
uint32_t | getSize () const |
Get box size. More... | |
const char * | getType () |
Get box type. More... | |
const char * | getBoxType () const |
Get box type. More... | |
Static Public Member Functions | |
static TfdtBox * | constructTfdtBox (uint32_t sz, uint8_t *ptr) |
Static function to construct a TfdtBox object. More... | |
Static Public Member Functions inherited from Box | |
static Box * | constructBox (uint8_t *hdr, uint32_t maxSz, AampLogManager *mLOgObj=NULL, bool correctBoxSize=false, int newTrackId=-1) |
Private Attributes | |
uint64_t | baseMDT |
Additional Inherited Members | |
Static Public Attributes inherited from Box | |
static constexpr const char * | FTYP = "ftyp" |
static constexpr const char * | MOOV = "moov" |
static constexpr const char * | MVHD = "mvhd" |
static constexpr const char * | TRAK = "trak" |
static constexpr const char * | MDIA = "mdia" |
static constexpr const char * | MDHD = "mdhd" |
static constexpr const char * | EMSG = "emsg" |
static constexpr const char * | MOOF = "moof" |
static constexpr const char * | TFHD = "tfhd" |
static constexpr const char * | TRAF = "traf" |
static constexpr const char * | TFDT = "tfdt" |
static constexpr const char * | TRUN = "trun" |
static constexpr const char * | MDAT = "mdat" |
static constexpr const char * | TKHD = "tkhd" |
static constexpr const char * | STYP = "styp" |
static constexpr const char * | SIDX = "sidx" |
static constexpr const char * | PRFT = "prft" |
Protected Attributes inherited from FullBox | |
uint8_t | version |
uint32_t | flags |
Class for ISO BMFF TFDT Box.
Definition at line 421 of file isobmffbox.h.
TfdtBox::setBaseMDT | ( | uint64_t | mdt | ) |
Set BaseMediaDecodeTime value.
[in] | mdt | - BaseMediaDecodeTime value |
Definition at line 462 of file isobmffbox.cpp.
TfdtBox::getBaseMDT | ( | ) |
Get BaseMediaDecodeTime value.
Definition at line 470 of file isobmffbox.cpp.
|
static |
Static function to construct a TfdtBox object.
[in] | sz | - box size |
[in] | ptr | - pointer to box |
Definition at line 478 of file isobmffbox.cpp.