24#include <netinet/in.h>
27#include "atsc_core_utils_bitcalc.h"
73 int32_t
PutMP4(
char* pData, int32_t iLen);
131 int32_t
PutMdat(
char *pData, int32_t iLen, int32_t remainLen,
bool bHintTrackContainOffset, int32_t iId, int32_t iSeq);
Definition atsc_core_streamer_isobmff_parser.h:37
CIsoBmffParser()
Memset the Mp4 Header box.
int32_t mSampleDuration
Definition atsc_core_streamer_isobmff_parser.h:40
Isobmff::sMp4_t mp4
Definition atsc_core_streamer_isobmff_parser.h:115
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 PutMvhd(char *pData, int32_t iLen, Isobmff::sMvhdH_t *mvhd)
Parses and processes the 'Mvhd' box.
int32_t GetDuration()
Get the Duration.
sFindHdlrResult_t FindHdlrType(int32_t iHdlrType)
Finds the handler type for the given track ID.
int32_t PutStsz(char *pData, int32_t iLen, Isobmff::sStszH_t *stsz)
NA.
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 get_mdat_size(char *pData, int32_t iDataLen)
Get the Mdat Size.
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.
int32_t get_duration(void)
Get Duration.
Definition atsc_core_streamer_isobmff_parser.h:81
int32_t PutVmhd(char *pData, int32_t iLen, Isobmff::sVmhdH_t *vmhd)
NA.
int32_t iDuration
Definition atsc_core_streamer_isobmff_parser.h:39
int32_t PutStsd(char *pData, int32_t iLen, Isobmff::sStsdH_t *stsd)
NA.
uint32_t iTimescale
Definition atsc_core_streamer_isobmff_parser.h:41
int32_t PutTrex(char *pData, int32_t iLen, Isobmff::sTrexH_t *trex)
Parses and processes the 'Trex' box.
int32_t PutMehd(char *pData, int32_t iLen, Isobmff::sMehdH_t *mehd)
Parses and processes the 'Mehd' box.
uint32_t get_timescale(void)
Get TimeScale.
Definition atsc_core_streamer_isobmff_parser.h:89
int32_t set_mdat_size(char *pData, int32_t iDataLen, int32_t iMdatSize)
Set the Mdat Size.
int32_t PutTraf(char *pData, int32_t iLen, Isobmff::sTrafH_t *traf)
Parses and processes the 'Traf' box.
int32_t PutMP4(char *pData, int32_t iLen)
Provide Data to parse the data based on header type.
int32_t PutTfdt(char *pData, int32_t iLen, Isobmff::sTfdtH_t *tfdt)
Parses and processes the 'Tfdt' box.
int32_t get_sample_duration(void)
Get Sample Duration.
Definition atsc_core_streamer_isobmff_parser.h:97
int32_t PutTrak(char *pData, int32_t iLen, Isobmff::sTrakH_t *trak)
Parses and processes the 'Trak' box.
int32_t PutMvex(char *pData, int32_t iLen, Isobmff::sMvexH_t *mvex)
Parses and processes the 'Minf' box.
int32_t PutTkhd(char *pData, int32_t iLen, Isobmff::sTkhdH_t *tkhd)
Parses and processes the 'Tkhd' box.
int32_t PutStco(char *pData, int32_t iLen, Isobmff::sStcoH_t *stco)
NA.
void Init(void)
Reset the Variables with zero.
int32_t PutStyp(char *pData, int32_t iLen)
Parses and processes the 'Styp' box.
int32_t PutSidx(char *pData, int32_t iLen, Isobmff::sSidxH_t *sidx)
Parses and processes the 'Sidx' box.
int32_t PutMoof(char *pData, int32_t iLen, Isobmff::sMoofH_t *moof)
Parses and processes the 'Mfhd' box.
int32_t PutStsc(char *pData, int32_t iLen, Isobmff::sStscH_t *stsc)
NA.
int32_t PutMoov(char *pData, int32_t iLen, Isobmff::sMoovH_t *moov)
Parses and processes the 'Moov' box.
int32_t PutTfhd(char *pData, int32_t iLen, Isobmff::sTfhdH_t *tfhd)
Parses and processes the 'Tfhd' 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 GetBoxTypeLen(char *pData, int32_t *pType, int32_t *pLen)
Get Box Type of Mp4 Header.
int32_t PutTrun(char *pData, int32_t iLen, Isobmff::sTrunH_t *trun)
Parses and processes the 'Trun' box.
Definition atsc_core_streamer_isobmff.h:119
Definition atsc_core_streamer_isobmff.h:334
Definition atsc_core_streamer_isobmff.h:610
Definition atsc_core_streamer_isobmff.h:346
Definition atsc_core_streamer_isobmff.h:360
Definition atsc_core_streamer_isobmff.h:371
Definition atsc_core_streamer_isobmff.h:497
Definition atsc_core_streamer_isobmff.h:324
Definition atsc_core_streamer_isobmff.h:508
Definition atsc_core_streamer_isobmff.h:600
Definition atsc_core_streamer_isobmff.h:589
Definition atsc_core_streamer_isobmff.h:220
Definition atsc_core_streamer_isobmff.h:519
Definition atsc_core_streamer_isobmff.h:301
Definition atsc_core_streamer_isobmff.h:253
Definition atsc_core_streamer_isobmff.h:264
Definition atsc_core_streamer_isobmff.h:289
Definition atsc_core_streamer_isobmff.h:277
Definition atsc_core_streamer_isobmff.h:241
Definition atsc_core_streamer_isobmff.h:461
Definition atsc_core_streamer_isobmff.h:438
Definition atsc_core_streamer_isobmff.h:382
Definition atsc_core_streamer_isobmff.h:472
Definition atsc_core_streamer_isobmff.h:405
Definition atsc_core_streamer_isobmff.h:546
Definition atsc_core_streamer_isobmff.h:415
Definition atsc_core_streamer_isobmff.h:313