Class for ISO BMFF TFHD Box.
More...
#include <isobmffbox.h>
|
| PrftBox (uint32_t sz, uint32_t trackId, uint64_t ntpTs, uint64_t mediaTime) |
| PrftBox constructor.
|
|
| PrftBox (FullBox &fbox, uint32_t trackId, uint64_t ntpTs, uint64_t mediaTime) |
| PrftBox constructor.
|
|
void | setTrackId (uint32_t trackId) |
| Set Track Id value. More...
|
|
uint32_t | getTrackId () |
| Get Track id value. More...
|
|
void | setNtpTs (uint64_t ntpTs) |
| Set NTP Ts value. More...
|
|
uint64_t | getNtpTs () |
| Get ntp Timestamp value. More...
|
|
void | setMediaTime (uint64_t mediaTime) |
| Set Sample Duration value. More...
|
|
uint64_t | getMediaTime () |
| Get SampleDuration value. More...
|
|
| FullBox (uint32_t sz, const char btype[4], uint8_t ver, uint32_t f) |
| FullBox constructor. More...
|
|
| 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...
|
|
|
uint32_t | track_id |
|
uint64_t | ntp_ts |
|
uint64_t | media_time |
|
|
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" |
|
uint8_t | version |
|
uint32_t | flags |
|
Class for ISO BMFF TFHD Box.
Definition at line 776 of file isobmffbox.h.
◆ setTrackId()
PrftBox::setTrackId |
( |
uint32_t |
trackId | ) |
|
Set Track Id value.
- Parameters
-
[in] | trackId | - Track Id value |
- Returns
- void
Definition at line 999 of file isobmffbox.cpp.
◆ getTrackId()
◆ setNtpTs()
PrftBox::setNtpTs |
( |
uint64_t |
ntpTs | ) |
|
Set NTP Ts value.
- Parameters
-
[in] | ntpTs | - ntp timestamp value |
- Returns
- void
Definition at line 1015 of file isobmffbox.cpp.
◆ getNtpTs()
◆ setMediaTime()
PrftBox::setMediaTime |
( |
uint64_t |
mediaTime | ) |
|
Set Sample Duration value.
- Parameters
-
[in] | mediaTime | - metia time value |
- Returns
- void
Definition at line 1031 of file isobmffbox.cpp.
◆ getMediaTime()
PrftBox::getMediaTime |
( |
| ) |
|
◆ constructPrftBox()
PrftBox::constructPrftBox |
( |
uint32_t |
sz, |
|
|
uint8_t * |
ptr |
|
) |
| |
|
static |
Static function to construct a PrftBox object.
- Parameters
-
[in] | sz | - box size |
[in] | ptr | - pointer to box |
- Returns
- newly constructed PrftBox object
Definition at line 1047 of file isobmffbox.cpp.
The documentation for this class was generated from the following files: