Home
last modified time | relevance | path

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

/frameworks/av/media/extractors/fuzzers/
DExtractorFuzzerBase.cpp59 size_t trackCount = mExtractor->countTracks(); in extractTracks() local
60 for (size_t trackIndex = 0; trackIndex < trackCount; ++trackIndex) { in extractTracks()
99 size_t trackCount = mExtractor->countTracks(); in getTracksMetadata() local
100 for (size_t trackIndex = 0; trackIndex < trackCount; ++trackIndex) { in getTracksMetadata()
122 size_t trackCount = mExtractor->countTracks(); in seekAndExtractTracks() local
123 for (size_t trackIndex = 0; trackIndex < trackCount; ++trackIndex) { in seekAndExtractTracks()
/frameworks/av/media/libmediaplayerservice/tests/stagefrightRecorder/
DStagefrightRecorderTest.cpp93 void setupExtractor(AMediaExtractor *extractor, int32_t &trackCount);
174 void StagefrightRecorderTest::setupExtractor(AMediaExtractor *extractor, int32_t &trackCount) { in setupExtractor() argument
192 trackCount = AMediaExtractor_getTrackCount(extractor); in setupExtractor()
193 ALOGV("Number of tracks reported by extractor : %d", trackCount); in setupExtractor()
198 int32_t trackCount = -1; in validateOutput() local
201 ASSERT_NO_FATAL_FAILURE(setupExtractor(extractor, trackCount)); in validateOutput()
202 ASSERT_EQ(trackCount, 1) << "Expected 1 track, saw " << trackCount; in validateOutput()
204 for (int32_t idx = 0; idx < trackCount; idx++) { in validateOutput()
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/androidTest/java/com/android/media/benchmark/tests/
DDecoderTest.java128 int trackCount = extractor.setUpExtractor(fileDescriptor); in testDecoder() local
129 assertTrue("Extraction failed. No tracks for file: " + mInputFile, (trackCount > 0)); in testDecoder()
132 for (int currentTrack = 0; currentTrack < trackCount; currentTrack++) { in testDecoder()
202 int trackCount = extractor.setUpExtractor(fileDescriptor); in testNativeDecoder() local
203 assertTrue("Extraction failed. No tracks for file: ", trackCount > 0); in testNativeDecoder()
204 for (int currentTrack = 0; currentTrack < trackCount; currentTrack++) { in testNativeDecoder()
DMuxerTest.java122 int trackCount = extractor.setUpExtractor(fileDescriptor); in testMuxer() local
123 for (int currentTrack = 0; currentTrack < trackCount; currentTrack++) { in testMuxer()
DEncoderTest.java177 int trackCount = extractor.setUpExtractor(fileDescriptor); in decodeFile() local
178 assertTrue("Extraction failed. No tracks for the given input file", (trackCount > 0)); in decodeFile()
181 for (int currentTrack = 0; currentTrack < trackCount; currentTrack++) { in decodeFile()
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/cpp/
DNativeDecoder.cpp61 int32_t trackCount = extractor->initExtractor(fd, fileSize); in Java_com_android_media_benchmark_library_Native_Decode() local
62 if (trackCount <= 0) { in Java_com_android_media_benchmark_library_Native_Decode()
66 for (int curTrack = 0; curTrack < trackCount; curTrack++) { in Java_com_android_media_benchmark_library_Native_Decode()
DNativeMuxer.cpp63 int32_t trackCount = extractor->initExtractor(fd, fileSize); in Java_com_android_media_benchmark_library_Native_Mux() local
64 if (trackCount <= 0) { in Java_com_android_media_benchmark_library_Native_Mux()
69 for (int curTrack = 0; curTrack < trackCount; curTrack++) { in Java_com_android_media_benchmark_library_Native_Mux()
DNativeExtractor.cpp43 int32_t trackCount = extractObj->initExtractor((long) fd, fileSize); in Java_com_android_media_benchmark_library_Native_Extract() local
44 if (trackCount <= 0) { in Java_com_android_media_benchmark_library_Native_Extract()
/frameworks/av/media/tests/benchmark/tests/
DDecoderTest.cpp51 int32_t trackCount = extractor->initExtractor(fd, fileSize); in TEST_P() local
52 ASSERT_GT(trackCount, 0) << "initExtractor failed"; in TEST_P()
54 for (int curTrack = 0; curTrack < trackCount; curTrack++) { in TEST_P()
DMuxerTest.cpp74 int32_t trackCount = extractor->initExtractor(fd, fileSize); in TEST_P() local
75 ASSERT_GT(trackCount, 0) << "initExtractor failed"; in TEST_P()
77 for (int curTrack = 0; curTrack < trackCount; curTrack++) { in TEST_P()
DC2DecoderTest.cpp81 int32_t trackCount = extractor->initExtractor(fd, fileSize); in TEST_P() local
82 ASSERT_GT(trackCount, 0) << "initExtractor failed"; in TEST_P()
84 for (int32_t curTrack = 0; curTrack < trackCount; curTrack++) { in TEST_P()
DExtractorTest.cpp43 int32_t trackCount = extractObj->initExtractor(fd, fileSize); in TEST_P() local
44 ASSERT_GT(trackCount, 0) << "initExtractor failed"; in TEST_P()
DC2EncoderTest.cpp84 int32_t trackCount = extractor->initExtractor(fd, fileSize); in TEST_P() local
85 ASSERT_GT(trackCount, 0) << "initExtractor failed"; in TEST_P()
87 for (int curTrack = 0; curTrack < trackCount; curTrack++) { in TEST_P()
DEncoderTest.cpp54 int32_t trackCount = extractor->initExtractor(fd, fileSize); in TEST_P() local
55 ASSERT_GT(trackCount, 0) << "initExtractor failed"; in TEST_P()
60 for (int curTrack = 0; curTrack < trackCount; curTrack++) { in TEST_P()
/frameworks/wilhelm/src/itf/
DIMIDIMuteSolo.cpp117 SLuint16 trackCount = thiz->mTrackCount; in IMIDIMuteSolo_GetTrackCount() local
118 *pCount = trackCount; in IMIDIMuteSolo_GetTrackCount()
/frameworks/av/cmds/stagefright/
Dmuxer.cpp87 size_t trackCount = extractor->countTracks(); in muxing() local
100 for (size_t i = 0; i < trackCount; ++i) { in muxing()
/frameworks/av/media/libstagefright/httplive/
DM3UParser.cpp364 size_t trackCount = 0; in getTrackCount() local
366 trackCount += mMediaGroups.valueAt(i)->countTracks(); in getTrackCount()
368 return trackCount; in getTrackCount()
/frameworks/av/media/extractors/mkv/
DMatroskaExtractor.cpp501 size_t trackCount = mExtractor->mTracks.size(); in seek() local
502 for (size_t index = 0; index < trackCount; ++index) { in seek()
523 unsigned long int trackCount = pTracks->GetTracksCount(); in seek() local
524 for (size_t index = 0; index < trackCount; ++index) { in seek()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DGenericSource.cpp960 size_t trackCount = mSources.size(); in getTrackInfo() local
961 if (trackIndex >= trackCount) { in getTrackInfo()
/frameworks/av/media/libstagefright/
DMPEG4Writer.cpp120 int32_t getMetaSizeIncrease(int32_t angle, int32_t trackCount) const;
3615 int32_t angle, int32_t trackCount) const { in getMetaSizeIncrease()
3649 int32_t propBytes = trackCount > 30 ? 2 : 1; in getMetaSizeIncrease()
/frameworks/av/services/audioflinger/
DThreads.cpp5357 uint32_t trackCount = 0; in trackCountForUid_l() local
5360 trackCount++; in trackCountForUid_l()
5363 return trackCount; in trackCountForUid_l()