DtvKit_ATSC3.0
|
#include <atsc_core_streamer_isobmff_parser.h>
Public Member Functions | |
CIsoBmffParser () | |
Memset the Mp4 Header box. | |
~CIsoBmffParser () | |
NA. | |
void | Init (void) |
Reset the Variables with zero. | |
int32_t | PutMP4 (char *pData, int32_t iLen) |
Provide Data to parse the data based on header type. | |
int32_t | get_duration (void) |
Get Duration. | |
uint32_t | get_timescale (void) |
Get TimeScale. | |
int32_t | get_sample_duration (void) |
Get Sample Duration. | |
int32_t | get_mdat_size (char *pData, int32_t iDataLen) |
Get the Mdat Size. | |
int32_t | set_mdat_size (char *pData, int32_t iDataLen, int32_t iMdatSize) |
Set the Mdat Size. | |
int32_t | PutSidx (char *pData, int32_t iLen, Isobmff::sSidxH_t *sidx) |
Parses and processes the 'Sidx' box. | |
int32_t | PutMdat (char *pData, int32_t iLen, int32_t remainLen, bool bHintTrackContainOffset, int32_t iId, int32_t iSeq) |
Parses and processes the 'Mdat' box. | |
int32_t | GetDuration () |
Get the Duration. | |
int32_t | PutTraf (char *pData, int32_t iLen, Isobmff::sTrafH_t *traf) |
Parses and processes the 'Traf' box. | |
int32_t | PutTfhd (char *pData, int32_t iLen, Isobmff::sTfhdH_t *tfhd) |
Parses and processes the 'Tfhd' box. | |
int32_t | PutTrun (char *pData, int32_t iLen, Isobmff::sTrunH_t *trun) |
Parses and processes the 'Trun' box. | |
int32_t | PutTfdt (char *pData, int32_t iLen, Isobmff::sTfdtH_t *tfdt) |
Parses and processes the 'Tfdt' box. | |
int32_t | PutMdia (char *pData, int32_t iLen, Isobmff::sMdiaH_t *mdia) |
Parses and processes the 'Mdia' box. | |
int32_t | PutFtyp (char *pData, int32_t iLen) |
Parses and processes the 'Ftyp' box. | |
int32_t | PutStyp (char *pData, int32_t iLen) |
Parses and processes the 'Styp' box. | |
int32_t | PutMehd (char *pData, int32_t iLen, Isobmff::sMehdH_t *mehd) |
Parses and processes the 'Mehd' box. | |
int32_t | PutTrex (char *pData, int32_t iLen, Isobmff::sTrexH_t *trex) |
Parses and processes the 'Trex' box. | |
int32_t | PutTkhd (char *pData, int32_t iLen, Isobmff::sTkhdH_t *tkhd) |
Parses and processes the 'Tkhd' box. | |
int32_t | PutTrak (char *pData, int32_t iLen, Isobmff::sTrakH_t *trak) |
Parses and processes the 'Trak' box. | |
int32_t | GetBoxTypeLen (char *pData, int32_t *pType, int32_t *pLen) |
Get Box Type of Mp4 Header. | |
int32_t | PutMoov (char *pData, int32_t iLen, Isobmff::sMoovH_t *moov) |
Parses and processes the 'Moov' box. | |
int32_t | PutMvhd (char *pData, int32_t iLen, Isobmff::sMvhdH_t *mvhd) |
Parses and processes the 'Mvhd' box. | |
int32_t | PutMdhd (char *pData, int32_t iLen, Isobmff::sMdhdH_t *mdhd) |
Parses and processes the 'Mdhd' box. | |
int32_t | PutHdlr (char *pData, int32_t iLen, Isobmff::sHdlrH_t *hdlr) |
Parses and processes the 'Hdlr' box. | |
int32_t | PutMfhd (char *pData, int32_t iLen, Isobmff::sMfhdH_t *mfhd) |
int32_t | PutMoof (char *pData, int32_t iLen, Isobmff::sMoofH_t *moof) |
Parses and processes the 'Mfhd' box. | |
int32_t | PutMinf (char *pData, int32_t iLen, Isobmff::sMinfH_t *minf) |
int32_t | PutMvex (char *pData, int32_t iLen, Isobmff::sMvexH_t *mvex) |
Parses and processes the 'Minf' box. | |
int32_t | PutVmhd (char *pData, int32_t iLen, Isobmff::sVmhdH_t *vmhd) |
NA. | |
int32_t | PutStsd (char *pData, int32_t iLen, Isobmff::sStsdH_t *stsd) |
NA. | |
int32_t | PutStsz (char *pData, int32_t iLen, Isobmff::sStszH_t *stsz) |
NA. | |
int32_t | PutStsc (char *pData, int32_t iLen, Isobmff::sStscH_t *stsc) |
NA. | |
int32_t | PutStco (char *pData, int32_t iLen, Isobmff::sStcoH_t *stco) |
NA. | |
int32_t | PutStts (char *pData, int32_t iLen, Isobmff::sStsH_t *stts) |
NA. | |
int32_t | PutStbl (char *pData, int32_t iLen, Isobmff::sStblH_t *stbl) |
NA. | |
sFindHdlrResult_t | FindHdlrType (int32_t iHdlrType) |
Finds the handler type for the given track ID. | |
Public Attributes | |
int32_t | iDuration |
int32_t | mSampleDuration |
uint32_t | iTimescale |
Isobmff::sMp4_t | mp4 |
CIsoBmffParser::CIsoBmffParser | ( | ) |
Memset the Mp4 Header box.
void |
void |
CIsoBmffParser::~CIsoBmffParser | ( | ) |
NA.
void |
void |
CIsoBmffParser::FindHdlrType | ( | int32_t | iHdlrType | ) |
Finds the handler type for the given track ID.
iHdlrType |
sFindHdlrResult_t |
|
inline |
Get Duration.
NA |
int32_t |
CIsoBmffParser::get_mdat_size | ( | char * | pData, |
int32_t | iDataLen ) |
Get the Mdat Size.
char* | pData, int32_t iDataLen |
int32_t |
|
inline |
Get Sample Duration.
NA |
int32_t |
|
inline |
Get TimeScale.
NA |
int32_t |
CIsoBmffParser::GetBoxTypeLen | ( | char * | pData, |
int32_t * | pType, | ||
int32_t * | pLen ) |
Get Box Type of Mp4 Header.
char | *pData, int32_t *pType, int32_t *pLen |
int32_t |
CIsoBmffParser::GetDuration | ( | ) |
Get the Duration.
NA |
int32_t |
CIsoBmffParser::Init | ( | void | ) |
Reset the Variables with zero.
void |
void |
CIsoBmffParser::PutFtyp | ( | char * | pData, |
int32_t | iLen ) |
Parses and processes the 'Ftyp' box.
char* | pData, int32_t iLen |
int32_t |
CIsoBmffParser::PutHdlr | ( | char * | pData, |
int32_t | iLen, | ||
Isobmff::sHdlrH_t * | hdlr ) |
Parses and processes the 'Hdlr' box.
char* | pData, int32_t iLen, Isobmff::sHdlrH_t* hdlr |
int32_t |
CIsoBmffParser::PutMdat | ( | char * | pData, |
int32_t | iLen, | ||
int32_t | remainLen, | ||
bool | bHintTrackContainOffset, | ||
int32_t | iId, | ||
int32_t | iSeq ) |
Parses and processes the 'Mdat' box.
*pData,iLen,remainLen,bHintTrackContainOffset,iId,iSeq |
int32_t |
CIsoBmffParser::PutMdhd | ( | char * | pData, |
int32_t | iLen, | ||
Isobmff::sMdhdH_t * | mdhd ) |
Parses and processes the 'Mdhd' box.
char* | pData, int32_t iLen, Isobmff::sMdhdH_t* mdhd |
int32_t |
CIsoBmffParser::PutMdia | ( | char * | pData, |
int32_t | iLen, | ||
Isobmff::sMdiaH_t * | mdia ) |
Parses and processes the 'Mdia' box.
char* | pData, int32_t iLen, Isobmff::sMdiaH_t* mdia |
int32_t |
CIsoBmffParser::PutMehd | ( | char * | pData, |
int32_t | iLen, | ||
Isobmff::sMehdH_t * | mehd ) |
Parses and processes the 'Mehd' box.
char* | pData, int32_t iLen, Isobmff::sMehdH_t* mehd |
int32_t |
CIsoBmffParser::PutMoof | ( | char * | pData, |
int32_t | iLen, | ||
Isobmff::sMoofH_t * | moof ) |
Parses and processes the 'Mfhd' box.
Parses and processes the 'Moof' box.
char* | pData, int32_t iLen, Isobmff::sMfhdH_t* mfhd |
int32_t |
char* | pData, int32_t iLen, Isobmff::sMoofH_t* moof |
int32_t |
CIsoBmffParser::PutMoov | ( | char * | pData, |
int32_t | iLen, | ||
Isobmff::sMoovH_t * | moov ) |
Parses and processes the 'Moov' box.
char* | pData, int32_t iLen, Isobmff::sMoovH_t* moov |
int32_t |
CIsoBmffParser::PutMP4 | ( | char * | pData, |
int32_t | iLen ) |
Provide Data to parse the data based on header type.
char* | pData, int32_t iLen |
int32_t |
CIsoBmffParser::PutMvex | ( | char * | pData, |
int32_t | iLen, | ||
Isobmff::sMvexH_t * | mvex ) |
Parses and processes the 'Minf' box.
Parses and processes the 'mvex' box.
char* | pData, int32_t iLen, Isobmff::sMinfH_t* minf |
int32_t |
char* | pData, int32_t iLen, Isobmff::sMvexH_t* sMvexH_t |
int32_t |
CIsoBmffParser::PutMvhd | ( | char * | pData, |
int32_t | iLen, | ||
Isobmff::sMvhdH_t * | mvhd ) |
Parses and processes the 'Mvhd' box.
char* | pData, int32_t iLen, Isobmff::sMvhdH_t* Mvhd |
int32_t |
CIsoBmffParser::PutSidx | ( | char * | pData, |
int32_t | iLen, | ||
Isobmff::sSidxH_t * | sidx ) |
Parses and processes the 'Sidx' box.
char | *pData, int32_t iLen, Isobmff::sSidxH_t *sidx |
int32_t |
CIsoBmffParser::PutStbl | ( | char * | pData, |
int32_t | iLen, | ||
Isobmff::sStblH_t * | stbl ) |
CIsoBmffParser::PutStco | ( | char * | pData, |
int32_t | iLen, | ||
Isobmff::sStcoH_t * | stco ) |
CIsoBmffParser::PutStsc | ( | char * | pData, |
int32_t | iLen, | ||
Isobmff::sStscH_t * | stsc ) |
CIsoBmffParser::PutStsd | ( | char * | pData, |
int32_t | iLen, | ||
Isobmff::sStsdH_t * | stsd ) |
CIsoBmffParser::PutStsz | ( | char * | pData, |
int32_t | iLen, | ||
Isobmff::sStszH_t * | stsz ) |
CIsoBmffParser::PutStts | ( | char * | pData, |
int32_t | iLen, | ||
Isobmff::sStsH_t * | stts ) |
CIsoBmffParser::PutStyp | ( | char * | pData, |
int32_t | iLen ) |
Parses and processes the 'Styp' box.
char* | pData, int32_t iLen |
int32_t |
CIsoBmffParser::PutTfdt | ( | char * | pData, |
int32_t | iLen, | ||
Isobmff::sTfdtH_t * | tfdt ) |
Parses and processes the 'Tfdt' box.
char* | pData, int32_t iLen, Isobmff::sTfdtH_t* tfdt |
int32_t |
CIsoBmffParser::PutTfhd | ( | char * | pData, |
int32_t | iLen, | ||
Isobmff::sTfhdH_t * | tfhd ) |
Parses and processes the 'Tfhd' box.
char* | pData, int32_t iLen, Isobmff::sTfhdH_t* tfhd |
int32_t |
CIsoBmffParser::PutTkhd | ( | char * | pData, |
int32_t | iLen, | ||
Isobmff::sTkhdH_t * | tkhd ) |
Parses and processes the 'Tkhd' box.
char* | pData, int32_t iLen, sTkhdH_t::sTrexH_t* tkhd |
int32_t |
CIsoBmffParser::PutTraf | ( | char * | pData, |
int32_t | iLen, | ||
Isobmff::sTrafH_t * | traf ) |
Parses and processes the 'Traf' box.
char* | pData, int32_t iLen, Isobmff::sTrafH_t* traf |
int32_t |
CIsoBmffParser::PutTrak | ( | char * | pData, |
int32_t | iLen, | ||
Isobmff::sTrakH_t * | trak ) |
Parses and processes the 'Trak' box.
char* | pData, int32_t iLen, sTkhdH_t::sTrakH_t* trak |
int32_t |
CIsoBmffParser::PutTrex | ( | char * | pData, |
int32_t | iLen, | ||
Isobmff::sTrexH_t * | trex ) |
Parses and processes the 'Trex' box.
char* | pData, int32_t iLen, Isobmff::sTrexH_t* trex |
int32_t |
CIsoBmffParser::PutTrun | ( | char * | pData, |
int32_t | iLen, | ||
Isobmff::sTrunH_t * | trun ) |
Parses and processes the 'Trun' box.
char* | pData, int32_t iLen, Isobmff::sTrunH_t* trun |
int32_t |
CIsoBmffParser::PutVmhd | ( | char * | pData, |
int32_t | iLen, | ||
Isobmff::sVmhdH_t * | vmhd ) |
CIsoBmffParser::set_mdat_size | ( | char * | pData, |
int32_t | iDataLen, | ||
int32_t | iMdatSize ) |
Set the Mdat Size.
char* | pData, int32_t iDataLen, int32_t iMdatSize |
int32_t |
int32_t CIsoBmffParser::iDuration |
Duration
uint32_t CIsoBmffParser::iTimescale |
TimeScale from mvhd
Isobmff::sMp4_t CIsoBmffParser::mp4 |
mp4 - Headers
int32_t CIsoBmffParser::mSampleDuration |
mSampleDuration