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.h661 track = &mTracks.editItemAt(trackIndex); in onMessageReceived()
764 mTracks.removeItemsAt(trackIndex); in onMessageReceived()
871 for (size_t i = 0; i < mTracks.size(); ++i) { in onMessageReceived()
872 TrackInfo *info = &mTracks.editItemAt(i); in onMessageReceived()
893 mTracks.clear(); in onMessageReceived()
1020 if (trackIndex >= mTracks.size()) { in onMessageReceived()
1025 TrackInfo *track = &mTracks.editItemAt(trackIndex); in onMessageReceived()
1231 for (size_t i = 0; i < mTracks.size(); ++i) { in onMessageReceived()
1232 TrackInfo *info = &mTracks.editItemAt(i); in onMessageReceived()
1272 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/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()
416 if (isSelected() && mTracks[mSelectedTrack].mTrackType == kTrackTypeCEA608 in parseMPEGCCData()
417 && mTracks[mSelectedTrack].mTrackChannel == mLine21Channels[cc_type]) { in parseMPEGCCData()
437 if (isSelected() && mTracks[mSelectedTrack].mTrackType == kTrackTypeCEA608 in parseMPEGCCData()
507 index = mTracks.size(); in getTrackIndex()
509 mTracks.add(track); in getTrackIndex()
DNuPlayerCCDecoder.h69 Vector<CCTrack> mTracks; member
DRTSPSource.h118 Vector<TrackInfo> mTracks; member
/frameworks/av/media/libstagefright/matroska/
DMatroskaExtractor.cpp219 mExtractor->mTracks.itemAt(index).mTrackNum, in MatroskaSource()
222 sp<MetaData> meta = mExtractor->mTracks.itemAt(index).mMeta; in MatroskaSource()
273 return mExtractor->mTracks.itemAt(mTrackIndex).mMeta; in getFormat()
446 size_t trackCount = mExtractor->mTracks.size(); in seek()
448 MatroskaExtractor::TrackInfo& track = mExtractor->mTracks.editItemAt(index); in seek()
464 MatroskaExtractor::TrackInfo& track = mExtractor->mTracks.editItemAt(mIndex); in seek()
577 sp<MetaData> trackMeta = mExtractor->mTracks.itemAt(mTrackIndex).mMeta; in setWebmBlockCryptoInfo()
619 MatroskaExtractor::TrackInfo *trackInfo = &mExtractor->mTracks.editItemAt(mTrackIndex); in readBlock()
885 return mTracks.size(); in countTracks()
889 if (index >= mTracks.size()) { in getTrack()
[all …]
DMatroskaExtractor.h77 Vector<TrackInfo> mTracks; member
/frameworks/av/media/libstagefright/
DMPEG4Writer.cpp441 while (!mTracks.empty()) { in ~MPEG4Writer()
442 List<Track *>::iterator it = mTracks.begin(); in ~MPEG4Writer()
445 mTracks.erase(it); in ~MPEG4Writer()
447 mTracks.clear(); in ~MPEG4Writer()
503 for (List<Track *>::iterator it = mTracks.begin(); in initInternal()
504 it != mTracks.end(); ++it) { in initInternal()
519 for (List<Track *>::iterator it = mTracks.begin(); in dump()
520 it != mTracks.end(); ++it) { in dump()
594 Track *track = new Track(this, source, 1 + mTracks.size()); in addSource()
595 mTracks.push_back(track); in addSource()
[all …]
/frameworks/av/services/audioflinger/
DThreads.cpp1747 size_t numtracks = mTracks.size(); in dumpTracks()
1757 sp<Track> track = mTracks[i]; in dumpTracks()
1778 if (mTracks.indexOf(track) < 0) { in dumpTracks()
2017 for (size_t i = 0; i < mTracks.size(); ++i) { in createTrack_l()
2018 sp<Track> t = mTracks[i]; in createTrack_l()
2041 mTracks.add(track); in createTrack_l()
2221 mTracks.remove(track); in removeTrack_l()
2506 for (size_t i = 0; i < mTracks.size(); ++i) { in hasAudioSession_l()
2507 sp<Track> track = mTracks[i]; in hasAudioSession_l()
2527 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
/frameworks/av/media/libstagefright/include/media/stagefright/
DMPEG4Writer.h125 List<Track *> mTracks;

12