/frameworks/av/media/libstagefright/writer_fuzzers/ |
D | WriterFuzzerBase.cpp | 27 uint32_t numTracks = 0; in getNumTracks() local 29 numTracks = min(mData[0], kMaxTrackCount); in getNumTracks() 32 return numTracks; in getNumTracks() 227 void WriterFuzzerBase::sendBuffersInterleave(int32_t numTracks, uint8_t numBuffersInterleave) { in sendBuffersInterleave() argument 228 int32_t currentFrameIndex[numTracks], remainingNumFrames[numTracks], numTrackFramesDone; in sendBuffersInterleave() 229 for (int32_t idx = 0; idx < numTracks; ++idx) { in sendBuffersInterleave() 234 numTrackFramesDone = numTracks; in sendBuffersInterleave() 235 for (int32_t idx = 0; idx < numTracks; ++idx) { in sendBuffersInterleave() 246 } while (numTrackFramesDone < numTracks); in sendBuffersInterleave()
|
/frameworks/av/media/extractors/tests/ |
D | ExtractorUnitTest.cpp | 389 int32_t numTracks = mExtractor->countTracks(); in TEST_P() local 390 ASSERT_EQ(numTracks, mNumTracks) in TEST_P() 412 int32_t numTracks = mExtractor->countTracks(); in TEST_P() local 413 ASSERT_EQ(numTracks, mNumTracks) in TEST_P() 416 for (int32_t idx = 0; idx < numTracks; idx++) { in TEST_P() 463 int32_t numTracks = mExtractor->countTracks(); in TEST_P() local 464 ASSERT_EQ(numTracks, mNumTracks) in TEST_P() 472 for (int32_t idx = 0; idx < numTracks; idx++) { in TEST_P() 541 int32_t numTracks = mExtractor->countTracks(); in TEST_P() local 542 ASSERT_EQ(numTracks, mNumTracks) in TEST_P() [all …]
|
/frameworks/av/media/libstagefright/tests/ESDS/ |
D | ESDSTest.cpp | 98 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/ |
D | IMediaExtractor.cpp | 58 size_t numTracks = 0; in countTracks() local 60 numTracks = reply.readUint32(); in countTracks() 62 return numTracks; in countTracks() 175 size_t numTracks = countTracks(); in onTransact() local 176 if (numTracks > INT32_MAX) { in onTransact() 177 numTracks = 0; in onTransact() 179 reply->writeUint32(uint32_t(numTracks)); in onTransact()
|
/frameworks/av/media/libstagefright/tests/writer/ |
D | WriterTest.cpp | 499 int32_t numTracks = 1; in TEST_P() local 501 numTracks++; in TEST_P() 504 size_t fileSize[numTracks]; in TEST_P() 505 configFormat param[numTracks]; in TEST_P() 506 for (int32_t idx = 0; idx < numTracks; idx++) { in TEST_P() 532 for (int32_t idx = 0; idx < numTracks; idx++) { in TEST_P() 554 configFormat extractorParams[numTracks]; in TEST_P() 555 vector<BufferInfo> extractorBufferInfo[numTracks]; in TEST_P() 561 ASSERT_EQ(trackCount, numTracks) in TEST_P() 564 for (int32_t idx = 0; idx < numTracks; idx++) { in TEST_P() [all …]
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | RTSPSource.cpp | 337 size_t numTracks = mTracks.size(); in checkBuffering() local 341 size_t count = numTracks; in checkBuffering() 347 --numTracks; in checkBuffering() 386 *prepared = (preparedCount == numTracks); in checkBuffering() 388 *overflow = (overflowCount == numTracks); in checkBuffering() 736 size_t numTracks = mHandler->countTracks(); in onConnected() local 737 for (size_t i = 0; i < numTracks; ++i) { in onConnected() 746 CHECK_EQ(numTracks, 1u); in onConnected()
|
/frameworks/av/media/libstagefright/webm/ |
D | WebmWriter.cpp | 220 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()
|
D | WebmFrameThread.cpp | 270 int numTracks, in WebmFrameMediaSourceThread() argument 278 if (realTimeRecording && numTracks > 1) { in WebmFrameMediaSourceThread()
|
/frameworks/av/media/libstagefright/tests/extractorFactory/ |
D | ExtractorFactoryTest.cpp | 121 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/ |
D | stream.cpp | 177 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()
|
D | stagefright.cpp | 1202 size_t numTracks = extractor->countTracks(); in main() local 1207 for (size_t i = 0; i < numTracks; ++i) { in main() 1211 fprintf(stderr, "skip NULL track %zu, track count %zu.\n", i, numTracks); in main() 1239 for (i = 0; i < numTracks; ++i) { in main() 1277 fprintf(stderr, "skip NULL track %zu, total tracks %zu.\n", i, numTracks); in main()
|
/frameworks/av/media/libmediaplayerservice/ |
D | StagefrightMetadataRetriever.cpp | 568 size_t numTracks = mExtractor->countTracks(); in parseMetaData() local 571 sprintf(tmp, "%zu", numTracks); in parseMetaData() 615 for (size_t i = 0; i < numTracks; ++i) { in parseMetaData() 751 if (numTracks == 1 && hasAudio && audioBitrate >= 0) { in parseMetaData() 764 if (numTracks == 1) { in parseMetaData()
|
/frameworks/base/media/jni/soundpool/ |
D | Sound.cpp | 63 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/ |
D | codec2.cpp | 448 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/av/media/libstagefright/webm/include/webm/ |
D | WebmWriter.h | 117 size_t numTracks();
|
/frameworks/av/media/libstagefright/writer_fuzzers/include/ |
D | WriterFuzzerBase.h | 151 void sendBuffersInterleave(int32_t numTracks, uint8_t numBuffersInterleave);
|
/frameworks/base/media/java/android/media/ |
D | MediaExtractor.java | 422 int numTracks = getTrackCount(); in getDrmInitData() 423 for (int i = 0; i < numTracks; ++i) { in getDrmInitData()
|
/frameworks/av/media/extractors/wav/ |
D | WAVExtractor.cpp | 608 int numTracks = extractor->countTracks(); in Sniff() local 610 if (numTracks == 0) { in Sniff()
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | MPEG4Writer.h | 158 size_t numTracks();
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
D | Camera2RecordingTest.java | 949 int numTracks = extractor.getTrackCount(); in validateRecording() local 951 for (int i = 0; i < numTracks; i++) { in validateRecording()
|
/frameworks/av/media/libstagefright/ |
D | MPEG4Writer.cpp | 1993 (approxTrackHeadersSize * numTracks()); in preAllocate() 2149 size_t MPEG4Writer::numTracks() { in numTracks() function in android::MPEG4Writer 2928 if (mOwner->isRealTimeRecording() && mOwner->numTracks() > 1) { in start() 3437 const bool hasMultipleTracks = (mOwner->numTracks() > 1); in threadEntry()
|
/frameworks/av/services/audioflinger/ |
D | Threads.cpp | 7173 const size_t numTracks = mOutputTracks.size(); in dumpInternals_l() local 7174 ss << " " << numTracks << " OutputTracks"; in dumpInternals_l() 7175 if (numTracks > 0) { in dumpInternals_l()
|