Home
last modified time | relevance | path

Searched refs:mTracks (Results 1 – 25 of 27) 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()
159 mTracks.editItemAt(mTracks.size() - 1).add(key, value); in parse()
175 return mTracks.size(); in countTracks()
180 CHECK_LT(index, mTracks.size()); in getFormat()
188 CHECK_LT(index, mTracks.size()); in findAttribute()
192 const Attribs &track = mTracks.itemAt(index); in findAttribute()
DMyHandler.h674 track = &mTracks.editItemAt(trackIndex); in onMessageReceived()
777 mTracks.removeItemsAt(trackIndex); in onMessageReceived()
884 for (size_t i = 0; i < mTracks.size(); ++i) { in onMessageReceived()
885 TrackInfo *info = &mTracks.editItemAt(i); in onMessageReceived()
906 mTracks.clear(); in onMessageReceived()
1041 if (trackIndex >= mTracks.size()) { in onMessageReceived()
1046 TrackInfo *track = &mTracks.editItemAt(trackIndex); in onMessageReceived()
1252 for (size_t i = 0; i < mTracks.size(); ++i) { in onMessageReceived()
1253 TrackInfo *info = &mTracks.editItemAt(i); in onMessageReceived()
1293 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/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.cpp334 size_t numTracks = mTracks.size(); in checkBuffering()
341 TrackInfo *info = &mTracks.editItemAt(i); in checkBuffering()
590 CHECK_LT(trackIndex, mTracks.size()); in onMessageReceived()
630 TrackInfo *info = &mTracks.editItemAt(trackIndex); in onMessageReceived()
670 CHECK_LT(trackIndex, mTracks.size()); in onMessageReceived()
672 TrackInfo *info = &mTracks.editItemAt(trackIndex); in onMessageReceived()
685 CHECK_LT(trackIndex, mTracks.size()); in onMessageReceived()
687 TrackInfo *info = &mTracks.editItemAt(trackIndex); in onMessageReceived()
703 CHECK_LT(trackIndex, mTracks.size()); in onMessageReceived()
711 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()
506 size_t trackCount = mExtractor->mTracks.size(); in seek()
508 MatroskaExtractor::TrackInfo& track = mExtractor->mTracks.editItemAt(index); in seek()
524 MatroskaExtractor::TrackInfo& track = mExtractor->mTracks.editItemAt(mIndex); in seek()
670 AMediaFormat *trackMeta = mExtractor->mTracks.itemAt(mTrackIndex).mMeta; in setWebmBlockCryptoInfo()
793 MatroskaExtractor::TrackInfo *trackInfo = &mExtractor->mTracks.editItemAt(mTrackIndex); in readBlock()
1442 for (size_t i = 0; i < mTracks.size(); ++i) { in ~MatroskaExtractor()
1443 TrackInfo *info = &mTracks.editItemAt(i); in ~MatroskaExtractor()
[all …]
DMatroskaExtractor.h85 Vector<TrackInfo> mTracks; member
/frameworks/av/media/libstagefright/
DMPEG4Writer.cpp492 while (!mTracks.empty()) { in ~MPEG4Writer()
493 List<Track *>::iterator it = mTracks.begin(); in ~MPEG4Writer()
496 mTracks.erase(it); in ~MPEG4Writer()
498 mTracks.clear(); in ~MPEG4Writer()
577 for (List<Track *>::iterator it = mTracks.begin(); in initInternal()
578 it != mTracks.end(); ++it) { in initInternal()
593 for (List<Track *>::iterator it = mTracks.begin(); in dump()
594 it != mTracks.end(); ++it) { in dump()
671 Track *track = new Track(this, source, 1 + mTracks.size()); in addSource()
672 mTracks.push_back(track); in addSource()
[all …]
/frameworks/av/services/audioflinger/
DThreads.h904 return ThreadBase::hasAudioSession_l(sessionId, mTracks); in hasAudioSession_l()
934 && mTracks.size() < PlaybackThread::kMaxTracks; in isTrackAllowed_l()
1087 const ssize_t index = mTracks.add(track); in add()
1093 return mTracks.size(); in size()
1096 return mTracks.isEmpty(); in isEmpty()
1099 return mTracks.indexOf(item); in indexOf()
1102 return mTracks[index];
1105 return mTracks.begin(); in begin()
1108 return mTracks.end(); in end()
1125 SortedVector<sp<T>> mTracks; // wrapped SortedVector. variable
[all …]
DThreads.cpp1851 mTracks(type == MIXER), in PlaybackThread()
1976 size_t numtracks = mTracks.size(); in dumpTracks_l()
1984 mTracks[0]->appendDumpHeader(result); in dumpTracks_l()
1986 sp<Track> track = mTracks[i]; in dumpTracks_l()
2007 if (mTracks.indexOf(track) < 0) { in dumpTracks_l()
2335 for (size_t i = 0; i < mTracks.size(); ++i) { in createTrack_l()
2336 sp<Track> t = mTracks[i]; in createTrack_l()
2359 mTracks.add(track); in createTrack_l()
2394 const ssize_t index = mTracks.remove(track); in remove()
2590 mTracks.remove(track); in removeTrack_l()
[all …]
DFastMixerDumpState.h78 FastTrackDump mTracks[FastMixerState::kMaxFastTracks]; member
DFastMixerDumpState.cpp180 const FastTrackDump *ftDump = &mTracks[i]; in dump()
DFastMixer.cpp419 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/extractors/mpeg2/
DMPEG2PSExtractor.h60 KeyedVector<unsigned, Track* > mTracks; member
/frameworks/av/media/libaudioprocessing/include/media/
DAudioMixerBase.h117 return mTracks.count(name) > 0; in exists()
366 std::map<int /* name */, std::shared_ptr<TrackBase>> mTracks; variable
DAudioMixer.h218 return std::static_pointer_cast<Track>(mTracks[name]); in getTrack()
/frameworks/av/media/libstagefright/include/media/stagefright/
DMPEG4Writer.h143 List<Track *> mTracks;
/frameworks/wilhelm/src/
Ditfstruct.h451 Track mTracks[MAX_TRACK]; member

12