/frameworks/av/media/libstagefright/rtsp/ |
D | ARTPSession.cpp | 80 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()
|
D | ASessionDescription.cpp | 41 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()
|
D | MyHandler.h | 648 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 …]
|
D | ARTPSession.h | 59 Vector<TrackInfo> mTracks; member
|
D | ASessionDescription.h | 73 Vector<Attribs> mTracks; member
|
/frameworks/base/media/java/android/media/ |
D | SubtitleController.java | 39 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/ |
D | PlaybackSession.cpp | 449 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 …]
|
D | TSPacketizer.cpp | 421 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 …]
|
D | TSPacketizer.h | 76 Vector<sp<Track> > mTracks; member
|
D | PlaybackSession.h | 115 KeyedVector<size_t, sp<Track> > mTracks; member
|
/frameworks/av/media/libstagefright/ |
D | AVIExtractor.cpp | 93 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 …]
|
D | MPEG4Writer.cpp | 396 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 …]
|
D | AwesomePlayer.cpp | 430 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/ |
D | MPEG2PSExtractor.cpp | 111 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/ |
D | RTSPSource.cpp | 128 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 …]
|
D | RTSPSource.h | 107 Vector<TrackInfo> mTracks; member
|
/frameworks/av/media/libstagefright/matroska/ |
D | MatroskaExtractor.cpp | 213 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 …]
|
D | MatroskaExtractor.h | 67 Vector<TrackInfo> mTracks; member
|
/frameworks/av/services/audioflinger/ |
D | Threads.cpp | 1277 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 …]
|
D | FastMixerDumpState.h | 82 FastTrackDump mTracks[FastMixerState::kMaxFastTracks]; member
|
D | FastMixer.cpp | 376 FastTrackDump *ftDump = &dumpState->mTracks[i]; in onWork() 652 const FastTrackDump *ftDump = &mTracks[i]; in dump()
|
/frameworks/wilhelm/src/itf/ |
D | IOutputMixExt.c | 87 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/ |
D | MPEG2PSExtractor.h | 57 KeyedVector<unsigned, sp<Track> > mTracks; member
|
D | AVIExtractor.h | 82 Vector<Track> mTracks; member
|
/frameworks/av/include/media/stagefright/ |
D | MPEG4Writer.h | 102 List<Track *> mTracks; variable
|