Lines Matching refs:trackID
145 for (size_t trackID = 0; trackID < AMediaExtractor_getTrackCount(extractor); trackID++) { in splitMediaToMuxerParameters() local
146 AMediaExtractor_selectTrack(extractor, trackID); in splitMediaToMuxerParameters()
147 AMediaFormat* format = AMediaExtractor_getTrackFormat(extractor, trackID); in splitMediaToMuxerParameters()
151 mInpIndexMap[trackID] = index++; in splitMediaToMuxerParameters()
158 mInpIndexMap[trackID] = index; in splitMediaToMuxerParameters()
162 AMediaExtractor_unselectTrack(extractor, trackID); in splitMediaToMuxerParameters()
203 int trackID = AMediaExtractor_getSampleTrackIndex(extractor); in splitMediaToMuxerParameters() local
204 mTrackIdxOrder.push_back(trackID); in splitMediaToMuxerParameters()
205 mBufferInfo[(mInpIndexMap.at(trackID))].push_back(bufferInfo); in splitMediaToMuxerParameters()
217 for (int trackID = 0; trackID < mTrackCount; trackID++) { in registerTrack() local
218 int dstIndex = AMediaMuxer_addTrack(muxer, mFormat[trackID]); in registerTrack()
220 mOutIndexMap[trackID] = dstIndex; in registerTrack()
228 for (int trackID : mTrackIdxOrder) { in insertSampleData() local
229 int index = mInpIndexMap.at(trackID); in insertSampleData()
236 ALOGV("Track: %d Timestamp: %" PRId64 "", trackID, info->presentationTimeUs); in insertSampleData()
262 int trackID = mTrackIdxOrder[i]; in writeAFewSamplesData() local
263 int trackIndex = mInpIndexMap.at(trackID); in writeAFewSamplesData()
264 ALOGV("trackID:%d, trackIndex:%d, frameCount:%d", trackID, trackIndex, in writeAFewSamplesData()
273 ALOGV("Track: %d Timestamp: %" PRId64 "", trackID, info->presentationTimeUs); in writeAFewSamplesData()
294 int trackID = mTrackIdxOrder[i++]; in writeAFewSamplesDataFromTime() local
295 int trackIndex = mInpIndexMap.at(trackID); in writeAFewSamplesDataFromTime()
296 ALOGV("trackID:%d, trackIndex:%d, frameCount:%d", trackID, trackIndex, in writeAFewSamplesDataFromTime()
302 if (info->presentationTimeUs < fromTime[trackID]) { in writeAFewSamplesDataFromTime()
500 for (int trackID = 0; trackID < mTrackCount; trackID++) { in offsetTimeStamp() local
503 AMediaFormat_getString(mFormat[trackID], AMEDIAFORMAT_KEY_MIME, &thisMime); in offsetTimeStamp()
510 for (int i = sampleOffset; i < mBufferInfo[trackID].size(); i++) { in offsetTimeStamp()
511 AMediaCodecBufferInfo *info = mBufferInfo[trackID][i]; in offsetTimeStamp()