Home
last modified time | relevance | path

Searched refs:mTracks (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/av/media/libstagefright/rtsp/
DARTPSession.cpp80 mTracks.push(TrackInfo()); in setup()
81 TrackInfo *info = &mTracks.editItemAt(mTracks.size() - 1); in setup()
86 notify->setSize("track-index", mTracks.size() - 1); in setup()
116 for (size_t i = 0; i < mTracks.size(); ++i) { in ~ARTPSession()
117 TrackInfo *info = &mTracks.editItemAt(i); in ~ARTPSession()
143 TrackInfo *info = &mTracks.editItemAt(trackIndex); in onMessageReceived()
186 TrackInfo *info = &mTracks.editItemAt(trackIndex); in onMessageReceived()
234 return mTracks.size(); in countTracks()
238 CHECK_LT(index, mTracks.size()); in trackAt()
239 return mTracks.editItemAt(index).mPacketSource; in trackAt()
DASessionDescription.cpp41 mTracks.clear(); in setTo()
49 mTracks.clear(); in parse()
52 mTracks.push(Attribs()); in parse()
125 mTracks.editItemAt(mTracks.size() - 1).add(key, value); in parse()
134 mTracks.push(Attribs()); in parse()
153 mTracks.editItemAt(mTracks.size() - 1).add(key, value); in parse()
169 return mTracks.size(); in countTracks()
174 CHECK_LT(index, mTracks.size()); in getFormat()
182 CHECK_LT(index, mTracks.size()); in findAttribute()
186 const Attribs &track = mTracks.itemAt(index); in findAttribute()
DMyHandler.h670 track = &mTracks.editItemAt(trackIndex); in onMessageReceived()
773 mTracks.removeItemsAt(trackIndex); in onMessageReceived()
880 for (size_t i = 0; i < mTracks.size(); ++i) { in onMessageReceived()
881 TrackInfo *info = &mTracks.editItemAt(i); in onMessageReceived()
902 mTracks.clear(); in onMessageReceived()
1037 if (trackIndex >= mTracks.size()) { in onMessageReceived()
1042 TrackInfo *track = &mTracks.editItemAt(trackIndex); in onMessageReceived()
1248 for (size_t i = 0; i < mTracks.size(); ++i) { in onMessageReceived()
1249 TrackInfo *info = &mTracks.editItemAt(i); in onMessageReceived()
1289 if (mTracks.size() == 0) { in onMessageReceived()
[all …]
DARTPSession.h59 Vector<TrackInfo> mTracks; member
DASessionDescription.h73 Vector<Attribs> mTracks; member
/frameworks/base/media/java/android/media/
DSubtitleController.java41 private Vector<SubtitleTrack> mTracks; field in SubtitleController
106 mTracks = new Vector<SubtitleTrack>(); in SubtitleController()
124 synchronized(mTracks) { in getTracks()
125 SubtitleTrack[] tracks = new SubtitleTrack[mTracks.size()]; in getTracks()
126 mTracks.toArray(tracks); in getTracks()
157 if (track != null && !mTracks.contains(track)) { in selectTrack()
225 synchronized(mTracks) { in getDefaultTrack()
226 for (SubtitleTrack track: mTracks) { in getDefaultTrack()
311 mTracks.clear(); in reset()
331 synchronized(mTracks) { in addTrack()
[all …]
/frameworks/av/media/extractors/mpeg2/
DMPEG2PSExtractor.cpp111 for (size_t i = mTracks.size(); i > 0;) { in MPEG2PSExtractor()
113 Track *track = mTracks.valueAt(i); in MPEG2PSExtractor()
115 mTracks.removeItemsAt(i); in MPEG2PSExtractor()
126 for (size_t i = mTracks.size(); i > 0;) { in ~MPEG2PSExtractor()
128 delete mTracks.valueAt(i); in ~MPEG2PSExtractor()
133 return mTracks.size(); in countTracks()
137 if (index >= mTracks.size()) { in getTrack()
141 return new WrappedTrack(this, mTracks.valueAt(index)); in getTrack()
147 if (index >= mTracks.size()) { in getTrackMetaData()
151 return mTracks.valueAt(index)->getFormat(meta); in getTrackMetaData()
[all …]
DMPEG2PSExtractor.h60 KeyedVector<unsigned, Track* > mTracks; member
/frameworks/av/media/libaudioprocessing/
DAudioMixerBase.cpp154 mTracks[name] = t; in create()
164 const std::shared_ptr<TrackBase> &track = mTracks[name]; in setChannelMasks()
189 if (mTracks[name]->enabled) { in destroy()
192 mTracks.erase(name); // deallocate track in destroy()
198 const std::shared_ptr<TrackBase> &track = mTracks[name]; in enable()
210 const std::shared_ptr<TrackBase> &track = mTracks[name]; in disable()
348 const std::shared_ptr<TrackBase> &track = mTracks[name]; in setParameter()
585 const auto it = mTracks.find(name); in getUnreleasedFrames()
586 if (it != mTracks.end()) { in getUnreleasedFrames()
595 for (const auto &pair : mTracks) { in trackNames()
[all …]
/frameworks/av/media/libmediaplayerservice/nuplayer/
DRTSPSource.cpp330 size_t numTracks = mTracks.size(); in checkBuffering()
337 TrackInfo *info = &mTracks.editItemAt(i); in checkBuffering()
586 CHECK_LT(trackIndex, mTracks.size()); in onMessageReceived()
626 TrackInfo *info = &mTracks.editItemAt(trackIndex); in onMessageReceived()
666 CHECK_LT(trackIndex, mTracks.size()); in onMessageReceived()
668 TrackInfo *info = &mTracks.editItemAt(trackIndex); in onMessageReceived()
681 CHECK_LT(trackIndex, mTracks.size()); in onMessageReceived()
683 TrackInfo *info = &mTracks.editItemAt(trackIndex); in onMessageReceived()
699 CHECK_LT(trackIndex, mTracks.size()); in onMessageReceived()
707 TrackInfo *info = &mTracks.editItemAt(trackIndex); in onMessageReceived()
[all …]
DNuPlayerCCDecoder.cpp134 return mTracks.size(); in getTrackCount()
144 CCTrack track = mTracks[index]; in getTrackInfo()
205 CCTrack track = mTracks[mSelectedTrack]; in getSelectedTrack()
430 if (isSelected() && mTracks[mSelectedTrack].mTrackType == kTrackTypeCEA608 in parseMPEGCCData()
431 && mTracks[mSelectedTrack].mTrackChannel == mLine21Channels[cc_type]) { in parseMPEGCCData()
451 if (isSelected() && mTracks[mSelectedTrack].mTrackType == kTrackTypeCEA608 in parseMPEGCCData()
521 index = mTracks.size(); in getTrackIndex()
523 mTracks.add(track); in getTrackIndex()
DNuPlayerCCDecoder.h70 Vector<CCTrack> mTracks; member
DRTSPSource.h119 Vector<TrackInfo> mTracks; member
/frameworks/av/media/extractors/mkv/
DMatroskaExtractor.cpp240 mExtractor->mTracks.itemAt(index).mTrackNum, in MatroskaSource()
245 MatroskaExtractor::TrackInfo &trackInfo = mExtractor->mTracks.editItemAt(index); in MatroskaSource()
315 return AMediaFormat_copy(meta, mExtractor->mTracks.itemAt(mTrackIndex).mMeta); in getFormat()
501 size_t trackCount = mExtractor->mTracks.size(); in seek()
503 MatroskaExtractor::TrackInfo& track = mExtractor->mTracks.editItemAt(index); in seek()
519 MatroskaExtractor::TrackInfo& track = mExtractor->mTracks.editItemAt(mIndex); in seek()
665 AMediaFormat *trackMeta = mExtractor->mTracks.itemAt(mTrackIndex).mMeta; in setWebmBlockCryptoInfo()
788 MatroskaExtractor::TrackInfo *trackInfo = &mExtractor->mTracks.editItemAt(mTrackIndex); in readBlock()
1433 for (size_t i = 0; i < mTracks.size(); ++i) { in ~MatroskaExtractor()
1434 TrackInfo *info = &mTracks.editItemAt(i); in ~MatroskaExtractor()
[all …]
DMatroskaExtractor.h85 Vector<TrackInfo> mTracks; member
/frameworks/av/media/libstagefright/
DMPEG4Writer.cpp464 while (!mTracks.empty()) { in ~MPEG4Writer()
465 List<Track *>::iterator it = mTracks.begin(); in ~MPEG4Writer()
468 mTracks.erase(it); in ~MPEG4Writer()
470 mTracks.clear(); in ~MPEG4Writer()
533 for (List<Track *>::iterator it = mTracks.begin(); in initInternal()
534 it != mTracks.end(); ++it) { in initInternal()
549 for (List<Track *>::iterator it = mTracks.begin(); in dump()
550 it != mTracks.end(); ++it) { in dump()
627 Track *track = new Track(this, source, 1 + mTracks.size()); in addSource()
628 mTracks.push_back(track); in addSource()
[all …]
/frameworks/av/services/audioflinger/
DThreads.h884 return ThreadBase::hasAudioSession_l(sessionId, mTracks); in hasAudioSession_l()
917 && mTracks.size() < PlaybackThread::kMaxTracks; in isTrackAllowed_l()
1070 const ssize_t index = mTracks.add(track); in add()
1076 return mTracks.size(); in size()
1079 return mTracks.isEmpty(); in isEmpty()
1082 return mTracks.indexOf(item); in indexOf()
1085 return mTracks[index];
1088 return mTracks.begin(); in begin()
1091 return mTracks.end(); in end()
1108 SortedVector<sp<T>> mTracks; // wrapped SortedVector. variable
[all …]
DThreads.cpp1812 mTracks(type == MIXER), in PlaybackThread()
1925 size_t numtracks = mTracks.size(); in dumpTracks_l()
1933 mTracks[0]->appendDumpHeader(result); in dumpTracks_l()
1935 sp<Track> track = mTracks[i]; in dumpTracks_l()
1956 if (mTracks.indexOf(track) < 0) { in dumpTracks_l()
2282 for (size_t i = 0; i < mTracks.size(); ++i) { in createTrack_l()
2283 sp<Track> t = mTracks[i]; in createTrack_l()
2306 mTracks.add(track); in createTrack_l()
2335 const ssize_t index = mTracks.remove(track); in remove()
2530 mTracks.remove(track); in removeTrack_l()
[all …]
DFastMixerDumpState.h78 FastTrackDump mTracks[FastMixerState::kMaxFastTracks]; member
DFastMixerDumpState.cpp180 const FastTrackDump *ftDump = &mTracks[i]; in dump()
DFastMixer.cpp420 FastTrackDump *ftDump = &dumpState->mTracks[i]; in onWork()
/frameworks/wilhelm/src/itf/
DIOutputMixExt.cpp87 unsigned i = track - outputMix->mOutputMixExt.mTracks; in track_check()
200 Track *track = &thiz->mTracks[i]; in IOutputMixExt_FillBuffer()
344 Track *track = &thiz->mTracks[0]; in IOutputMixExt_init()
401 track = &omExt->mTracks[i]; in IOutputMixExt_checkAudioPlayerSourceSink()
/frameworks/av/media/libaudioprocessing/include/media/
DAudioMixerBase.h117 return mTracks.count(name) > 0; in exists()
354 std::map<int /* name */, std::shared_ptr<TrackBase>> mTracks; variable
/frameworks/av/media/libaudioclient/include/media/
DAudioMixer.h218 return std::static_pointer_cast<Track>(mTracks[name]); in getTrack()
/frameworks/av/media/libstagefright/include/media/stagefright/
DMPEG4Writer.h121 List<Track *> mTracks;

12