Home
last modified time | relevance | path

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

12

/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.cpp97 void setupExtractor(AMediaExtractor *extractor, int32_t &trackCount);
178 void StagefrightRecorderTest::setupExtractor(AMediaExtractor *extractor, int32_t &trackCount) { in setupExtractor() argument
196 trackCount = AMediaExtractor_getTrackCount(extractor); in setupExtractor()
197 ALOGV("Number of tracks reported by extractor : %d", trackCount); in setupExtractor()
202 int32_t trackCount = -1; in validateOutput() local
205 ASSERT_NO_FATAL_FAILURE(setupExtractor(extractor, trackCount)); in validateOutput()
206 ASSERT_EQ(trackCount, 1) << "Expected 1 track, saw " << trackCount; in validateOutput()
208 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.cpp53 int32_t trackCount = extractor->initExtractor(fd, fileSize); in TEST_P() local
54 ASSERT_GT(trackCount, 0) << "initExtractor failed"; in TEST_P()
56 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()
DExtractorTest.cpp45 int32_t trackCount = extractObj->initExtractor(fd, fileSize); in TEST_P() local
46 ASSERT_GT(trackCount, 0) << "initExtractor failed"; 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()
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/tests/writer/
DWriterTest.cpp169 void setupExtractor(AMediaExtractor *extractor, string inputFileName, int32_t &trackCount);
330 int32_t &trackCount) { in setupExtractor() argument
346 trackCount = AMediaExtractor_getTrackCount(extractor); in setupExtractor()
347 ASSERT_GT(trackCount, 0) << "No tracks reported by extractor"; in setupExtractor()
348 ALOGV("Number of tracks reported by extractor : %d", trackCount); in setupExtractor()
556 int32_t trackCount = -1; in TEST_P() local
560 ASSERT_NO_FATAL_FAILURE(setupExtractor(extractor, outputFile, trackCount)); in TEST_P()
561 ASSERT_EQ(trackCount, numTracks) in TEST_P()
/frameworks/av/media/libmediatranscoding/transcoder/tests/
DPassthroughTrackTranscoderTests.cpp59 const size_t trackCount = AMediaExtractor_getTrackCount(mExtractor); in initSourceAndExtractor() local
60 for (size_t trackIndex = 0; trackIndex < trackCount; trackIndex++) { in initSourceAndExtractor()
DMediaTranscoderTests.cpp231 const size_t trackCount = sampleReader->getTrackCount(); in verifyOutputFormat() local
232 for (size_t trackIndex = 0; trackIndex < trackCount; ++trackIndex) { in verifyOutputFormat()
DMediaSampleWriterTests.cpp566 size_t trackCount = AMediaExtractor_getTrackCount(extractor); in TEST_F() local
567 EXPECT_EQ(trackCount, mediaSource.mTrackCount); in TEST_F()
569 for (size_t trackIndex = 0; trackIndex < trackCount; trackIndex++) { in TEST_F()
/frameworks/av/media/libmediatranscoding/transcoder/
DMediaTranscoder.cpp270 const size_t trackCount = mSampleReader->getTrackCount(); in configureSource() local
271 for (size_t trackIndex = 0; trackIndex < trackCount; ++trackIndex) { in configureSource()
/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.cpp506 size_t trackCount = mExtractor->mTracks.size(); in seek() local
507 for (size_t index = 0; index < trackCount; ++index) { in seek()
528 unsigned long int trackCount = pTracks->GetTracksCount(); in seek() local
529 for (size_t index = 0; index < trackCount; ++index) { in seek()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DGenericSource.cpp948 size_t trackCount = mSources.size(); in getTrackInfo() local
949 if (trackIndex >= trackCount) { in getTrackInfo()
/frameworks/av/media/libstagefright/
DMPEG4Writer.cpp152 int32_t getMetaSizeIncrease(int32_t angle, int32_t trackCount) const;
4214 int32_t angle, int32_t trackCount) const { in getMetaSizeIncrease()
4248 int32_t propBytes = trackCount > 30 ? 2 : 1; in getMetaSizeIncrease()

12