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.h648 track = &mTracks.editItemAt(trackIndex); in onMessageReceived()
751 mTracks.removeItemsAt(trackIndex); in onMessageReceived()
862 for (size_t i = 0; i < mTracks.size(); ++i) { in onMessageReceived()
863 TrackInfo *info = &mTracks.editItemAt(i); in onMessageReceived()
884 mTracks.clear(); in onMessageReceived()
1006 if (trackIndex >= mTracks.size()) { in onMessageReceived()
1011 TrackInfo *track = &mTracks.editItemAt(trackIndex); in onMessageReceived()
1209 for (size_t i = 0; i < mTracks.size(); ++i) { in onMessageReceived()
1210 TrackInfo *info = &mTracks.editItemAt(i); in onMessageReceived()
1253 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.java39 private Vector<SubtitleTrack> mTracks; field in SubtitleController
102 mTracks = new Vector<SubtitleTrack>(); in SubtitleController()
120 synchronized(mTracks) { in getTracks()
121 SubtitleTrack[] tracks = new SubtitleTrack[mTracks.size()]; in getTracks()
122 mTracks.toArray(tracks); in getTracks()
153 if (track != null && !mTracks.contains(track)) { in selectTrack()
221 synchronized(mTracks) { in getDefaultTrack()
222 for (SubtitleTrack track: mTracks) { in getDefaultTrack()
305 mTracks.clear(); in reset()
325 synchronized(mTracks) { in addTrack()
[all …]
/frameworks/av/media/libstagefright/wifi-display/source/
DPlaybackSession.cpp449 for (size_t i = 0; i < mTracks.size(); ++i) { in onMediaSenderInitialized()
450 CHECK_EQ((status_t)OK, mTracks.editValueAt(i)->start()); in onMediaSenderInitialized()
471 for (size_t i = 0; i < mTracks.size(); ++i) { in destroyAsync()
472 mTracks.valueAt(i)->stopAsync(); in destroyAsync()
498 const sp<Track> &track = mTracks.valueFor(trackIndex); in onMessageReceived()
513 ssize_t index = mTracks.indexOfKey(trackIndex); in onMessageReceived()
517 mTracks.valueAt(index)->converter(); in onMessageReceived()
520 mTracks.removeItemsAt(index); in onMessageReceived()
522 if (mTracks.isEmpty()) { in onMessageReceived()
560 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.h115 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.cpp396 while (!mTracks.empty()) { in ~MPEG4Writer()
397 List<Track *>::iterator it = mTracks.begin(); in ~MPEG4Writer()
400 mTracks.erase(it); in ~MPEG4Writer()
402 mTracks.clear(); in ~MPEG4Writer()
415 for (List<Track *>::iterator it = mTracks.begin(); in dump()
416 it != mTracks.end(); ++it) { in dump()
448 if (mTracks.size() >= 2) { in addSource()
449 ALOGE("Too many tracks (%zu) to add", mTracks.size()); in addSource()
472 for (List<Track*>::iterator it = mTracks.begin(); in addSource()
473 it != mTracks.end(); ++it) { in addSource()
[all …]
DAwesomePlayer.cpp430 mStats.mTracks.clear(); in setDataSource_l()
462 mStats.mVideoTrackIndex = mStats.mTracks.size(); in setDataSource_l()
463 mStats.mTracks.push(); in setDataSource_l()
465 &mStats.mTracks.editItemAt(mStats.mVideoTrackIndex); in setDataSource_l()
475 mStats.mAudioTrackIndex = mStats.mTracks.size(); in setDataSource_l()
476 mStats.mTracks.push(); in setDataSource_l()
478 &mStats.mTracks.editItemAt(mStats.mAudioTrackIndex); in setDataSource_l()
631 mStats.mTracks.clear(); in reset_l()
1591 TrackStat *stat = &mStats.mTracks.editItemAt(mStats.mAudioTrackIndex); in initAudioDecoder()
1689 TrackStat *stat = &mStats.mTracks.editItemAt(mStats.mVideoTrackIndex); in initVideoDecoder()
[all …]
/frameworks/av/media/libstagefright/mpeg2ts/
DMPEG2PSExtractor.cpp111 for (size_t i = mTracks.size(); i-- > 0;) { in MPEG2PSExtractor()
112 if (mTracks.valueAt(i)->getFormat() == NULL) { in MPEG2PSExtractor()
113 mTracks.removeItemsAt(i); in MPEG2PSExtractor()
124 return mTracks.size(); in countTracks()
128 if (index >= mTracks.size()) { in getTrack()
132 return new WrappedTrack(this, mTracks.valueAt(index)); in getTrack()
137 if (index >= mTracks.size()) { in getTrackMetaData()
141 return mTracks.valueAt(index)->getFormat(); in getTrackMetaData()
486 ssize_t index = mTracks.indexOfKey(stream_id); in dequeuePES()
506 index = mTracks.add( in dequeuePES()
[all …]
/frameworks/av/media/libmediaplayerservice/nuplayer/
DRTSPSource.cpp128 for (size_t index = 0; index < mTracks.size(); index++) { in pause()
129 TrackInfo *info = &mTracks.editItemAt(index); in pause()
380 CHECK_LT(trackIndex, mTracks.size()); in onMessageReceived()
426 TrackInfo *info = &mTracks.editItemAt(trackIndex); in onMessageReceived()
475 CHECK_LT(trackIndex, mTracks.size()); in onMessageReceived()
477 TrackInfo *info = &mTracks.editItemAt(trackIndex); in onMessageReceived()
490 CHECK_LT(trackIndex, mTracks.size()); in onMessageReceived()
492 TrackInfo *info = &mTracks.editItemAt(trackIndex); in onMessageReceived()
508 CHECK_LT(trackIndex, mTracks.size()); in onMessageReceived()
516 TrackInfo *info = &mTracks.editItemAt(trackIndex); in onMessageReceived()
[all …]
DRTSPSource.h107 Vector<TrackInfo> mTracks; member
/frameworks/av/media/libstagefright/matroska/
DMatroskaExtractor.cpp213 mExtractor->mTracks.itemAt(index).mTrackNum, in MatroskaSource()
216 sp<MetaData> meta = mExtractor->mTracks.itemAt(index).mMeta; in MatroskaSource()
258 return mExtractor->mTracks.itemAt(mTrackIndex).mMeta; in getFormat()
421 size_t trackCount = mExtractor->mTracks.size(); in seek()
423 MatroskaExtractor::TrackInfo& track = mExtractor->mTracks.editItemAt(index); in seek()
439 MatroskaExtractor::TrackInfo& track = mExtractor->mTracks.editItemAt(mIndex); in seek()
766 return mTracks.size(); in countTracks()
770 if (index >= mTracks.size()) { in getTrack()
779 if (index >= mTracks.size()) { in getTrackMetaData()
789 return mTracks.itemAt(index).mMeta; in getTrackMetaData()
[all …]
DMatroskaExtractor.h67 Vector<TrackInfo> mTracks; member
/frameworks/av/services/audioflinger/
DThreads.cpp1277 size_t numtracks = mTracks.size(); in dumpTracks()
1285 sp<Track> track = mTracks[i]; in dumpTracks()
1306 if (track != 0 && mTracks.indexOf(track) < 0) { in dumpTracks()
1494 for (size_t i = 0; i < mTracks.size(); ++i) { in createTrack_l()
1495 sp<Track> t = mTracks[i]; in createTrack_l()
1524 mTracks.add(track); in createTrack_l()
1688 mTracks.remove(track); in removeTrack_l()
1983 for (size_t i = 0; i < mTracks.size(); ++i) { in hasAudioSession()
1984 sp<Track> track = mTracks[i]; in hasAudioSession()
2001 for (size_t i = 0; i < mTracks.size(); i++) { in getStrategyForSession_l()
[all …]
DFastMixerDumpState.h82 FastTrackDump mTracks[FastMixerState::kMaxFastTracks]; member
DFastMixer.cpp376 FastTrackDump *ftDump = &dumpState->mTracks[i]; in onWork()
652 const FastTrackDump *ftDump = &mTracks[i]; in dump()
/frameworks/wilhelm/src/itf/
DIOutputMixExt.c87 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.h57 KeyedVector<unsigned, sp<Track> > mTracks; member
DAVIExtractor.h82 Vector<Track> mTracks; member
/frameworks/av/include/media/stagefright/
DMPEG4Writer.h102 List<Track *> mTracks; variable

12