PVA_FF_H263DecBitrateAtom::PVA_FF_H263DecBitrateAtom() : PVA_FF_Atom(FourCharConstToUint32('b', 'i', 't', 'r')) { _avg_bitrate = 8000; _max_bitrate = 8000; recomputeSize(); }
PVA_FF_FontRecord::PVA_FF_FontRecord(uint16 FontListID, uint16 FontID, int8 FontLength, uint8* FontName) : PVA_FF_Atom(FourCharConstToUint32('t', 't', 's', 'f')) { OSCL_UNUSED_ARG(FontListID); _fontID = 0; _fontLength = 0; _pFontName = NULL; if (_fontID == 0) { _fontID = FontID; } if (_fontLength == 0) { _fontLength = FontLength; } if (_fontLength > 0) { _pFontName = (uint8 *)(OSCL_MALLOC(_fontLength * sizeof(char))); for (uint32 i = 0; i < (uint32)_fontLength; i++) { _pFontName[i] = FontName[i]; } } recomputeSize(); }
// Default constructor PVA_FF_EVRCSpecificAtom::PVA_FF_EVRCSpecificAtom() : PVA_FF_Atom(FourCharConstToUint32('d', 'e', 'v', 'c')) { _VendorCode = PACKETVIDEO_FOURCC; _frames_per_sample = 1; recomputeSize(); }
// Constructor PVA_FF_AudioSampleEntry::PVA_FF_AudioSampleEntry(PVA_FF_MP4_CODEC_TYPE codecType) : PVA_FF_SampleEntry(FourCharConstToUint32('m', 'p', '4', 'a')) { PV_MP4_FF_NEW(fp->auditCB, PVA_FF_ESDAtom, (MEDIA_TYPE_AUDIO, codecType), _pes); init(); recomputeSize(); _pes->setParent(this); }
// Constructor PVA_FF_EditAtom::PVA_FF_EditAtom() : PVA_FF_Atom(FourCharConstToUint32('e', 'd', 't', 's')) { _size = getDefaultSize(); _peditList = NULL; PV_MP4_FF_NEW(fp->auditCB, PVA_FF_EditListAtom, (), _peditList); _peditList->setParent(this); }
// Default constructor PVA_FF_AMRSpecificAtom::PVA_FF_AMRSpecificAtom() : PVA_FF_Atom(FourCharConstToUint32('d', 'a', 'm', 'r')) { _mode_set = 0; _VendorCode = PACKETVIDEO_FOURCC; _mode_change_period = 0; _frames_per_sample = 1; recomputeSize(); }
// Constructor PVA_FF_EditListAtom::PVA_FF_EditListAtom() : PVA_FF_FullAtom(FourCharConstToUint32('e', 'l', 's', 't'), 0, 0)//currently I sent both version and flag to 0 { _entryCount = 0; _size = getDefaultSize(); PV_MP4_FF_NEW(fp->auditCB, uint32VecType, (), _psegmentDurations); PV_MP4_FF_NEW(fp->auditCB, int32VecType, (), _pmediaTimes); PV_MP4_FF_NEW(fp->auditCB, uint16VecType, (), _pmediaRates); recomputeSize(); }
PVA_FF_H263SpecficAtom::PVA_FF_H263SpecficAtom() : PVA_FF_Atom(FourCharConstToUint32('d', '2', '6', '3')) { _VendorCode = PACKETVIDEO_FOURCC; _encoder_version = 1; _codec_level = 10; _codec_profile = 0; _max_width = 176; _max_height = 144; PV_MP4_FF_NEW(fp->auditCB, PVA_FF_H263DecBitrateAtom, (), _ph263_decbitrateatom); recomputeSize(); }
// Constructor PVA_FF_ChunkOffsetAtom::PVA_FF_ChunkOffsetAtom(uint32 mediaType, uint32 fileAuthoringFlags) : PVA_FF_FullAtom(FourCharConstToUint32('s', 't', 'c', 'o'), (uint8)0, (uint32)0), _mediaType(mediaType) { _oInterLeaveMode = false; _modified = true; // True for a new atom _entryCount = 0; _currentDataOffset = 0; PV_MP4_FF_NEW(fp->auditCB, uint32VecType, (), _pchunkOffsets); if (fileAuthoringFlags & PVMP4FF_SET_MEDIA_INTERLEAVE_MODE) { _oInterLeaveMode = true; } recomputeSize(); }
// Constructor PVA_FF_H263SampleEntry::PVA_FF_H263SampleEntry() : PVA_FF_SampleEntry(FourCharConstToUint32('s', '2', '6', '3')) { init(); recomputeSize(); }