Searched refs:trackIndex (Results 1 – 9 of 9) sorted by relevance
/cts/tests/tests/media/src/android/media/cts/ |
D | CodecState.java | 60 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()
|
D | MediaCodecTunneledPlayer.java | 235 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()
|
D | MediaCodecClearKeyPlayer.java | 366 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()
|
D | MediaMuxerTest.java | 335 int trackIndex = extractor.getSampleTrackIndex(); in cloneMediaUsingMuxer() local 337 muxer.writeSampleData(indexMap.get(trackIndex), dstBuf, in cloneMediaUsingMuxer() 346 " TrackIndex:" + trackIndex + in cloneMediaUsingMuxer()
|
D | MediaCodecTest.java | 1719 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()
|
D | MediaPlayerTest.java | 1645 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()
|
D | VideoDecoderPerfTest.java | 121 int trackIndex = extractor.getSampleTrackIndex(); in doDecode() local 122 MediaFormat format = extractor.getTrackFormat(trackIndex); in doDecode()
|
D | MediaPlayer2Test.java | 1596 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/ |
D | MediaUtils.java | 636 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()
|