/frameworks/av/media/libstagefright/wifi-display/ |
D | MediaSender.cpp | 89 ssize_t trackIndex, in initAsync() argument 96 if (trackIndex < 0) { in initAsync() 163 if ((size_t)trackIndex >= mTrackInfos.size()) { in initAsync() 167 TrackInfo *info = &mTrackInfos.editItemAt(trackIndex); in initAsync() 175 notify->setSize("trackIndex", trackIndex); in initAsync() 205 size_t trackIndex, const sp<ABuffer> &accessUnit) { in queueAccessUnit() argument 210 if (trackIndex >= mTrackInfos.size()) { in queueAccessUnit() 215 TrackInfo *info = &mTrackInfos.editItemAt(trackIndex); in queueAccessUnit() 276 TrackInfo *info = &mTrackInfos.editItemAt(trackIndex); in queueAccessUnit() 389 size_t trackIndex, in packetizeAccessUnit() argument [all …]
|
D | MediaSender.h | 62 ssize_t trackIndex, 71 size_t trackIndex, const sp<ABuffer> &accessUnit); 122 size_t trackIndex,
|
/frameworks/base/media/java/android/media/ |
D | MediaMuxer.java | 108 long nativeObject, int trackIndex, @NonNull ByteBuffer byteBuf, in nativeWriteSampleData() argument 278 int trackIndex = -1; in addTrack() local 294 trackIndex = nativeAddTrack(mNativeObject, keys, values); in addTrack() 301 if (mLastTrackIndex >= trackIndex) { in addTrack() 304 mLastTrackIndex = trackIndex; in addTrack() 305 return trackIndex; in addTrack() 320 public void writeSampleData(int trackIndex, @NonNull ByteBuffer byteBuf, in writeSampleData() argument 322 if (trackIndex < 0 || trackIndex > mLastTrackIndex) { in writeSampleData() 348 nativeWriteSampleData(mNativeObject, trackIndex, byteBuf, in writeSampleData()
|
/frameworks/av/media/libstagefright/include/ |
D | AVIExtractor.h | 96 size_t trackIndex, size_t sampleIndex, 101 size_t trackIndex, size_t sampleIndex, int64_t *sampleTimeUs); 104 size_t trackIndex, 108 status_t addMPEG4CodecSpecificData(size_t trackIndex); 109 status_t addH264CodecSpecificData(size_t trackIndex); 112 ssize_t trackIndex, Track::Kind kind, uint32_t chunkType);
|
/frameworks/av/media/libstagefright/rtsp/ |
D | MyHandler.h | 653 size_t trackIndex; in onMessageReceived() local 654 if (msg->findSize("track-index", &trackIndex)) { in onMessageReceived() 655 track = &mTracks.editItemAt(trackIndex); in onMessageReceived() 714 notify->setSize("track-index", trackIndex); in onMessageReceived() 758 mTracks.removeItemsAt(trackIndex); in onMessageReceived() 984 size_t trackIndex; in onMessageReceived() local 985 CHECK(msg->findSize("track-index", &trackIndex)); in onMessageReceived() 992 onTimeUpdate(trackIndex, rtpTime, ntpTime); in onMessageReceived() 1010 size_t trackIndex; in onMessageReceived() local 1011 CHECK(msg->findSize("track-index", &trackIndex)); in onMessageReceived() [all …]
|
D | ARTPSession.cpp | 138 size_t trackIndex; in onMessageReceived() local 139 CHECK(msg->findSize("track-index", &trackIndex)); in onMessageReceived() 143 TrackInfo *info = &mTracks.editItemAt(trackIndex); in onMessageReceived() 186 TrackInfo *info = &mTracks.editItemAt(trackIndex); in onMessageReceived()
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
D | PlaybackSession.cpp | 493 size_t trackIndex; in onMessageReceived() local 494 CHECK(msg->findSize("trackIndex", &trackIndex)); in onMessageReceived() 500 const sp<Track> &track = mTracks.valueFor(trackIndex); in onMessageReceived() 513 ALOGI("output EOS on track %zu", trackIndex); in onMessageReceived() 515 ssize_t index = mTracks.indexOfKey(trackIndex); in onMessageReceived() 582 size_t trackIndex; in onMessageReceived() local 583 CHECK(msg->findSize("trackIndex", &trackIndex)); in onMessageReceived() 586 ALOGI("Track %zu stopped", trackIndex); in onMessageReceived() 588 sp<Track> track = mTracks.valueFor(trackIndex); in onMessageReceived() 590 mTracks.removeItem(trackIndex); in onMessageReceived() [all …]
|
D | TSPacketizer.h | 51 size_t trackIndex, const sp<ABuffer> &accessUnit, 57 status_t extractCSDIfNecessary(size_t trackIndex); 62 size_t trackIndex, const sp<ABuffer> &accessUnit) const;
|
D | TSPacketizer.cpp | 442 status_t TSPacketizer::extractCSDIfNecessary(size_t trackIndex) { in extractCSDIfNecessary() argument 443 if (trackIndex >= mTracks.size()) { in extractCSDIfNecessary() 447 const sp<Track> &track = mTracks.itemAt(trackIndex); in extractCSDIfNecessary() 454 size_t trackIndex, in packetize() argument 467 if (trackIndex >= mTracks.size()) { in packetize() 471 const sp<Track> &track = mTracks.itemAt(trackIndex); in packetize() 1038 size_t trackIndex, const sp<ABuffer> &accessUnit) const { in prependCSD() argument 1039 CHECK_LT(trackIndex, mTracks.size()); in prependCSD() 1041 const sp<Track> &track = mTracks.itemAt(trackIndex); in prependCSD()
|
/frameworks/av/media/libstagefright/timedtext/ |
D | TimedTextDriver.cpp | 191 size_t trackIndex, const sp<MediaSource>& mediaSource) { in addInBandTextSource() argument 198 mTextSourceVector.add(trackIndex, source); in addInBandTextSource() 204 size_t trackIndex, const char *uri, const char *mimeType) { in addOutOfBandTextSource() argument 214 return createOutOfBandTextSource(trackIndex, mimeType, dataSource); in addOutOfBandTextSource() 218 size_t trackIndex, int fd, off64_t offset, off64_t length, const char *mimeType) { in addOutOfBandTextSource() argument 226 return createOutOfBandTextSource(trackIndex, mimeType, dataSource); in addOutOfBandTextSource() 230 size_t trackIndex, in createOutOfBandTextSource() argument 250 mTextSourceVector.add(trackIndex, source); in createOutOfBandTextSource()
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | RTSPSource.cpp | 417 size_t trackIndex; in onMessageReceived() local 418 CHECK(msg->findSize("trackIndex", &trackIndex)); in onMessageReceived() 421 CHECK_LT(trackIndex, mTracks.size()); in onMessageReceived() 423 CHECK_EQ(trackIndex, 0u); in onMessageReceived() 467 TrackInfo *info = &mTracks.editItemAt(trackIndex); in onMessageReceived() 514 size_t trackIndex; in onMessageReceived() local 515 CHECK(msg->findSize("trackIndex", &trackIndex)); in onMessageReceived() 516 CHECK_LT(trackIndex, mTracks.size()); in onMessageReceived() 518 TrackInfo *info = &mTracks.editItemAt(trackIndex); in onMessageReceived() 529 size_t trackIndex; in onMessageReceived() local [all …]
|
D | GenericSource.cpp | 760 int32_t trackIndex; in onMessageReceived() local 761 CHECK(msg->findInt32("trackIndex", &trackIndex)); in onMessageReceived() 762 const sp<MediaSource> source = mSources.itemAt(trackIndex); in onMessageReceived() 786 track->mIndex = trackIndex; in onMessageReceived() 1063 sp<AMessage> NuPlayer::GenericSource::getTrackInfo(size_t trackIndex) const { in getTrackInfo() 1065 if (trackIndex >= trackCount) { in getTrackInfo() 1070 sp<MetaData> meta = mSources.itemAt(trackIndex)->getFormat(); in getTrackInfo() 1163 status_t NuPlayer::GenericSource::selectTrack(size_t trackIndex, bool select, int64_t timeUs) { in selectTrack() argument 1164 ALOGV("%s track: %zu", select ? "select" : "deselect", trackIndex); in selectTrack() 1166 msg->setInt32("trackIndex", trackIndex); in selectTrack() [all …]
|
D | HTTPLiveSource.cpp | 141 sp<AMessage> NuPlayer::HTTPLiveSource::getTrackInfo(size_t trackIndex) const { in getTrackInfo() 142 return mLiveSession->getTrackInfo(trackIndex); in getTrackInfo() 157 status_t NuPlayer::HTTPLiveSource::selectTrack(size_t trackIndex, bool select, int64_t /*timeUs*/) { in selectTrack() argument 164 if (!mHasMetadata || trackIndex != mLiveSession->getTrackCount() - 1) { in selectTrack() 165 err = mLiveSession->selectTrack(trackIndex, select); in selectTrack()
|
D | HTTPLiveSource.h | 46 virtual sp<AMessage> getTrackInfo(size_t trackIndex) const; 48 virtual status_t selectTrack(size_t trackIndex, bool select, int64_t timeUs);
|
D | GenericSource.h | 71 virtual sp<AMessage> getTrackInfo(size_t trackIndex) const; 73 virtual status_t selectTrack(size_t trackIndex, bool select, int64_t timeUs); 178 status_t doSelectTrack(size_t trackIndex, bool select, int64_t timeUs);
|
/frameworks/av/include/media/stagefright/timedtext/ |
D | TimedTextDriver.h | 52 size_t trackIndex, const sp<MediaSource>& source); 55 size_t trackIndex, const char *uri, const char *mimeType); 59 size_t trackIndex, int fd, off64_t offset, 96 size_t trackIndex, const char* mimeType,
|
/frameworks/av/media/libstagefright/ |
D | AVIExtractor.cpp | 39 AVISource(const sp<AVIExtractor> &extractor, size_t trackIndex); 90 const sp<AVIExtractor> &extractor, size_t trackIndex) in AVISource() argument 92 mTrackIndex(trackIndex), in AVISource() 93 mTrack(mExtractor->mTracks.itemAt(trackIndex)), in AVISource() 724 ssize_t trackIndex, Track::Kind kind, uint32_t chunkType) { in IsCorrectChunkType() argument 749 if (trackIndex < 0) { in IsCorrectChunkType() 760 if (trackIndex != (10 * (hi - '0') + (lo - '0'))) { in IsCorrectChunkType() 791 size_t trackIndex = 10 * (hi - '0') + (lo - '0'); in parseIndex() local 793 if (trackIndex >= mTracks.size()) { in parseIndex() 797 Track *track = &mTracks.editItemAt(trackIndex); in parseIndex() [all …]
|
D | MediaMuxer.cpp | 149 status_t MediaMuxer::writeSampleData(const sp<ABuffer> &buffer, size_t trackIndex, in writeSampleData() argument 163 if (trackIndex >= mTrackList.size()) { in writeSampleData() 164 ALOGE("WriteSampleData() get an invalid index %zu", trackIndex); in writeSampleData() 182 sp<MediaAdapter> currentTrack = mTrackList[trackIndex]; in writeSampleData()
|
D | AwesomePlayer.cpp | 1525 void AwesomePlayer::addTextSource_l(size_t trackIndex, const sp<MediaSource>& source) { in addTextSource_l() argument 1532 mTextDriver->addInBandTextSource(trackIndex, source); in addTextSource_l() 2696 const sp<MediaSource>& source, size_t trackIndex) { in selectAudioTrack_l() argument 2698 ALOGI("selectAudioTrack_l: trackIndex=%zu, mFlags=0x%x", trackIndex, mFlags); in selectAudioTrack_l() 2702 if ((ssize_t)trackIndex == mActiveAudioTrackIndex) { in selectAudioTrack_l() 2703 ALOGI("Track %zu is active. Does nothing.", trackIndex); in selectAudioTrack_l() 2762 mActiveAudioTrackIndex = trackIndex; in selectAudioTrack_l() 2767 status_t AwesomePlayer::selectTrack(size_t trackIndex, bool select) { in selectTrack() argument 2769 ALOGV("selectTrack: trackIndex = %zu and select=%d", trackIndex, select); in selectTrack() 2775 if (trackIndex >= trackCount) { in selectTrack() [all …]
|
/frameworks/base/media/jni/ |
D | android_media_MediaMuxer.cpp | 63 jint trackIndex = muxer->addTrack(trackformat); in android_media_MediaMuxer_addTrack() local 65 if (trackIndex < 0) { in android_media_MediaMuxer_addTrack() 70 return trackIndex; in android_media_MediaMuxer_addTrack() 74 JNIEnv *env, jclass /* clazz */, jlong nativeObject, jint trackIndex, in android_media_MediaMuxer_writeSampleData() argument 121 status_t err = muxer->writeSampleData(buffer, trackIndex, timeUs, flags); in android_media_MediaMuxer_writeSampleData()
|
/frameworks/base/core/jni/ |
D | android_media_JetPlayer.cpp | 320 for (jint trackIndex=0; trackIndex<maxTracks; trackIndex++) { in android_media_JetPlayer_queueSegmentMuteArray() local 321 if (muteTracks[maxTracks-1-trackIndex]==JNI_TRUE) in android_media_JetPlayer_queueSegmentMuteArray() 391 for (jint trackIndex=0; trackIndex<maxTracks; trackIndex++) { in android_media_JetPlayer_setMuteArray() local 392 if (muteTracks[maxTracks-1-trackIndex]==JNI_TRUE) in android_media_JetPlayer_setMuteArray()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/ |
D | VideoTrackDecoder.java | 35 protected VideoTrackDecoder(int trackIndex, MediaFormat format, Listener listener) { in VideoTrackDecoder() argument 36 super(trackIndex, format, listener); in VideoTrackDecoder()
|
D | AudioTrackDecoder.java | 45 public AudioTrackDecoder(int trackIndex, MediaFormat format, Listener listener) { in AudioTrackDecoder() argument 46 super(trackIndex, format, listener); in AudioTrackDecoder()
|
D | TrackDecoder.java | 69 protected TrackDecoder(int trackIndex, MediaFormat mediaFormat, Listener listener) { in TrackDecoder() argument 70 mTrackIndex = trackIndex; in TrackDecoder()
|
/frameworks/av/cmds/stagefright/ |
D | muxer.cpp | 158 size_t trackIndex = -1; in muxing() local 165 status_t err = extractor->getSampleTrackIndex(&trackIndex); in muxing() 170 } else if (trackIndexMap.indexOfKey(trackIndex) < 0) { in muxing() 209 trackIndexMap.valueFor(trackIndex), in muxing()
|