/frameworks/base/media/java/android/media/ |
D | MediaMuxer.java | 303 long nativeObject, int trackIndex, @NonNull ByteBuffer byteBuf, in nativeWriteSampleData() argument 622 int trackIndex = -1; in addTrack() local 638 trackIndex = nativeAddTrack(mNativeObject, keys, values); in addTrack() 645 if (mLastTrackIndex >= trackIndex) { in addTrack() 648 mLastTrackIndex = trackIndex; in addTrack() 649 return trackIndex; in addTrack() 666 public void writeSampleData(int trackIndex, @NonNull ByteBuffer byteBuf, in writeSampleData() argument 668 if (trackIndex < 0 || trackIndex > mLastTrackIndex) { in writeSampleData() 694 nativeWriteSampleData(mNativeObject, trackIndex, byteBuf, in writeSampleData()
|
D | SubtitleData.java | 91 public SubtitleData(int trackIndex, long startTimeUs, long durationUs, @NonNull byte[] data) { in SubtitleData() argument 95 mTrackIndex = trackIndex; in SubtitleData()
|
/frameworks/av/media/libstagefright/rtsp/ |
D | MyHandler.h | 667 size_t trackIndex; in onMessageReceived() local 668 if (msg->findSize("track-index", &trackIndex)) { in onMessageReceived() 669 track = &mTracks.editItemAt(trackIndex); in onMessageReceived() 728 notify->setSize("track-index", trackIndex); in onMessageReceived() 772 mTracks.removeItemsAt(trackIndex); in onMessageReceived() 1007 size_t trackIndex; in onMessageReceived() local 1008 CHECK(msg->findSize("track-index", &trackIndex)); in onMessageReceived() 1015 onTimeUpdate(trackIndex, rtpTime, ntpTime); in onMessageReceived() 1033 size_t trackIndex; in onMessageReceived() local 1034 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/libmediaplayer2/nuplayer2/ |
D | GenericSource2.cpp | 525 int32_t trackIndex; in onMessageReceived() local 526 CHECK(msg->findInt32("trackIndex", &trackIndex)); in onMessageReceived() 527 const sp<AMediaExtractorWrapper> extractor = mExtractors.itemAt(trackIndex); in onMessageReceived() 532 sp<AMediaFormatWrapper> format = extractor->getTrackFormat(trackIndex); in onMessageReceived() 547 track->mExtractor->selectSingleTrack(trackIndex); in onMessageReceived() 548 track->mIndex = trackIndex; in onMessageReceived() 711 size_t trackIndex = audio ? mAudioTrack.mIndex : mVideoTrack.mIndex; in getFormat_l() local 717 return extractor->getTrackFormat(trackIndex)->toAMessage(); in getFormat_l() 722 size_t trackIndex = audio ? mAudioTrack.mIndex : mVideoTrack.mIndex; in getFormatMeta_l() local 728 return convertMediaFormatWrapperToMetaData(extractor->getTrackFormat(trackIndex)); in getFormatMeta_l() [all …]
|
D | RTSPSource2.cpp | 581 size_t trackIndex; in onMessageReceived() local 582 CHECK(msg->findSize("trackIndex", &trackIndex)); in onMessageReceived() 585 CHECK_LT(trackIndex, mTracks.size()); in onMessageReceived() 587 CHECK_EQ(trackIndex, 0u); in onMessageReceived() 625 TrackInfo *info = &mTracks.editItemAt(trackIndex); in onMessageReceived() 663 size_t trackIndex; in onMessageReceived() local 664 CHECK(msg->findSize("trackIndex", &trackIndex)); in onMessageReceived() 665 CHECK_LT(trackIndex, mTracks.size()); in onMessageReceived() 667 TrackInfo *info = &mTracks.editItemAt(trackIndex); in onMessageReceived() 678 size_t trackIndex; in onMessageReceived() local [all …]
|
D | HTTPLiveSource2.cpp | 185 sp<AMessage> NuPlayer2::HTTPLiveSource2::getTrackInfo(size_t trackIndex) const { in getTrackInfo() 186 return mLiveSession->getTrackInfo(trackIndex); in getTrackInfo() 201 status_t NuPlayer2::HTTPLiveSource2::selectTrack(size_t trackIndex, bool select, int64_t /*timeUs*/… in selectTrack() argument 208 if (!mHasMetadata || trackIndex != mLiveSession->getTrackCount() - 1) { in selectTrack() 209 err = mLiveSession->selectTrack(trackIndex, select); in selectTrack()
|
D | HTTPLiveSource2.h | 51 virtual sp<AMessage> getTrackInfo(size_t trackIndex) const; 53 virtual status_t selectTrack(size_t trackIndex, bool select, int64_t timeUs);
|
D | GenericSource2.h | 79 virtual sp<AMessage> getTrackInfo(size_t trackIndex) const; 81 virtual status_t selectTrack(size_t trackIndex, bool select, int64_t timeUs);
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | RTSPSource.cpp | 582 size_t trackIndex; in onMessageReceived() local 583 CHECK(msg->findSize("trackIndex", &trackIndex)); in onMessageReceived() 586 CHECK_LT(trackIndex, mTracks.size()); in onMessageReceived() 588 CHECK_EQ(trackIndex, 0u); in onMessageReceived() 626 TrackInfo *info = &mTracks.editItemAt(trackIndex); in onMessageReceived() 664 size_t trackIndex; in onMessageReceived() local 665 CHECK(msg->findSize("trackIndex", &trackIndex)); in onMessageReceived() 666 CHECK_LT(trackIndex, mTracks.size()); in onMessageReceived() 668 TrackInfo *info = &mTracks.editItemAt(trackIndex); in onMessageReceived() 679 size_t trackIndex; in onMessageReceived() local [all …]
|
D | GenericSource.cpp | 656 int32_t trackIndex; in onMessageReceived() local 657 CHECK(msg->findInt32("trackIndex", &trackIndex)); in onMessageReceived() 658 const sp<IMediaSource> source = mSources.itemAt(trackIndex); in onMessageReceived() 682 track->mIndex = trackIndex; in onMessageReceived() 956 sp<AMessage> NuPlayer::GenericSource::getTrackInfo(size_t trackIndex) const { in getTrackInfo() 959 if (trackIndex >= trackCount) { in getTrackInfo() 964 sp<MetaData> meta = mSources.itemAt(trackIndex)->getFormat(); in getTrackInfo() 966 ALOGE("no metadata for track %zu", trackIndex); in getTrackInfo() 1037 status_t NuPlayer::GenericSource::selectTrack(size_t trackIndex, bool select, int64_t timeUs) { in selectTrack() argument 1039 ALOGV("%s track: %zu", select ? "select" : "deselect", trackIndex); in selectTrack() [all …]
|
D | HTTPLiveSource.cpp | 183 sp<AMessage> NuPlayer::HTTPLiveSource::getTrackInfo(size_t trackIndex) const { in getTrackInfo() 184 return mLiveSession->getTrackInfo(trackIndex); in getTrackInfo() 199 status_t NuPlayer::HTTPLiveSource::selectTrack(size_t trackIndex, bool select, int64_t /*timeUs*/) { in selectTrack() argument 206 if (!mHasMetadata || trackIndex != mLiveSession->getTrackCount() - 1) { in selectTrack() 207 err = mLiveSession->selectTrack(trackIndex, select); in selectTrack()
|
D | HTTPLiveSource.h | 51 virtual sp<AMessage> getTrackInfo(size_t trackIndex) const; 53 virtual status_t selectTrack(size_t trackIndex, bool select, int64_t timeUs);
|
D | GenericSource.h | 79 virtual sp<AMessage> getTrackInfo(size_t trackIndex) const; 81 virtual status_t selectTrack(size_t trackIndex, bool select, int64_t timeUs);
|
/frameworks/base/media/jni/ |
D | android_media_MediaMuxer.cpp | 66 jint trackIndex = muxer->addTrack(trackformat); in android_media_MediaMuxer_addTrack() local 68 if (trackIndex < 0) { in android_media_MediaMuxer_addTrack() 73 return trackIndex; in android_media_MediaMuxer_addTrack() 77 JNIEnv *env, jclass /* clazz */, jlong nativeObject, jint trackIndex, in android_media_MediaMuxer_writeSampleData() argument 124 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/av/media/libstagefright/ |
D | MediaMuxer.cpp | 165 status_t MediaMuxer::writeSampleData(const sp<ABuffer> &buffer, size_t trackIndex, in writeSampleData() argument 179 if (trackIndex >= mTrackList.size()) { in writeSampleData() 180 ALOGE("WriteSampleData() get an invalid index %zu", trackIndex); in writeSampleData() 202 sp<MediaAdapter> currentTrack = mTrackList[trackIndex]; in writeSampleData()
|
/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()
|
D | GpuVideoTrackDecoder.java | 68 int trackIndex, MediaFormat format, Listener listener) { in GpuVideoTrackDecoder() argument 69 super(trackIndex, format, listener); in GpuVideoTrackDecoder()
|
/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()
|
D | SimplePlayer.cpp | 469 size_t trackIndex; in onDoMoreStuff() local 470 status_t err = mExtractor->getSampleTrackIndex(&trackIndex); in onDoMoreStuff() 476 CodecState *state = &mStateByTrackIndex.editValueFor(trackIndex); in onDoMoreStuff() 505 ALOGV("enqueued input data on track %zu", trackIndex); in onDoMoreStuff() 572 size_t trackIndex __unused, CodecState *state) { in onOutputFormatChanged()
|
/frameworks/av/media/ndk/ |
D | NdkMediaExtractor.cpp | 437 size_t trackIndex; in AMediaExtractor_getSampleFormat() local 438 err = ex->mImpl->getSampleTrackIndex(&trackIndex); in AMediaExtractor_getSampleFormat() 440 meta->setInt32(AMEDIAFORMAT_KEY_TRACK_INDEX, trackIndex); in AMediaExtractor_getSampleFormat() 443 err = ex->mImpl->getTrackFormat(trackIndex, &trackFormat); in AMediaExtractor_getSampleFormat()
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | MediaMuxer.h | 117 status_t writeSampleData(const sp<ABuffer> &buffer, size_t trackIndex,
|