![]() |
RDK Documentation (Open Sourced RDK Components)
|
Class for ISO BMFF Box container Eg: MOOV, MOOF, TRAK, MDIA. More...
#include <isobmffbox.h>


Public Member Functions | |
| GenericContainerBox (uint32_t sz, const char btype[4]) | |
| GenericContainerBox constructor. More... | |
| virtual | ~GenericContainerBox () |
| GenericContainerBox destructor. | |
| void | addChildren (Box *box) |
| Add a box as a child box. More... | |
| bool | hasChildren () override |
| To check if box has any child boxes. More... | |
| const std::vector< Box * > * | getChildren () override |
| Get children of this box. 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... | |
| 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 GenericContainerBox * | constructContainer (uint32_t sz, const char btype[4], uint8_t *ptr, int newTrackId=-1) |
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 | |
| std::vector< Box * > | children |
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" |
Class for ISO BMFF Box container Eg: MOOV, MOOF, TRAK, MDIA.
Definition at line 203 of file isobmffbox.h.
| GenericContainerBox::GenericContainerBox | ( | uint32_t | sz, |
| const char | btype[4] | ||
| ) |
GenericContainerBox constructor.
| [in] | sz | - box size |
| [in] | btype | - box type |
Definition at line 257 of file isobmffbox.cpp.
| GenericContainerBox::addChildren | ( | Box * | box | ) |
Add a box as a child box.
| [in] | box | - child box object |
Definition at line 279 of file isobmffbox.cpp.
|
overridevirtual |
To check if box has any child boxes.
Reimplemented from Box.
Definition at line 287 of file isobmffbox.cpp.
|
overridevirtual |
Get children of this box.
Reimplemented from Box.
Definition at line 295 of file isobmffbox.cpp.
|
static |
| [in] | sz | - box size |
| [in] | btype | - box type |
| [in] | ptr | - pointer to box |
| [in] | newTrackId | - new track id to overwrite the existing track id, when value is -1, it will not override |
Definition at line 310 of file isobmffbox.cpp.