Home
last modified time | relevance | path

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

/cts/tests/tests/media/muxer/src/android/media/muxer/cts/
DMediaMuxerTest.java734 int trackCount = extractor.getTrackCount(); in cloneMediaUsingMuxer() local
735 assertEquals("wrong number of tracks", expectedTrackCount, trackCount); in cloneMediaUsingMuxer()
742 HashMap<Integer, Integer> indexMap = new HashMap<Integer, Integer>(trackCount); in cloneMediaUsingMuxer()
743 for (int i = 0; i < trackCount; i++) { in cloneMediaUsingMuxer()
831 for (int i = 0; i < trackCount; i++) { in cloneMediaUsingMuxer()
940 int trackCount = extractorSrc.getTrackCount(); in verifySamplesMatch() local
946 assertEquals("wrong number of tracks", trackCount, in verifySamplesMatch()
950 for (int i = 0; i < trackCount; i++) { in verifySamplesMatch()
1006 int trackCount = extractor.getTrackCount(); in simulateVideoFramesDropIssuesAndMux() local
1007 assertEquals("wrong number of tracks", expectedTrackCount, trackCount); in simulateVideoFramesDropIssuesAndMux()
[all …]
/cts/tests/media/jni/
DNativeMuxerTest.cpp332 size_t trackCount = AMediaMuxer_getTrackCount(muxer); in appendMedia() local
333 ALOGV("appendMedia:trackCount:%zu", trackCount); in appendMedia()
334 for(size_t i = 0; i < trackCount; ++i) { in appendMedia()
364 size_t trackCount = AMediaMuxer_getTrackCount(muxer); in appendMediaFromTime() local
365 ALOGV("appendMediaFromTime:trackCount:%zu", trackCount); in appendMediaFromTime()
366 for(size_t i = 0; i < trackCount; ++i) { in appendMediaFromTime()
963 ssize_t trackCount = AMediaMuxer_getTrackCount(muxer); in nativeTestAppendGetTrackCount() local
964 if ( trackCount != jtrackCount) { in nativeTestAppendGetTrackCount()
967 (long)trackCount, jtrackCount); in nativeTestAppendGetTrackCount()
1127 ssize_t trackCount = AMediaMuxer_getTrackCount(muxer); in nativeTestSimpleAppend() local
[all …]
/cts/tests/tests/media/extractor/src/android/media/extractor/cts/
DMediaExtractorTest.java428 final int trackCount = mExtractor.getTrackCount(); in checkExtractorSamplesAndMetrics() local
430 for (int i = 0; i < trackCount; i++) { in checkExtractorSamplesAndMetrics()
434 for (int i = 0; i < trackCount; i++) { in checkExtractorSamplesAndMetrics()
446 if (tracks != trackCount) { in checkExtractorSamplesAndMetrics()
447 fail("getMetrics() trackCount expect " + trackCount + " got " + tracks); in checkExtractorSamplesAndMetrics()
854 final int trackCount = mExtractor.getTrackCount(); in readAllData() local
856 for (int i = 0; i < trackCount; i++) { in readAllData()
/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/tests/media/src/android/mediav2/cts/
DMuxerTest.java448 public TestApi(int outFormat, String srcFile, int trackCount, String testName) { in TestApi() argument
451 mTrackCount = trackCount; in TestApi()
460 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
/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/tests/media/common/src/android/media/cts/
DMediaCodecClearKeyPlayer.java306 int trackCount = extractor.getTrackCount(); in initCasAndDescrambler() local
307 for (int trackId = 0; trackId < trackCount; trackId++) { in initCasAndDescrambler()