Base Class for ISO BMFF Box.
More...
#include <isobmffbox.h>
|
|
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" |
| |
Base Class for ISO BMFF Box.
Definition at line 90 of file isobmffbox.h.
◆ Box()
| Box::Box |
( |
uint32_t |
sz, |
|
|
const char |
btype[4] |
|
) |
| |
Box constructor.
- Parameters
-
| [in] | sz | - box size |
| [in] | btype | - box type |
Definition at line 74 of file isobmffbox.cpp.
◆ setOffset()
| Box::setOffset |
( |
uint32_t |
os | ) |
|
Set box's offset from the beginning of the buffer.
- Parameters
-
- Returns
- void
Definition at line 82 of file isobmffbox.cpp.
◆ getOffset()
◆ hasChildren()
◆ getChildren()
◆ getSize()
◆ getType()
◆ getBoxType()
| Box::getBoxType |
( |
| ) |
const |
Get box type.
- Returns
- box type if parsed. "unknown" otherwise
Definition at line 130 of file isobmffbox.cpp.
◆ constructBox()
| Box::constructBox |
( |
uint8_t * |
hdr, |
|
|
uint32_t |
maxSz, |
|
|
AampLogManager * |
mLOgObj = NULL, |
|
|
bool |
correctBoxSize = false, |
|
|
int |
newTrackId = -1 |
|
) |
| |
|
static |
- Parameters
-
| [in] | hdr | - pointer to box |
| [in] | maxSz | - box size |
| [in] | mLOgObj | - log object |
| [in] | correctBoxSize | - flag to check if box size needs to be corrected |
| [in] | newTrackId | - new track id to overwrite the existing track id, when value is -1, it will not override |
- Returns
- newly constructed Box object
Definition at line 161 of file isobmffbox.cpp.
◆ offset
Offset from the beginning of the segment
Definition at line 93 of file isobmffbox.h.
◆ size
◆ type
The documentation for this class was generated from the following files: