Home
last modified time | relevance | path

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

/frameworks/av/media/extractors/tests/
DExtractorUnitTest.cpp374 int32_t numTracks = mExtractor->countTracks(); in TEST_P() local
375 ASSERT_EQ(numTracks, mNumTracks) in TEST_P()
397 int32_t numTracks = mExtractor->countTracks(); in TEST_P() local
398 ASSERT_EQ(numTracks, mNumTracks) in TEST_P()
401 for (int32_t idx = 0; idx < numTracks; idx++) { in TEST_P()
448 int32_t numTracks = mExtractor->countTracks(); in TEST_P() local
449 ASSERT_EQ(numTracks, mNumTracks) in TEST_P()
457 for (int32_t idx = 0; idx < numTracks; idx++) { in TEST_P()
524 int32_t numTracks = mExtractor->countTracks(); in TEST_P() local
525 ASSERT_EQ(numTracks, mNumTracks) in TEST_P()
[all …]
/frameworks/av/media/libstagefright/tests/ESDS/
DESDSTest.cpp98 size_t numTracks = extractor->countTracks(); in readESDSData() local
99 ASSERT_GT(numTracks, 0) << "No tracks in file: " << inputFile; in readESDSData()
100 ASSERT_TRUE(esdsDataPresent(numTracks, extractor)) in readESDSData()
104 bool esdsDataPresent(size_t numTracks, sp<IMediaExtractor> extractor) { in esdsDataPresent() argument
107 for (size_t i = 0; i < numTracks; ++i) { in esdsDataPresent()
/frameworks/av/media/libmedia/
DIMediaExtractor.cpp56 size_t numTracks = 0; in countTracks() local
58 numTracks = reply.readUint32(); in countTracks()
60 return numTracks; in countTracks()
146 size_t numTracks = countTracks(); in onTransact() local
147 if (numTracks > INT32_MAX) { in onTransact()
148 numTracks = 0; in onTransact()
150 reply->writeUint32(uint32_t(numTracks)); in onTransact()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DRTSPSource.cpp330 size_t numTracks = mTracks.size(); in checkBuffering() local
334 size_t count = numTracks; in checkBuffering()
340 --numTracks; in checkBuffering()
379 *prepared = (preparedCount == numTracks); in checkBuffering()
381 *overflow = (overflowCount == numTracks); in checkBuffering()
729 size_t numTracks = mHandler->countTracks(); in onConnected() local
730 for (size_t i = 0; i < numTracks; ++i) { in onConnected()
739 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/writer/
DWriterTest.cpp349 int32_t numTracks = 1; in TEST_P() local
351 numTracks++; in TEST_P()
353 for (int32_t idx = 0; idx < numTracks; idx++) { in TEST_P()
375 for (int32_t idx = 0; idx < numTracks; idx++) { in TEST_P()
556 int32_t numTracks = 1; in TEST_P() local
558 numTracks++; in TEST_P()
560 for (int32_t idx = 0; idx < numTracks; idx++) { in TEST_P()
610 for (int32_t idx = 0; idx < numTracks; idx++) { 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.cpp505 size_t numTracks = mExtractor->countTracks(); in parseMetaData() local
508 sprintf(tmp, "%zu", numTracks); in parseMetaData()
543 for (size_t i = 0; i < numTracks; ++i) { in parseMetaData()
666 if (numTracks == 1 && hasAudio && audioBitrate >= 0) { in parseMetaData()
679 if (numTracks == 1) { in parseMetaData()
/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.java409 int numTracks = getTrackCount(); in getDrmInitData()
410 for (int i = 0; i < numTracks; ++i) { in getDrmInitData()
/frameworks/av/media/extractors/wav/
DWAVExtractor.cpp603 int numTracks = extractor->countTracks(); in Sniff() local
605 if (numTracks == 0) { in Sniff()
/frameworks/av/media/libstagefright/include/media/stagefright/
DMPEG4Writer.h131 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/base/media/jni/soundpool/
DSoundPool.cpp530 size_t numTracks = AMediaExtractor_getTrackCount(ex); in decode() local
531 for (size_t i = 0; i < numTracks; i++) { in decode()
/frameworks/av/media/libstagefright/
DMPEG4Writer.cpp1773 size_t MPEG4Writer::numTracks() { in numTracks() function in android::MPEG4Writer
2474 if (mOwner->isRealTimeRecording() && mOwner->numTracks() > 1) { in start()
2941 const bool hasMultipleTracks = (mOwner->numTracks() > 1); in threadEntry()
/frameworks/av/services/audioflinger/
DThreads.cpp6561 const size_t numTracks = mOutputTracks.size(); in dumpInternals_l() local
6562 ss << " " << numTracks << " OutputTracks"; in dumpInternals_l()
6563 if (numTracks > 0) { in dumpInternals_l()