Lines Matching refs:trackIndex
271 for (size_t trackIndex = 0; trackIndex < trackCount; ++trackIndex) { in configureSource() local
272 AMediaFormat* trackFormat = mSampleReader->getTrackFormat(static_cast<int>(trackIndex)); in configureSource()
274 LOG(ERROR) << "Track #" << trackIndex << " has no format"; in configureSource()
295 media_status_t MediaTranscoder::configureTrackFormat(size_t trackIndex, in configureTrackFormat() argument
300 } else if (trackIndex >= mSourceTrackFormats.size()) { in configureTrackFormat()
301 LOG(ERROR) << "Track index " << trackIndex in configureTrackFormat()
312 AMediaFormat* srcTrackFormat = mSourceTrackFormats[trackIndex].get(); in configureTrackFormat()
316 LOG(ERROR) << "Source track #" << trackIndex << " has no mime type"; in configureTrackFormat()
323 << trackIndex << " with mime " << srcMime; in configureTrackFormat()
330 LOG(ERROR) << "Unable to convert media types for track #" << trackIndex << ", from " in configureTrackFormat()
345 media_status_t status = mSampleReader->selectTrack(trackIndex); in configureTrackFormat()
347 LOG(ERROR) << "Unable to select track " << trackIndex; in configureTrackFormat()
351 status = transcoder->configure(mSampleReader, trackIndex, trackFormat); in configureTrackFormat()
353 LOG(ERROR) << "Configure track transcoder for track #" << trackIndex << " returned error " in configureTrackFormat()
355 mSampleReader->unselectTrack(trackIndex); in configureTrackFormat()