Home
last modified time | relevance | path

Searched refs:trackCount (Results 1 – 7 of 7) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DMediaMuxerTest.java719 int trackCount = extractor.getTrackCount(); in cloneMediaUsingMuxer() local
720 assertEquals("wrong number of tracks", expectedTrackCount, trackCount); in cloneMediaUsingMuxer()
727 HashMap<Integer, Integer> indexMap = new HashMap<Integer, Integer>(trackCount); in cloneMediaUsingMuxer()
728 for (int i = 0; i < trackCount; i++) { in cloneMediaUsingMuxer()
900 int trackCount = extractorSrc.getTrackCount(); in verifySamplesMatch() local
906 assertEquals("wrong number of tracks", trackCount, in verifySamplesMatch()
910 for (int i = 0; i < trackCount; i++) { in verifySamplesMatch()
966 int trackCount = extractor.getTrackCount(); in simulateVideoFramesDropIssuesAndMux() local
967 assertEquals("wrong number of tracks", expectedTrackCount, trackCount); in simulateVideoFramesDropIssuesAndMux()
974 HashMap<Integer, Integer> indexMap = new HashMap<Integer, Integer>(trackCount); in simulateVideoFramesDropIssuesAndMux()
[all …]
DMediaExtractorTest.java496 final int trackCount = mExtractor.getTrackCount(); in checkExtractorSamplesAndMetrics() local
498 for (int i = 0; i < trackCount; i++) { in checkExtractorSamplesAndMetrics()
502 for (int i = 0; i < trackCount; i++) { in checkExtractorSamplesAndMetrics()
514 if (tracks != trackCount) { in checkExtractorSamplesAndMetrics()
515 fail("getMetrics() trackCount expect " + trackCount + " got " + tracks); in checkExtractorSamplesAndMetrics()
671 final int trackCount = mExtractor.getTrackCount(); in SKIP_testVideoPresentationTimeStampsMatch() local
672 for (int i = 0; i < trackCount; i++) { in SKIP_testVideoPresentationTimeStampsMatch()
1068 final int trackCount = mExtractor.getTrackCount(); in readAllData() local
1070 for (int i = 0; i < trackCount; i++) { in readAllData()
DMediaCodecClearKeyPlayer.java307 int trackCount = extractor.getTrackCount(); in initCasAndDescrambler() local
308 for (int trackId = 0; trackId < trackCount; trackId++) { in initCasAndDescrambler()
/cts/tests/media/jni/
DNativeMuxerTest.cpp333 size_t trackCount = AMediaMuxer_getTrackCount(muxer); in appendMedia() local
334 ALOGV("appendMedia:trackCount:%zu", trackCount); in appendMedia()
335 for(size_t i = 0; i < trackCount; ++i) { in appendMedia()
365 size_t trackCount = AMediaMuxer_getTrackCount(muxer); in appendMediaFromTime() local
366 ALOGV("appendMediaFromTime:trackCount:%zu", trackCount); in appendMediaFromTime()
367 for(size_t i = 0; i < trackCount; ++i) { in appendMediaFromTime()
950 ssize_t trackCount = AMediaMuxer_getTrackCount(muxer); in nativeTestAppendGetTrackCount() local
951 if ( trackCount != jtrackCount) { in nativeTestAppendGetTrackCount()
954 (long)trackCount, jtrackCount); in nativeTestAppendGetTrackCount()
1114 ssize_t trackCount = AMediaMuxer_getTrackCount(muxer); in nativeTestSimpleAppend() local
[all …]
/cts/tests/tests/mediatranscoding/src/android/media/mediatranscoding/cts/
DMediaTranscodingTestUtil.java192 int trackCount = extractor.getTrackCount(); in decodeMp4ToYuv() local
193 if (trackCount <= 0) { in decodeMp4ToYuv()
197 for (int i = 0; i < trackCount; i++) { in decodeMp4ToYuv()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DSoundPlayerObject.java331 final int trackCount = mExtractor.getTrackCount(); in setSoundWithResId() local
337 for (int i = 0; i < trackCount; i++) { in setSoundWithResId()
/cts/tests/media/src/android/mediav2/cts/
DMuxerTest.java467 public TestApi(int outFormat, String srcFile, int trackCount, String testName) { in TestApi() argument
470 mTrackCount = trackCount; in TestApi()
479 int outFormat, int trackCount); in nativeTestGetTrackCount() argument
1018 public TestSimpleAppend(int outFormat, String srcFile, int trackCount, String testName) { in TestSimpleAppend() argument
1021 mTrackCount = trackCount; in TestSimpleAppend()
1027 private native boolean nativeTestAppendGetTrackCount(String srcPath, int trackCount); in nativeTestAppendGetTrackCount() argument