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()
DMediaCodecCencPlayer.java283 private void addTrack(int trackIndex, MediaFormat format, in addTrack() argument
307 trackIndex, format, codec, true, false, in addTrack()
309 mVideoCodecStates.put(Integer.valueOf(trackIndex), state); in addTrack()
312 trackIndex, format, codec, true, false, in addTrack()
314 mAudioCodecStates.put(Integer.valueOf(trackIndex), state); in addTrack()
DMediaMuxerTest.java246 int trackIndex = extractor.getSampleTrackIndex(); in cloneMediaUsingMuxer() local
248 muxer.writeSampleData(indexMap.get(trackIndex), dstBuf, in cloneMediaUsingMuxer()
257 " TrackIndex:" + trackIndex + in cloneMediaUsingMuxer()
DMediaCodecTest.java1418 int trackIndex; in getMediaExtractorForMimeType() local
1419 for (trackIndex = 0; trackIndex < mediaExtractor.getTrackCount(); trackIndex++) { in getMediaExtractorForMimeType()
1420 MediaFormat trackMediaFormat = mediaExtractor.getTrackFormat(trackIndex); in getMediaExtractorForMimeType()
1422 mediaExtractor.selectTrack(trackIndex); in getMediaExtractorForMimeType()
1426 if (trackIndex == mediaExtractor.getTrackCount()) { in getMediaExtractorForMimeType()
DVideoDecoderPerfTest.java149 int trackIndex = extractor.getSampleTrackIndex(); in doDecode() local
150 MediaFormat format = extractor.getTrackFormat(trackIndex); in doDecode()
DMediaPlayerTest.java1148 int trackIndex = mTimedTextTrackIndex.get(index);
1149 mMediaPlayer.selectTrack(trackIndex);
1154 int trackIndex = mTimedTextTrackIndex.get(index);
1155 mMediaPlayer.deselectTrack(trackIndex);
DDecoderTest.java1413 int trackIndex = extractor.getSampleTrackIndex(); in decodeWithChecks() local
1414 MediaFormat format = extractor.getTrackFormat(trackIndex); in decodeWithChecks()
/cts/libs/deviceutil/src/android/cts/util/
DMediaUtils.java404 int trackIndex; in createMediaExtractorForMimeType() local
405 for (trackIndex = 0; trackIndex < extractor.getTrackCount(); trackIndex++) { in createMediaExtractorForMimeType()
406 MediaFormat trackMediaFormat = extractor.getTrackFormat(trackIndex); in createMediaExtractorForMimeType()
408 extractor.selectTrack(trackIndex); in createMediaExtractorForMimeType()
412 if (trackIndex == extractor.getTrackCount()) { in createMediaExtractorForMimeType()