Lines Matching refs:trackId
446 uint32 TrackID = 0;
530 TrackID = pmediatrack->getTrackID();
583 TrackID = pmediatrack->getTrackID();
617 TrackID = pmediatrack->getTrackID();
620 return (TrackID);
632 PVA_FF_Mpeg4File::setTargetBitrate(uint32 trackID, uint32 avgBitRate, uint32 maxBitRate, uint32 bufferSizeDB)
634 _pmovieAtom->setTargetBitrate(trackID, avgBitRate, maxBitRate, bufferSizeDB);
639 PVA_FF_Mpeg4File::setTimeScale(uint32 trackID, uint32 rate)
642 _pmovieAtom->setTimeScale(trackID, rate);
648 bool PVA_FF_Mpeg4File::addTextSampleToTrack(uint32 trackID,
658 mediaTrack = _pmovieAtom->getMediaTrack(trackID);
660 codecType = _pmovieAtom->getCodecType(trackID);
679 PVA_FF_MediaDataAtom *mdatAtom = getMediaDataAtomForTrack(trackID);
694 if (!addTextMediaSampleInterleave(trackID, fragmentList, size, ts, flags, index))
705 _pmovieAtom->addTextSampleToTrack(trackID, fragmentList, size, ts, flags, index);
741 PVA_FF_Mpeg4File::addSampleToTrack(uint32 trackID,
751 mediaTrack = _pmovieAtom->getMediaTrack(trackID);
753 codecType = _pmovieAtom->getCodecType(trackID);
782 PVA_FF_MediaDataAtom *mdatAtom = getMediaDataAtomForTrack(trackID);
794 PVA_FF_TrackAtom *track = _pmovieAtom->getMediaTrack(trackID);
820 if (!addMediaSampleInterleave(trackID, fragmentList, size, ts, flags))
833 _pmovieAtom->addSampleToTrack(trackID, fragmentList, size,
849 if (!addMediaSampleInterleave(trackID, fragmentList, size, ts, flags))
867 _pmovieAtom->addSampleToTrack(trackID, fragmentList, size,
923 if (!addMediaSampleInterleave(trackID, fragmentList, size, ts, flags))
935 _pmovieAtom->addSampleToTrack(trackID, fragmentList, size, ts, flags);
1183 PVA_FF_Mpeg4File::setVideoParams(uint32 trackID,
1192 trackAtom = _pmovieAtom->getMediaTrack(trackID);
1201 PVA_FF_Mpeg4File::setH263ProfileLevel(uint32 trackID,
1206 trackAtom = _pmovieAtom->getMediaTrack(trackID);
1230 PVA_FF_Mpeg4File::setTextDecoderSpecificInfo(PVA_FF_TextSampleDescInfo *header, int32 trackID)
1234 _pmovieAtom->addTextDecoderSpecificInfo(pinfo, trackID);
1240 PVA_FF_Mpeg4File::setDecoderSpecificInfo(uint8 * header, int32 size, int32 trackID)
1244 _pmovieAtom->addDecoderSpecificInfo(pinfo, trackID);
1245 PVA_FF_TrackAtom *track = _pmovieAtom->getMediaTrack(trackID);
1529 uint32 trackID = pTrack->getTrackID();
1533 if (!flushInterLeaveBuffer(trackID))
1620 uint32 trackID = pTrack->getTrackID();
1624 if (!flushInterLeaveBuffer(trackID))
1681 PVA_FF_Mpeg4File::getMediaDataAtomForTrack(uint32 trackID)
1701 if (tID == trackID)
1711 PVA_FF_Mpeg4File::addMultipleAccessUnitsToTrack(uint32 trackID, GAU *pgau)
1717 mediaTrack = _pmovieAtom->getMediaTrack(trackID);
1726 PVA_FF_MediaDataAtom *mdatAtom = getMediaDataAtomForTrack(trackID);
1798 _pmovieAtom->addSampleToTrack(trackID, NULL,
1819 _pmovieAtom->addSampleToTrack(trackID, NULL,
1844 _pmovieAtom->addSampleToTrack(trackID, NULL,
2145 PVA_FF_Mpeg4File::checkInterLeaveDuration(uint32 trackID, uint32 ts)
2148 PVA_FF_InterLeaveBuffer *pInterLeaveBuffer = getInterLeaveBuffer(trackID);
2150 PVA_FF_TrackAtom* mediaTrack = _pmovieAtom->getMediaTrack(trackID);
2169 PVA_FF_Mpeg4File::flushInterLeaveBuffer(uint32 trackID)
2175 PVA_FF_TrackAtom* mediaTrack = _pmovieAtom->getMediaTrack(trackID);
2176 PVA_FF_InterLeaveBuffer *pInterLeaveBuffer = getInterLeaveBuffer(trackID);
2187 PVA_FF_MediaDataAtom *mdatAtom = getMediaDataAtomForTrack(trackID);
2190 codecType = _pmovieAtom->getCodecType(trackID);
2221 _pmovieAtom->addTextSampleToTrack(trackID,
2238 _pmovieAtom->addSampleToTrack(trackID,
2266 pCurrentTrackFragment = _pCurrentMoofAtom->getTrackFragment(trackID);
2291 _pCurrentMoofAtom->addSampleToFragment(trackID, sampleSize, sampleTS,
2297 _pmovieAtom->updateMovieFragmentDuration(trackID, sampleTS);
2306 _pMfraAtom->addSampleEntry(trackID, sampleTS, _currentMoofOffset,
2307 _pCurrentMoofAtom->getTrackFragmentNumber(trackID),
2315 _pMfraAtom->addSampleEntry(trackID, sampleTS, _currentMoofOffset,
2316 _pCurrentMoofAtom->getTrackFragmentNumber(trackID),
2332 _pmovieAtom->updateMovieFragmentDuration(trackID, ts + (ts - lastSampleTS));
2342 _pmovieAtom->updateMovieFragmentDuration(trackID, ts + delta);
2391 uint32 trackID = pTrack->getTrackID();
2392 PVA_FF_InterLeaveBuffer *pInterLeaveBuffer = getInterLeaveBuffer(trackID);
2509 // uint32 trackID = pTrack->getTrackID();
2562 PVA_FF_Mpeg4File::addMediaSampleInterleave(uint32 trackID,
2567 PVA_FF_TrackAtom *mediaTrack = _pmovieAtom->getMediaTrack(trackID);
2568 PVA_FF_MediaDataAtom *mdatAtom = getMediaDataAtomForTrack(trackID);
2569 PVA_FF_InterLeaveBuffer *pInterLeaveBuffer = getInterLeaveBuffer(trackID);
2570 int32 codecType = _pmovieAtom->getCodecType(trackID);
2574 _pmovieAtom->SetMaxSampleSize(trackID, size);
2587 _pmovieAtom->addSampleToTrack(trackID,
2705 _pmovieAtom->addSampleToTrack(trackID,
2737 if (checkInterLeaveDuration(trackID, ts))
2759 _pmovieAtom->addSampleToTrack(trackID,
2798 uint32 trackFragmentDuration = _pCurrentMoofAtom->getTrackFragmentDuration(trackID);
2807 pCurrentTrackFragment = _pCurrentMoofAtom->getTrackFragment(trackID);
2836 _pCurrentMoofAtom->addSampleToFragment(trackID, sampleSize, sampleTS,
2842 _pmovieAtom->updateMovieFragmentDuration(trackID, sampleTS);
2851 _pMfraAtom->addSampleEntry(trackID, sampleTS, _currentMoofOffset,
2852 _pCurrentMoofAtom->getTrackFragmentNumber(trackID),
2860 _pMfraAtom->addSampleEntry(trackID, sampleTS, _currentMoofOffset,
2861 _pCurrentMoofAtom->getTrackFragmentNumber(trackID),
2892 if (checkInterLeaveDuration(trackID, ts))
2915 _pmovieAtom->updateMovieFragmentDuration(trackID, sampleTS);
2918 _pCurrentMoofAtom->addSampleToFragment(trackID, sampleSize, sampleTS,
2930 _pMfraAtom->addSampleEntry(trackID, sampleTS, _currentMoofOffset,
2931 _pCurrentMoofAtom->getTrackFragmentNumber(trackID),
2939 _pMfraAtom->addSampleEntry(trackID, sampleTS, _currentMoofOffset,
2940 _pCurrentMoofAtom->getTrackFragmentNumber(trackID),
3003 uint32 trackID = pTrack->getTrackID();
3006 pCurrentTrackFragment = _pCurrentMoofAtom->getTrackFragment(trackID);
3008 PVA_FF_InterLeaveBuffer *pInterLeaveBuffer = getInterLeaveBuffer(trackID);
3082 PVA_FF_Mpeg4File::addTextMediaSampleInterleave(uint32 trackID,
3086 PVA_FF_TrackAtom *mediaTrack = _pmovieAtom->getMediaTrack(trackID);
3087 PVA_FF_MediaDataAtom *mdatAtom = getMediaDataAtomForTrack(trackID);
3088 PVA_FF_InterLeaveBuffer *pInterLeaveBuffer = getInterLeaveBuffer(trackID);
3089 int32 codecType = _pmovieAtom->getCodecType(trackID);
3104 _pmovieAtom->addTextSampleToTrack(trackID,
3153 _pmovieAtom->addTextSampleToTrack(trackID,
3187 if (checkInterLeaveDuration(trackID, ts))
3213 _pmovieAtom->addTextSampleToTrack(trackID,
3256 PVA_FF_Mpeg4File::reAuthorFirstSampleInTrack(uint32 trackID,
3263 PVA_FF_TrackAtom *mediaTrack = _pmovieAtom->getMediaTrack(trackID);
3264 PVA_FF_MediaDataAtom *mdatAtom = getMediaDataAtomForTrack(trackID);
3266 mediaTrack = _pmovieAtom->getMediaTrack(trackID);
3270 _pmovieAtom->reAuthorFirstSampleInTrack(trackID,
3308 uint32 trackID = pTrack->getTrackID();
3309 PVA_FF_InterLeaveBuffer *pInterLeaveBuffer = getInterLeaveBuffer(trackID);
3424 PVA_FF_Mpeg4File::getInterLeaveBuffer(uint32 trackID)
3430 if ((*_pInterLeaveBufferVec)[ii]->getTrackID() == trackID)
3438 PVA_FF_Mpeg4File::setAudioEncodeParams(uint32 trackId,
3442 trackAtom = _pmovieAtom->getMediaTrack(trackId);