/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 | 290 long nativeObject, int trackIndex, @NonNull ByteBuffer byteBuf, in nativeWriteSampleData() argument 603 int trackIndex = -1; in addTrack() local 619 trackIndex = nativeAddTrack(mNativeObject, keys, values); in addTrack() 626 if (mLastTrackIndex >= trackIndex) { in addTrack() 629 mLastTrackIndex = trackIndex; in addTrack() 630 return trackIndex; in addTrack() 647 public void writeSampleData(int trackIndex, @NonNull ByteBuffer byteBuf, in writeSampleData() argument 649 if (trackIndex < 0 || trackIndex > mLastTrackIndex) { in writeSampleData() 675 nativeWriteSampleData(mNativeObject, trackIndex, byteBuf, in writeSampleData()
|
/frameworks/av/media/libstagefright/include/ |
D | AVIExtractor.h | 97 size_t trackIndex, size_t sampleIndex, 102 size_t trackIndex, size_t sampleIndex, int64_t *sampleTimeUs); 105 size_t trackIndex, 109 status_t addMPEG4CodecSpecificData(size_t trackIndex); 110 status_t addH264CodecSpecificData(size_t trackIndex); 113 ssize_t trackIndex, Track::Kind kind, uint32_t chunkType);
|
D | MediaMuxer.h | 115 status_t writeSampleData(const sp<ABuffer> &buffer, size_t trackIndex,
|
/frameworks/av/media/libstagefright/rtsp/ |
D | MyHandler.h | 658 size_t trackIndex; in onMessageReceived() local 659 if (msg->findSize("track-index", &trackIndex)) { in onMessageReceived() 660 track = &mTracks.editItemAt(trackIndex); in onMessageReceived() 719 notify->setSize("track-index", trackIndex); in onMessageReceived() 763 mTracks.removeItemsAt(trackIndex); in onMessageReceived() 990 size_t trackIndex; in onMessageReceived() local 991 CHECK(msg->findSize("track-index", &trackIndex)); in onMessageReceived() 998 onTimeUpdate(trackIndex, rtpTime, ntpTime); in onMessageReceived() 1016 size_t trackIndex; in onMessageReceived() local 1017 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 | 492 size_t trackIndex; in onMessageReceived() local 493 CHECK(msg->findSize("trackIndex", &trackIndex)); in onMessageReceived() 499 const sp<Track> &track = mTracks.valueFor(trackIndex); in onMessageReceived() 512 ALOGI("output EOS on track %zu", trackIndex); in onMessageReceived() 514 ssize_t index = mTracks.indexOfKey(trackIndex); in onMessageReceived() 581 size_t trackIndex; in onMessageReceived() local 582 CHECK(msg->findSize("trackIndex", &trackIndex)); in onMessageReceived() 585 ALOGI("Track %zu stopped", trackIndex); in onMessageReceived() 587 sp<Track> track = mTracks.valueFor(trackIndex); in onMessageReceived() 589 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/ |
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()
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | RTSPSource.cpp | 617 size_t trackIndex; in onMessageReceived() local 618 CHECK(msg->findSize("trackIndex", &trackIndex)); in onMessageReceived() 621 CHECK_LT(trackIndex, mTracks.size()); in onMessageReceived() 623 CHECK_EQ(trackIndex, 0u); in onMessageReceived() 661 TrackInfo *info = &mTracks.editItemAt(trackIndex); in onMessageReceived() 699 size_t trackIndex; in onMessageReceived() local 700 CHECK(msg->findSize("trackIndex", &trackIndex)); in onMessageReceived() 701 CHECK_LT(trackIndex, mTracks.size()); in onMessageReceived() 703 TrackInfo *info = &mTracks.editItemAt(trackIndex); in onMessageReceived() 714 size_t trackIndex; in onMessageReceived() local [all …]
|
D | GenericSource.cpp | 596 int32_t trackIndex; in onMessageReceived() local 597 CHECK(msg->findInt32("trackIndex", &trackIndex)); in onMessageReceived() 598 const sp<IMediaSource> source = mSources.itemAt(trackIndex); in onMessageReceived() 622 track->mIndex = trackIndex; in onMessageReceived() 935 sp<AMessage> NuPlayer::GenericSource::getTrackInfo(size_t trackIndex) const { in getTrackInfo() 937 msg->setSize("trackIndex", trackIndex); in getTrackInfo() 951 size_t trackIndex; in onGetTrackInfo() local 952 CHECK(msg->findSize("trackIndex", &trackIndex)); in onGetTrackInfo() 955 sp<AMessage> format = doGetTrackInfo(trackIndex); in onGetTrackInfo() 963 sp<AMessage> NuPlayer::GenericSource::doGetTrackInfo(size_t trackIndex) const { in doGetTrackInfo() [all …]
|
D | HTTPLiveSource.cpp | 202 sp<AMessage> NuPlayer::HTTPLiveSource::getTrackInfo(size_t trackIndex) const { in getTrackInfo() 203 return mLiveSession->getTrackInfo(trackIndex); in getTrackInfo() 218 status_t NuPlayer::HTTPLiveSource::selectTrack(size_t trackIndex, bool select, int64_t /*timeUs*/) { in selectTrack() argument 225 if (!mHasMetadata || trackIndex != mLiveSession->getTrackCount() - 1) { in selectTrack() 226 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 | 75 virtual sp<AMessage> getTrackInfo(size_t trackIndex) const; 77 virtual status_t selectTrack(size_t trackIndex, bool select, int64_t timeUs); 268 sp<AMessage> doGetTrackInfo(size_t trackIndex) const; 274 status_t doSelectTrack(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/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()
|