Home
last modified time | relevance | path

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

/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/libmediaplayer2/nuplayer2/
DRTSPSource2.cpp329 size_t numTracks = mTracks.size(); in checkBuffering() local
333 size_t count = numTracks; in checkBuffering()
339 --numTracks; in checkBuffering()
378 *prepared = (preparedCount == numTracks); in checkBuffering()
380 *overflow = (overflowCount == numTracks); in checkBuffering()
728 size_t numTracks = mHandler->countTracks(); in onConnected() local
729 for (size_t i = 0; i < numTracks; ++i) { in onConnected()
738 CHECK_EQ(numTracks, 1u); in onConnected()
/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/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.cpp1144 size_t numTracks = extractor->countTracks(); in main() local
1149 for (size_t i = 0; i < numTracks; ++i) { in main()
1153 fprintf(stderr, "skip NULL track %zu, track count %zu.\n", i, numTracks); in main()
1181 for (i = 0; i < numTracks; ++i) { in main()
1219 fprintf(stderr, "skip NULL track %zu, total tracks %zu.\n", i, numTracks); in main()
/frameworks/av/media/libstagefright/
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()
DMPEG4Writer.cpp1767 size_t MPEG4Writer::numTracks() { in numTracks() function in android::MPEG4Writer
2468 if (mOwner->isRealTimeRecording() && mOwner->numTracks() > 1) { in start()
2935 const bool hasMultipleTracks = (mOwner->numTracks() > 1); in threadEntry()
/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/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/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/services/audioflinger/
DThreads.cpp6510 const size_t numTracks = mOutputTracks.size(); in dumpInternals_l() local
6511 ss << " " << numTracks << " OutputTracks"; in dumpInternals_l()
6512 if (numTracks > 0) { in dumpInternals_l()