RDK Documentation (Open Sourced RDK Components)
FullBox Class Reference

Class for single ISO BMFF Box Eg: FTYP, MDHD, MVHD, TFDT. More...

#include <isobmffbox.h>

Inheritance diagram for FullBox:
Inheritance graph
Collaboration diagram for FullBox:
Collaboration graph

Public Member Functions

 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...
 

Protected Attributes

uint8_t version
 
uint32_t flags
 

Additional Inherited Members

- Static Public Member Functions inherited from Box
static BoxconstructBox (uint8_t *hdr, uint32_t maxSz, AampLogManager *mLOgObj=NULL, bool correctBoxSize=false, int newTrackId=-1)
 
- 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"
 

yes

Class for single ISO BMFF Box Eg: FTYP, MDHD, MVHD, TFDT.

Definition at line 295 of file isobmffbox.h.

Constructor & Destructor Documentation

◆ FullBox()

FullBox::FullBox ( uint32_t  sz,
const char  btype[4],
uint8_t  ver,
uint32_t  f 
)

FullBox constructor.

Parameters
[in]sz- box size
[in]btype- box type
[in]ver- version value
[in]f- flag value

Definition at line 328 of file isobmffbox.cpp.


The documentation for this class was generated from the following files: