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.cpp42 mTracks.clear(); in setTo()
50 mTracks.clear(); in parse()
53 mTracks.push(Attribs()); in parse()
126 mTracks.editItemAt(mTracks.size() - 1).add(key, value); in parse()
135 mTracks.push(Attribs()); in parse()
154 mTracks.editItemAt(mTracks.size() - 1).add(key, value); in parse()
170 return mTracks.size(); in countTracks()
175 CHECK_LT(index, mTracks.size()); in getFormat()
183 CHECK_LT(index, mTracks.size()); in findAttribute()
187 const Attribs &track = mTracks.itemAt(index); in findAttribute()
DMyHandler.h659 track = &mTracks.editItemAt(trackIndex); in onMessageReceived()
762 mTracks.removeItemsAt(trackIndex); in onMessageReceived()
873 for (size_t i = 0; i < mTracks.size(); ++i) { in onMessageReceived()
874 TrackInfo *info = &mTracks.editItemAt(i); in onMessageReceived()
895 mTracks.clear(); in onMessageReceived()
1022 if (trackIndex >= mTracks.size()) { in onMessageReceived()
1027 TrackInfo *track = &mTracks.editItemAt(trackIndex); in onMessageReceived()
1236 for (size_t i = 0; i < mTracks.size(); ++i) { in onMessageReceived()
1237 TrackInfo *info = &mTracks.editItemAt(i); in onMessageReceived()
1280 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.cpp451 for (size_t i = 0; i < mTracks.size(); ++i) { in onMediaSenderInitialized()
452 CHECK_EQ((status_t)OK, mTracks.editValueAt(i)->start()); in onMediaSenderInitialized()
473 for (size_t i = 0; i < mTracks.size(); ++i) { in destroyAsync()
474 mTracks.valueAt(i)->stopAsync(); in destroyAsync()
500 const sp<Track> &track = mTracks.valueFor(trackIndex); in onMessageReceived()
515 ssize_t index = mTracks.indexOfKey(trackIndex); in onMessageReceived()
519 mTracks.valueAt(index)->converter(); in onMessageReceived()
522 mTracks.removeItemsAt(index); in onMessageReceived()
524 if (mTracks.isEmpty()) { in onMessageReceived()
562 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.cpp449 while (!mTracks.empty()) { in ~MPEG4Writer()
450 List<Track *>::iterator it = mTracks.begin(); in ~MPEG4Writer()
453 mTracks.erase(it); in ~MPEG4Writer()
455 mTracks.clear(); in ~MPEG4Writer()
468 for (List<Track *>::iterator it = mTracks.begin(); in dump()
469 it != mTracks.end(); ++it) { in dump()
530 if (mTracks.size() >= 2) { in addSource()
531 ALOGE("Too many tracks (%zu) to add", mTracks.size()); in addSource()
551 for (List<Track*>::iterator it = mTracks.begin(); in addSource()
552 it != mTracks.end(); ++it) { 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.cpp314 size_t numTracks = mTracks.size(); in checkBuffering()
321 TrackInfo *info = &mTracks.editItemAt(i); in checkBuffering()
554 CHECK_LT(trackIndex, mTracks.size()); in onMessageReceived()
594 TrackInfo *info = &mTracks.editItemAt(trackIndex); in onMessageReceived()
634 CHECK_LT(trackIndex, mTracks.size()); in onMessageReceived()
636 TrackInfo *info = &mTracks.editItemAt(trackIndex); in onMessageReceived()
649 CHECK_LT(trackIndex, mTracks.size()); in onMessageReceived()
651 TrackInfo *info = &mTracks.editItemAt(trackIndex); in onMessageReceived()
667 CHECK_LT(trackIndex, mTracks.size()); in onMessageReceived()
675 TrackInfo *info = &mTracks.editItemAt(trackIndex); in onMessageReceived()
[all …]
DNuPlayerCCDecoder.cpp134 return mTracks.size(); in getTrackCount()
144 CCTrack track = mTracks[index]; in getTrackInfo()
393 if (isSelected() && mTracks[mSelectedTrack].mTrackType == kTrackTypeCEA608 in parseMPEGCCData()
394 && mTracks[mSelectedTrack].mTrackChannel == mLine21Channels[cc_type]) { in parseMPEGCCData()
414 if (isSelected() && mTracks[mSelectedTrack].mTrackType == kTrackTypeCEA608 in parseMPEGCCData()
479 index = mTracks.size(); in getTrackIndex()
481 mTracks.add(track); in getTrackIndex()
DNuPlayerCCDecoder.h69 Vector<CCTrack> mTracks; member
DRTSPSource.h116 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()
435 size_t trackCount = mExtractor->mTracks.size(); in seek()
437 MatroskaExtractor::TrackInfo& track = mExtractor->mTracks.editItemAt(index); in seek()
453 MatroskaExtractor::TrackInfo& track = mExtractor->mTracks.editItemAt(mIndex); in seek()
566 sp<MetaData> trackMeta = mExtractor->mTracks.itemAt(mTrackIndex).mMeta; in setWebmBlockCryptoInfo()
617 && mExtractor->mTracks.itemAt(mTrackIndex).mEncrypted) { in readBlock()
863 return mTracks.size(); in countTracks()
867 if (index >= mTracks.size()) { in getTrack()
[all …]
DMatroskaExtractor.h71 Vector<TrackInfo> mTracks; member
/frameworks/av/services/audioflinger/
DThreads.cpp1789 size_t numtracks = mTracks.size(); in dumpTracks()
1797 sp<Track> track = mTracks[i]; in dumpTracks()
1818 if (track != 0 && mTracks.indexOf(track) < 0) { in dumpTracks()
2052 for (size_t i = 0; i < mTracks.size(); ++i) { in createTrack_l()
2053 sp<Track> t = mTracks[i]; in createTrack_l()
2075 mTracks.add(track); in createTrack_l()
2250 mTracks.remove(track); in removeTrack_l()
2572 for (size_t i = 0; i < mTracks.size(); ++i) { in hasAudioSession_l()
2573 sp<Track> track = mTracks[i]; in hasAudioSession_l()
2593 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.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.h58 KeyedVector<unsigned, sp<Track> > mTracks; member
DAVIExtractor.h83 Vector<Track> mTracks; member

12