Lines Matching refs:trackID

71     void offsetTimeStamp(int trackID, long tsOffset, int sampleOffset);
117 for (size_t trackID = 0; trackID < AMediaExtractor_getTrackCount(extractor); trackID++) { in splitMediaToMuxerParameters() local
118 AMediaExtractor_selectTrack(extractor, trackID); in splitMediaToMuxerParameters()
119 AMediaFormat* format = AMediaExtractor_getTrackFormat(extractor, trackID); in splitMediaToMuxerParameters()
123 mInpIndexMap[trackID] = index++; in splitMediaToMuxerParameters()
130 mInpIndexMap[trackID] = index; in splitMediaToMuxerParameters()
134 AMediaExtractor_unselectTrack(extractor, trackID); in splitMediaToMuxerParameters()
175 int trackID = AMediaExtractor_getSampleTrackIndex(extractor); in splitMediaToMuxerParameters() local
176 mTrackIdxOrder.push_back(trackID); in splitMediaToMuxerParameters()
177 mBufferInfo[(mInpIndexMap.at(trackID))].push_back(bufferInfo); in splitMediaToMuxerParameters()
189 for (int trackID = 0; trackID < mTrackCount; trackID++) { in registerTrack() local
190 int dstIndex = AMediaMuxer_addTrack(muxer, mFormat[trackID]); in registerTrack()
192 mOutIndexMap[trackID] = dstIndex; in registerTrack()
200 for (int trackID : mTrackIdxOrder) { in insertSampleData() local
201 int index = mInpIndexMap.at(trackID); in insertSampleData()
208 ALOGV("Track: %d Timestamp: %d", trackID, (int)info->presentationTimeUs); in insertSampleData()
315 void MuxerNativeTestHelper::offsetTimeStamp(int trackID, long tsOffset, int sampleOffset) { in offsetTimeStamp() argument
317 if (trackID < mTrackCount) { in offsetTimeStamp()
318 for (int i = sampleOffset; i < mBufferInfo[trackID].size(); i++) { in offsetTimeStamp()
319 AMediaCodecBufferInfo* info = mBufferInfo[trackID][i]; in offsetTimeStamp()
603 for (int trackID = 0; trackID < mediaInfo->getTrackCount() && isPass; trackID++) { in nativeTestOffsetPts() local
605 mediaInfo->offsetTimeStamp(trackID, OFFSET_TS, coffsetIndices[i]); in nativeTestOffsetPts()
616 ALOGE("Validation failed after adding timestamp offset to track %d", trackID); in nativeTestOffsetPts()
624 mediaInfo->offsetTimeStamp(trackID, -OFFSET_TS, coffsetIndices[i]); in nativeTestOffsetPts()