Home
last modified time | relevance | path

Searched refs:numTracks (Results 1 – 18 of 18) sorted by relevance

/frameworks/av/media/extractors/tests/
DExtractorUnitTest.cpp227 int32_t numTracks = mExtractor->countTracks(); in TEST_P() local
228 ASSERT_GT(numTracks, 0) << "Extractor didn't find any track for the given clip"; in TEST_P()
230 for (int32_t idx = 0; idx < numTracks; idx++) { in TEST_P()
277 int32_t numTracks = mExtractor->countTracks(); in TEST_P() local
278 ASSERT_GT(numTracks, 0) << "Extractor didn't find any track for the given clip"; in TEST_P()
285 for (int32_t idx = 0; idx < numTracks; idx++) { in TEST_P()
352 int32_t numTracks = mExtractor->countTracks(); in TEST_P() local
353 ASSERT_GT(numTracks, 0) << "Extractor didn't find any track for the given clip"; in TEST_P()
357 for (int32_t idx = 0; idx < numTracks; idx++) { in TEST_P()
396 int32_t numTracks = mExtractor->countTracks(); in TEST_P() local
[all …]
/frameworks/av/media/libmedia/
DIMediaExtractor.cpp56 size_t numTracks = 0; in countTracks() local
58 numTracks = reply.readUint32(); in countTracks()
60 return numTracks; in countTracks()
159 size_t numTracks = countTracks(); in onTransact() local
160 if (numTracks > INT32_MAX) { in onTransact()
161 numTracks = 0; in onTransact()
163 reply->writeUint32(uint32_t(numTracks)); in onTransact()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DRTSPSource.cpp334 size_t numTracks = mTracks.size(); in checkBuffering() local
338 size_t count = numTracks; in checkBuffering()
344 --numTracks; in checkBuffering()
383 *prepared = (preparedCount == numTracks); in checkBuffering()
385 *overflow = (overflowCount == numTracks); in checkBuffering()
733 size_t numTracks = mHandler->countTracks(); in onConnected() local
734 for (size_t i = 0; i < numTracks; ++i) { in onConnected()
743 CHECK_EQ(numTracks, 1u); in onConnected()
/frameworks/av/media/libstagefright/webm/
DWebmWriter.cpp220 size_t WebmWriter::numTracks() { in numTracks() function in android::WebmWriter
223 size_t numTracks = 0; in numTracks() local
226 numTracks++; in numTracks()
230 return numTracks; in numTracks()
308 numTracks(), in initStream()
359 if (numTracks() > 1) { in reset()
DWebmWriter.h117 size_t numTracks();
DWebmFrameThread.cpp270 int numTracks, in WebmFrameMediaSourceThread() argument
278 if (realTimeRecording && numTracks > 1) { in WebmFrameMediaSourceThread()
/frameworks/av/media/libstagefright/tests/extractorFactory/
DExtractorFactoryTest.cpp121 int32_t numTracks = mExtractor->countTracks(); in TEST_P() local
122 ASSERT_GT(numTracks, 0) << "Extractor didn't find any track for the given clip"; in TEST_P()
/frameworks/av/cmds/stagefright/
Dstream.cpp177 size_t numTracks = extractor->countTracks(); in MyConvertingStreamSource() local
178 for (size_t i = 0; i < numTracks; ++i) { in MyConvertingStreamSource()
190 fprintf(stderr, "skip NULL track %zu, total tracks %zu\n", i, numTracks); in MyConvertingStreamSource()
Dstagefright.cpp1143 size_t numTracks = extractor->countTracks(); in main() local
1148 for (size_t i = 0; i < numTracks; ++i) { in main()
1152 fprintf(stderr, "skip NULL track %zu, track count %zu.\n", i, numTracks); in main()
1180 for (i = 0; i < numTracks; ++i) { in main()
1218 fprintf(stderr, "skip NULL track %zu, total tracks %zu.\n", i, numTracks); in main()
/frameworks/av/media/libmediaplayerservice/
DStagefrightMetadataRetriever.cpp504 size_t numTracks = mExtractor->countTracks(); in parseMetaData() local
507 sprintf(tmp, "%zu", numTracks); in parseMetaData()
542 for (size_t i = 0; i < numTracks; ++i) { in parseMetaData()
665 if (numTracks == 1 && hasAudio && audioBitrate >= 0) { in parseMetaData()
678 if (numTracks == 1) { in parseMetaData()
/frameworks/base/media/jni/soundpool/
DSound.cpp63 const size_t numTracks = AMediaExtractor_getTrackCount(ex.get()); in decode() local
64 for (size_t i = 0; i < numTracks; i++) { in decode()
/frameworks/av/media/codec2/components/cmds/
Dcodec2.cpp448 size_t numTracks = extractor->countTracks(); in main() local
451 for (i = 0; i < numTracks; ++i) { in main()
475 fprintf(stderr, "skip NULL track %zu, total tracks %zu.\n", i, numTracks); in main()
/frameworks/base/media/java/android/media/
DMediaExtractor.java422 int numTracks = getTrackCount(); in getDrmInitData()
423 for (int i = 0; i < numTracks; ++i) { in getDrmInitData()
/frameworks/av/media/extractors/wav/
DWAVExtractor.cpp605 int numTracks = extractor->countTracks(); in Sniff() local
607 if (numTracks == 0) { in Sniff()
/frameworks/av/media/libstagefright/include/media/stagefright/
DMPEG4Writer.h153 size_t numTracks();
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DCamera2RecordingTest.java949 int numTracks = extractor.getTrackCount(); in validateRecording() local
951 for (int i = 0; i < numTracks; i++) { in validateRecording()
/frameworks/av/media/libstagefright/
DMPEG4Writer.cpp1868 (approxTrackHeadersSize * numTracks()); in preAllocate()
2024 size_t MPEG4Writer::numTracks() { in numTracks() function in android::MPEG4Writer
2787 if (mOwner->isRealTimeRecording() && mOwner->numTracks() > 1) { in start()
3262 const bool hasMultipleTracks = (mOwner->numTracks() > 1); in threadEntry()
/frameworks/av/services/audioflinger/
DThreads.cpp6716 const size_t numTracks = mOutputTracks.size(); in dumpInternals_l() local
6717 ss << " " << numTracks << " OutputTracks"; in dumpInternals_l()
6718 if (numTracks > 0) { in dumpInternals_l()