Home
last modified time | relevance | path

Searched refs:trackIndex (Results 1 – 9 of 9) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DCodecState.java60 int trackIndex, in CodecState() argument
68 mTrackIndex = trackIndex; in CodecState()
207 int trackIndex = mExtractor.getSampleTrackIndex(); in feedInputBuffer() local
209 if (trackIndex == mTrackIndex) { in feedInputBuffer()
218 Log.d(TAG, "sampleSize: " + sampleSize + " trackIndex:" + trackIndex + in feedInputBuffer()
254 } else if (trackIndex < 0) { in feedInputBuffer()
DMediaCodecTunneledPlayer.java235 private boolean addTrack(int trackIndex, MediaFormat format) throws IOException { in addTrack() argument
279 trackIndex, format, codec, true, mTunneled, mAudioSessionId); in addTrack()
280 mVideoCodecStates.put(Integer.valueOf(trackIndex), state); in addTrack()
283 trackIndex, format, codec, true, mTunneled, mAudioSessionId); in addTrack()
284 mAudioCodecStates.put(Integer.valueOf(trackIndex), state); in addTrack()
DMediaCodecClearKeyPlayer.java366 private void addTrack(int trackIndex, MediaFormat format, in addTrack() argument
398 trackIndex, format, codec, true, false, in addTrack()
400 mVideoCodecStates.put(Integer.valueOf(trackIndex), state); in addTrack()
403 trackIndex, format, codec, true, false, in addTrack()
405 mAudioCodecStates.put(Integer.valueOf(trackIndex), state); in addTrack()
DMediaMuxerTest.java335 int trackIndex = extractor.getSampleTrackIndex(); in cloneMediaUsingMuxer() local
337 muxer.writeSampleData(indexMap.get(trackIndex), dstBuf, in cloneMediaUsingMuxer()
346 " TrackIndex:" + trackIndex + in cloneMediaUsingMuxer()
DMediaCodecTest.java1719 int trackIndex; in getMediaExtractorForMimeType() local
1720 for (trackIndex = 0; trackIndex < mediaExtractor.getTrackCount(); trackIndex++) { in getMediaExtractorForMimeType()
1721 MediaFormat trackMediaFormat = mediaExtractor.getTrackFormat(trackIndex); in getMediaExtractorForMimeType()
1723 mediaExtractor.selectTrack(trackIndex); in getMediaExtractorForMimeType()
1727 if (trackIndex == mediaExtractor.getTrackCount()) { in getMediaExtractorForMimeType()
DMediaPlayerTest.java1645 int trackIndex = mSubtitleTrackIndex.get(index); in selectSubtitleTrack() local
1646 mMediaPlayer.selectTrack(trackIndex); in selectSubtitleTrack()
1651 int trackIndex = mSubtitleTrackIndex.get(index); in deselectSubtitleTrack() local
1652 mMediaPlayer.deselectTrack(trackIndex); in deselectSubtitleTrack()
1899 int trackIndex = mTimedTextTrackIndex.get(index); in selectTimedTextTrack() local
1900 mMediaPlayer.selectTrack(trackIndex); in selectTimedTextTrack()
1905 int trackIndex = mTimedTextTrackIndex.get(index); in deselectTimedTextTrack() local
1906 mMediaPlayer.deselectTrack(trackIndex); in deselectTimedTextTrack()
DVideoDecoderPerfTest.java121 int trackIndex = extractor.getSampleTrackIndex(); in doDecode() local
122 MediaFormat format = extractor.getTrackFormat(trackIndex); in doDecode()
DMediaPlayer2Test.java1596 int trackIndex = mSubtitleTrackIndex.get(index); in selectSubtitleTrack() local
1597 mPlayer.selectTrack(trackIndex); in selectSubtitleTrack()
1602 int trackIndex = mSubtitleTrackIndex.get(index); in deselectSubtitleTrack() local
1604 mPlayer.deselectTrack(trackIndex); in deselectSubtitleTrack()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DMediaUtils.java636 int trackIndex; in getTrackFormatForExtractor() local
638 for (trackIndex = 0; trackIndex < extractor.getTrackCount(); trackIndex++) { in getTrackFormatForExtractor()
639 MediaFormat trackMediaFormat = extractor.getTrackFormat(trackIndex); in getTrackFormatForExtractor()
664 int trackIndex; in createMediaExtractorForMimeType() local
665 for (trackIndex = 0; trackIndex < extractor.getTrackCount(); trackIndex++) { in createMediaExtractorForMimeType()
666 MediaFormat trackMediaFormat = extractor.getTrackFormat(trackIndex); in createMediaExtractorForMimeType()
668 extractor.selectTrack(trackIndex); in createMediaExtractorForMimeType()
672 if (trackIndex == extractor.getTrackCount()) { in createMediaExtractorForMimeType()
1068 int trackIndex = ex.getSampleTrackIndex(); in verifyDecoder() local
1069 MediaFormat format = ex.getTrackFormat(trackIndex); in verifyDecoder()