Searched refs:trackIndex (Results 1 - 25 of 45) sorted by relevance

12

/frameworks/av/include/media/stagefright/
H A DAVIExtractor.h97 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);
H A DMediaMuxer.h109 * @param trackIndex the buffer's track index number.
115 status_t writeSampleData(const sp<ABuffer> &buffer, size_t trackIndex,
/frameworks/av/media/libstagefright/foundation/include/
H A DAVIExtractor.h97 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);
H A DMediaMuxer.h109 * @param trackIndex the buffer's track index number.
115 status_t writeSampleData(const sp<ABuffer> &buffer, size_t trackIndex,
/frameworks/av/media/libstagefright/include/
H A DAVIExtractor.h97 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);
H A DMediaMuxer.h109 * @param trackIndex the buffer's track index number.
115 status_t writeSampleData(const sp<ABuffer> &buffer, size_t trackIndex,
/frameworks/av/media/libstagefright/wifi-display/source/
H A DTSPacketizer.h41 // Returns trackIndex or error.
51 size_t trackIndex, const sp<ABuffer> &accessUnit,
57 status_t extractCSDIfNecessary(size_t trackIndex);
62 size_t trackIndex, const sp<ABuffer> &accessUnit) const;
H A DPlaybackSession.cpp403 -1 /* trackIndex */,
492 size_t trackIndex; local
493 CHECK(msg->findSize("trackIndex", &trackIndex));
499 const sp<Track> &track = mTracks.valueFor(trackIndex);
512 ALOGI("output EOS on track %zu", trackIndex);
514 ssize_t index = mTracks.indexOfKey(trackIndex);
581 size_t trackIndex; local
582 CHECK(msg->findSize("trackIndex", &trackIndex));
786 size_t trackIndex = mTracks.size(); local
862 size_t trackIndex; local
936 size_t trackIndex; local
[all...]
/frameworks/av/media/libstagefright/wifi-display/
H A DMediaSender.cpp89 ssize_t trackIndex,
96 if (trackIndex < 0) {
163 if ((size_t)trackIndex >= mTrackInfos.size()) {
167 TrackInfo *info = &mTrackInfos.editItemAt(trackIndex);
175 notify->setSize("trackIndex", trackIndex);
205 size_t trackIndex, const sp<ABuffer> &accessUnit) {
210 if (trackIndex >= mTrackInfos.size()) {
215 TrackInfo *info = &mTrackInfos.editItemAt(trackIndex);
276 TrackInfo *info = &mTrackInfos.editItemAt(trackIndex);
88 initAsync( ssize_t trackIndex, const char *remoteHost, int32_t remoteRTPPort, RTPSender::TransportMode rtpMode, int32_t remoteRTCPPort, RTPSender::TransportMode rtcpMode, int32_t *localRTPPort) argument
204 queueAccessUnit( size_t trackIndex, const sp<ABuffer> &accessUnit) argument
388 packetizeAccessUnit( size_t trackIndex, sp<ABuffer> accessUnit, sp<ABuffer> *tsPackets) argument
[all...]
H A DMediaSender.h60 // If trackIndex == -1, initialize for transport stream muxing.
62 ssize_t trackIndex,
71 size_t trackIndex, const sp<ABuffer> &accessUnit);
122 size_t trackIndex,
/frameworks/base/media/java/android/media/
H A DMediaMuxer.java290 long nativeObject, int trackIndex, @NonNull ByteBuffer byteBuf,
603 int trackIndex = -1;
619 trackIndex = nativeAddTrack(mNativeObject, keys, values);
625 // However, if format is invalid, it will get a negative trackIndex.
626 if (mLastTrackIndex >= trackIndex) {
629 mLastTrackIndex = trackIndex;
630 return trackIndex;
640 * @param trackIndex The track index for this sample.
642 * @throws IllegalArgumentException if trackIndex, byteBuf or bufferInfo is invalid.
647 public void writeSampleData(int trackIndex, argument
289 nativeWriteSampleData( long nativeObject, int trackIndex, @NonNull ByteBuffer byteBuf, int offset, int size, long presentationTimeUs, @MediaCodec.BufferFlag int flags) argument
[all...]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
H A DVideoTrackDecoder.java35 protected VideoTrackDecoder(int trackIndex, MediaFormat format, Listener listener) { argument
36 super(trackIndex, format, listener);
H A DAudioTrackDecoder.java45 public AudioTrackDecoder(int trackIndex, MediaFormat format, Listener listener) { argument
46 super(trackIndex, format, listener);
H A DTrackDecoder.java69 protected TrackDecoder(int trackIndex, MediaFormat mediaFormat, Listener listener) { argument
70 mTrackIndex = trackIndex;
H A DGpuVideoTrackDecoder.java68 int trackIndex, MediaFormat format, Listener listener) {
69 super(trackIndex, format, listener);
67 GpuVideoTrackDecoder( int trackIndex, MediaFormat format, Listener listener) argument
/frameworks/av/media/libstagefright/rtsp/
H A DMyHandler.h658 size_t trackIndex; local
659 if (msg->findSize("track-index", &trackIndex)) {
660 track = &mTracks.editItemAt(trackIndex);
719 notify->setSize("track-index", trackIndex);
763 mTracks.removeItemsAt(trackIndex);
990 size_t trackIndex; local
991 CHECK(msg->findSize("track-index", &trackIndex));
998 onTimeUpdate(trackIndex, rtpTime, ntpTime);
1016 size_t trackIndex; local
1017 CHECK(msg->findSize("track-index", &trackIndex));
1475 size_t trackIndex = 0; local
1753 onTimeUpdate(int32_t trackIndex, uint32_t rtpTime, uint64_t ntpTime) argument
1802 processAccessUnitQueue(int32_t trackIndex) argument
1857 onAccessUnitComplete( int32_t trackIndex, const sp<ABuffer> &accessUnit) argument
1887 addMediaTimestamp( int32_t trackIndex, const TrackInfo *track, const sp<ABuffer> &accessUnit) argument
1921 postQueueAccessUnit( size_t trackIndex, const sp<ABuffer> &accessUnit) argument
1930 postQueueEOS(size_t trackIndex, status_t finalResult) argument
1938 postQueueSeekDiscontinuity(size_t trackIndex) argument
1945 postNormalPlayTimeMapping( size_t trackIndex, uint32_t rtpTime, int64_t nptUs) argument
[all...]
H A DARTPSession.cpp138 size_t trackIndex; local
139 CHECK(msg->findSize("track-index", &trackIndex));
143 TrackInfo *info = &mTracks.editItemAt(trackIndex);
186 TrackInfo *info = &mTracks.editItemAt(trackIndex);
/frameworks/av/media/libstagefright/
H A DAVIExtractor.cpp39 AVISource(const sp<AVIExtractor> &extractor, size_t trackIndex);
90 const sp<AVIExtractor> &extractor, size_t trackIndex)
92 mTrackIndex(trackIndex),
93 mTrack(mExtractor->mTracks.itemAt(trackIndex)),
724 ssize_t trackIndex, Track::Kind kind, uint32_t chunkType) {
749 if (trackIndex < 0) {
760 if (trackIndex != (10 * (hi - '0') + (lo - '0'))) {
791 size_t trackIndex = 10 * (hi - '0') + (lo - '0'); local
793 if (trackIndex >= mTracks.size()) {
797 Track *track = &mTracks.editItemAt(trackIndex);
89 AVISource( const sp<AVIExtractor> &extractor, size_t trackIndex) argument
723 IsCorrectChunkType( ssize_t trackIndex, Track::Kind kind, uint32_t chunkType) argument
999 addMPEG4CodecSpecificData(size_t trackIndex) argument
1047 addH264CodecSpecificData(size_t trackIndex) argument
1104 getSampleInfo( size_t trackIndex, size_t sampleIndex, off64_t *offset, size_t *size, bool *isKey, int64_t *sampleTimeUs) argument
1163 getSampleTime( size_t trackIndex, size_t sampleIndex, int64_t *sampleTimeUs) argument
1172 getSampleIndexAtTime( size_t trackIndex, int64_t timeUs, MediaSource::ReadOptions::SeekMode mode, size_t *sampleIndex) const argument
[all...]
H A DMediaMuxer.cpp149 status_t MediaMuxer::writeSampleData(const sp<ABuffer> &buffer, size_t trackIndex, argument
163 if (trackIndex >= mTrackList.size()) {
164 ALOGE("WriteSampleData() get an invalid index %zu", trackIndex);
182 sp<MediaAdapter> currentTrack = mTrackList[trackIndex];
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DHTTPLiveSource.h51 virtual sp<AMessage> getTrackInfo(size_t trackIndex) const;
53 virtual status_t selectTrack(size_t trackIndex, bool select, int64_t timeUs);
H A DRTSPSource.cpp617 size_t trackIndex; local
618 CHECK(msg->findSize("trackIndex", &trackIndex));
621 CHECK_LT(trackIndex, mTracks.size());
623 CHECK_EQ(trackIndex, 0u);
661 TrackInfo *info = &mTracks.editItemAt(trackIndex);
699 size_t trackIndex; local
700 CHECK(msg->findSize("trackIndex", &trackIndex));
701 CHECK_LT(trackIndex, mTrack
714 size_t trackIndex; local
732 size_t trackIndex; local
[all...]
H A DGenericSource.cpp596 int32_t trackIndex; local
597 CHECK(msg->findInt32("trackIndex", &trackIndex));
598 const sp<IMediaSource> source = mSources.itemAt(trackIndex);
622 track->mIndex = trackIndex;
935 sp<AMessage> NuPlayer::GenericSource::getTrackInfo(size_t trackIndex) const {
937 msg->setSize("trackIndex", trackIndex);
951 size_t trackIndex; local
952 CHECK(msg->findSize("trackIndex",
1067 selectTrack(size_t trackIndex, bool select, int64_t timeUs) argument
1084 int32_t trackIndex, select; local
1099 doSelectTrack(size_t trackIndex, bool select, int64_t timeUs) argument
[all...]
/frameworks/base/media/jni/
H A Dandroid_media_MediaMuxer.cpp66 jint trackIndex = muxer->addTrack(trackformat); local
68 if (trackIndex < 0) {
73 return trackIndex;
77 JNIEnv *env, jclass /* clazz */, jlong nativeObject, jint trackIndex,
124 status_t err = muxer->writeSampleData(buffer, trackIndex, timeUs, flags);
76 android_media_MediaMuxer_writeSampleData( JNIEnv *env, jclass , jlong nativeObject, jint trackIndex, jobject byteBuf, jint offset, jint size, jlong timeUs, jint flags) argument
/frameworks/base/core/jni/
H A Dandroid_media_JetPlayer.cpp320 for (jint trackIndex=0; trackIndex<maxTracks; trackIndex++) {
321 if (muteTracks[maxTracks-1-trackIndex]==JNI_TRUE)
391 for (jint trackIndex=0; trackIndex<maxTracks; trackIndex++) {
392 if (muteTracks[maxTracks-1-trackIndex]==JNI_TRUE)
/frameworks/av/cmds/stagefright/
H A Dmuxer.cpp158 size_t trackIndex = -1; local
165 status_t err = extractor->getSampleTrackIndex(&trackIndex);
170 } else if (trackIndexMap.indexOfKey(trackIndex) < 0) {
171 // ALOGV("skipping input from unsupported track %zu", trackIndex);
175 // ALOGV("reading sample from track index %zu\n", trackIndex);
209 trackIndexMap.valueFor(trackIndex),

Completed in 328 milliseconds

12