Home
last modified time | relevance | path

Searched refs:mTracks (Results 1 – 25 of 30) 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.h660 track = &mTracks.editItemAt(trackIndex); in onMessageReceived()
763 mTracks.removeItemsAt(trackIndex); in onMessageReceived()
870 for (size_t i = 0; i < mTracks.size(); ++i) { in onMessageReceived()
871 TrackInfo *info = &mTracks.editItemAt(i); in onMessageReceived()
892 mTracks.clear(); in onMessageReceived()
1019 if (trackIndex >= mTracks.size()) { in onMessageReceived()
1024 TrackInfo *track = &mTracks.editItemAt(trackIndex); in onMessageReceived()
1230 for (size_t i = 0; i < mTracks.size(); ++i) { in onMessageReceived()
1231 TrackInfo *info = &mTracks.editItemAt(i); in onMessageReceived()
1271 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.java40 private Vector<SubtitleTrack> mTracks; field in SubtitleController
103 mTracks = new Vector<SubtitleTrack>(); in SubtitleController()
121 synchronized(mTracks) { in getTracks()
122 SubtitleTrack[] tracks = new SubtitleTrack[mTracks.size()]; in getTracks()
123 mTracks.toArray(tracks); in getTracks()
154 if (track != null && !mTracks.contains(track)) { in selectTrack()
222 synchronized(mTracks) { in getDefaultTrack()
223 for (SubtitleTrack track: mTracks) { in getDefaultTrack()
307 mTracks.clear(); in reset()
327 synchronized(mTracks) { in addTrack()
[all …]
/frameworks/av/media/libstagefright/wifi-display/source/
DPlaybackSession.cpp450 for (size_t i = 0; i < mTracks.size(); ++i) { in onMediaSenderInitialized()
451 CHECK_EQ((status_t)OK, mTracks.editValueAt(i)->start()); in onMediaSenderInitialized()
472 for (size_t i = 0; i < mTracks.size(); ++i) { in destroyAsync()
473 mTracks.valueAt(i)->stopAsync(); in destroyAsync()
499 const sp<Track> &track = mTracks.valueFor(trackIndex); in onMessageReceived()
514 ssize_t index = mTracks.indexOfKey(trackIndex); in onMessageReceived()
518 mTracks.valueAt(index)->converter(); in onMessageReceived()
521 mTracks.removeItemsAt(index); in onMessageReceived()
523 if (mTracks.isEmpty()) { in onMessageReceived()
561 mTracks.valueFor(mVideoTrackIndex); in onMessageReceived()
[all …]
DTSPacketizer.cpp421 for (size_t i = 0; i < mTracks.size(); ++i) { in addTrack()
422 const sp<Track> &track = mTracks.itemAt(i); in addTrack()
439 return mTracks.add(track); in addTrack()
443 if (trackIndex >= mTracks.size()) { in extractCSDIfNecessary()
447 const sp<Track> &track = mTracks.itemAt(trackIndex); in extractCSDIfNecessary()
467 if (trackIndex >= mTracks.size()) { in packetize()
471 const sp<Track> &track = mTracks.itemAt(trackIndex); in packetize()
784 for (size_t i = 0; i < mTracks.size(); ++i) { in packetize()
785 const sp<Track> &track = mTracks.itemAt(i); in packetize()
1039 CHECK_LT(trackIndex, mTracks.size()); in prependCSD()
[all …]
DTSPacketizer.h76 Vector<sp<Track> > mTracks; member
DPlaybackSession.h120 KeyedVector<size_t, sp<Track> > mTracks; member
/frameworks/av/media/libstagefright/
DAVIExtractor.cpp93 mTrack(mExtractor->mTracks.itemAt(trackIndex)), in AVISource()
373 mTracks.clear(); in AVIExtractor()
381 return mTracks.size(); in countTracks()
385 return index < mTracks.size() ? new AVISource(this, index) : NULL; in getTrack()
390 return index < mTracks.size() ? mTracks.editItemAt(index).mMeta : NULL; in getTrackMetaData()
404 mTracks.clear(); in parseHeaders()
594 if (mTracks.size() > 99) { in parseStreamHeader()
651 mTracks.push(); in parseStreamHeader()
652 Track *track = &mTracks.editItemAt(mTracks.size() - 1); in parseStreamHeader()
670 if (mTracks.isEmpty()) { in parseStreamFormat()
[all …]
DMPEG4Writer.cpp432 while (!mTracks.empty()) { in ~MPEG4Writer()
433 List<Track *>::iterator it = mTracks.begin(); in ~MPEG4Writer()
436 mTracks.erase(it); in ~MPEG4Writer()
438 mTracks.clear(); in ~MPEG4Writer()
483 for (List<Track *>::iterator it = mTracks.begin(); in initInternal()
484 it != mTracks.end(); ++it) { in initInternal()
499 for (List<Track *>::iterator it = mTracks.begin(); in dump()
500 it != mTracks.end(); ++it) { in dump()
574 Track *track = new Track(this, source, 1 + mTracks.size()); in addSource()
575 mTracks.push_back(track); in addSource()
[all …]
/frameworks/av/media/libstagefright/mpeg2ts/
DMPEG2PSExtractor.cpp111 for (size_t i = mTracks.size(); i > 0;) { in MPEG2PSExtractor()
113 if (mTracks.valueAt(i)->getFormat() == NULL) { in MPEG2PSExtractor()
114 mTracks.removeItemsAt(i); in MPEG2PSExtractor()
125 return mTracks.size(); in countTracks()
129 if (index >= mTracks.size()) { in getTrack()
133 return new WrappedTrack(this, mTracks.valueAt(index)); in getTrack()
138 if (index >= mTracks.size()) { in getTrackMetaData()
142 return mTracks.valueAt(index)->getFormat(); in getTrackMetaData()
536 ssize_t index = mTracks.indexOfKey(stream_id); in dequeuePES()
556 index = mTracks.add( in dequeuePES()
[all …]
/frameworks/av/media/libmediaplayerservice/nuplayer/
DRTSPSource.cpp344 size_t numTracks = mTracks.size(); in checkBuffering()
351 TrackInfo *info = &mTracks.editItemAt(i); in checkBuffering()
621 CHECK_LT(trackIndex, mTracks.size()); in onMessageReceived()
661 TrackInfo *info = &mTracks.editItemAt(trackIndex); in onMessageReceived()
701 CHECK_LT(trackIndex, mTracks.size()); in onMessageReceived()
703 TrackInfo *info = &mTracks.editItemAt(trackIndex); in onMessageReceived()
716 CHECK_LT(trackIndex, mTracks.size()); in onMessageReceived()
718 TrackInfo *info = &mTracks.editItemAt(trackIndex); in onMessageReceived()
734 CHECK_LT(trackIndex, mTracks.size()); in onMessageReceived()
742 TrackInfo *info = &mTracks.editItemAt(trackIndex); in onMessageReceived()
[all …]
DNuPlayerCCDecoder.cpp134 return mTracks.size(); in getTrackCount()
144 CCTrack track = mTracks[index]; in getTrackInfo()
399 if (isSelected() && mTracks[mSelectedTrack].mTrackType == kTrackTypeCEA608 in parseMPEGCCData()
400 && mTracks[mSelectedTrack].mTrackChannel == mLine21Channels[cc_type]) { in parseMPEGCCData()
420 if (isSelected() && mTracks[mSelectedTrack].mTrackType == kTrackTypeCEA608 in parseMPEGCCData()
485 index = mTracks.size(); in getTrackIndex()
487 mTracks.add(track); in getTrackIndex()
DNuPlayerCCDecoder.h69 Vector<CCTrack> mTracks; member
DRTSPSource.h118 Vector<TrackInfo> mTracks; member
/frameworks/av/media/libstagefright/matroska/
DMatroskaExtractor.cpp218 mExtractor->mTracks.itemAt(index).mTrackNum, in MatroskaSource()
221 sp<MetaData> meta = mExtractor->mTracks.itemAt(index).mMeta; in MatroskaSource()
272 return mExtractor->mTracks.itemAt(mTrackIndex).mMeta; in getFormat()
445 size_t trackCount = mExtractor->mTracks.size(); in seek()
447 MatroskaExtractor::TrackInfo& track = mExtractor->mTracks.editItemAt(index); in seek()
463 MatroskaExtractor::TrackInfo& track = mExtractor->mTracks.editItemAt(mIndex); in seek()
576 sp<MetaData> trackMeta = mExtractor->mTracks.itemAt(mTrackIndex).mMeta; in setWebmBlockCryptoInfo()
618 MatroskaExtractor::TrackInfo *trackInfo = &mExtractor->mTracks.editItemAt(mTrackIndex); in readBlock()
884 return mTracks.size(); in countTracks()
888 if (index >= mTracks.size()) { in getTrack()
[all …]
DMatroskaExtractor.h77 Vector<TrackInfo> mTracks; member
/frameworks/av/services/audioflinger/
DThreads.cpp1743 size_t numtracks = mTracks.size(); in dumpTracks()
1751 sp<Track> track = mTracks[i]; in dumpTracks()
1772 if (mTracks.indexOf(track) < 0) { in dumpTracks()
2011 for (size_t i = 0; i < mTracks.size(); ++i) { in createTrack_l()
2012 sp<Track> t = mTracks[i]; in createTrack_l()
2034 mTracks.add(track); in createTrack_l()
2218 mTracks.remove(track); in removeTrack_l()
2502 for (size_t i = 0; i < mTracks.size(); ++i) { in hasAudioSession_l()
2503 sp<Track> track = mTracks[i]; in hasAudioSession_l()
2523 for (size_t i = 0; i < mTracks.size(); i++) { in getStrategyForSession_l()
[all …]
DFastMixerDumpState.h76 FastTrackDump mTracks[FastMixerState::kMaxFastTracks]; member
DFastMixerDumpState.cpp174 const FastTrackDump *ftDump = &mTracks[i]; in dump()
/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/libstagefright/include/
DMPEG2PSExtractor.h58 KeyedVector<unsigned, sp<Track> > mTracks; member
DAVIExtractor.h83 Vector<Track> mTracks; member

12