Searched defs:trackIndex (Results 1 - 13 of 13) sorted by relevance

/frameworks/av/media/libstagefright/rtsp/
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);
H A DMyHandler.h495 size_t trackIndex; local
496 if (msg->findSize("track-index", &trackIndex)) {
497 track = &mTracks.editItemAt(trackIndex);
556 notify->setSize("track-index", trackIndex);
594 mTracks.removeItemsAt(trackIndex);
815 size_t trackIndex; local
816 CHECK(msg->findSize("track-index", &trackIndex));
823 onTimeUpdate(trackIndex, rtpTime, ntpTime);
841 size_t trackIndex; local
842 CHECK(msg->findSize("track-index", &trackIndex));
1131 size_t trackIndex = 0; local
1375 onTimeUpdate(int32_t trackIndex, uint32_t rtpTime, uint64_t ntpTime) argument
1407 onAccessUnitComplete( int32_t trackIndex, const sp<ABuffer> &accessUnit) argument
1451 addMediaTimestamp( int32_t trackIndex, const TrackInfo *track, const sp<ABuffer> &accessUnit) argument
1483 postQueueAccessUnit( size_t trackIndex, const sp<ABuffer> &accessUnit) argument
1492 postQueueEOS(size_t trackIndex, status_t finalResult) argument
1500 postQueueSeekDiscontinuity(size_t trackIndex) argument
1507 postNormalPlayTimeMapping( size_t trackIndex, uint32_t rtpTime, int64_t nptUs) argument
[all...]
/frameworks/av/media/libstagefright/timedtext/
H A DTimedTextDriver.cpp188 size_t trackIndex, const sp<MediaSource>& mediaSource) {
195 mTextSourceVector.add(trackIndex, source);
201 size_t trackIndex, const char *uri, const char *mimeType) {
211 return createOutOfBandTextSource(trackIndex, mimeType, dataSource);
215 size_t trackIndex, int fd, off64_t offset, off64_t length, const char *mimeType) {
223 return createOutOfBandTextSource(trackIndex, mimeType, dataSource);
227 size_t trackIndex,
247 mTextSourceVector.add(trackIndex, source);
187 addInBandTextSource( size_t trackIndex, const sp<MediaSource>& mediaSource) argument
200 addOutOfBandTextSource( size_t trackIndex, const char *uri, const char *mimeType) argument
214 addOutOfBandTextSource( size_t trackIndex, int fd, off64_t offset, off64_t length, const char *mimeType) argument
226 createOutOfBandTextSource( size_t trackIndex, const char *mimeType, const sp<DataSource>& dataSource) argument
/frameworks/av/cmds/stagefright/
H A DSimplePlayer.cpp467 size_t trackIndex; local
468 status_t err = mExtractor->getSampleTrackIndex(&trackIndex);
474 CodecState *state = &mStateByTrackIndex.editValueFor(trackIndex);
501 ALOGV("enqueued input data on track %d", trackIndex);
568 size_t trackIndex, CodecState *state) {
567 onOutputFormatChanged( size_t trackIndex, CodecState *state) argument
H A Dcodec.cpp155 size_t trackIndex; local
156 status_t err = extractor->getSampleTrackIndex(&trackIndex);
162 CodecState *state = &stateByTrack.editValueFor(trackIndex);
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DRTSPSource.cpp264 size_t trackIndex; local
265 CHECK(msg->findSize("trackIndex", &trackIndex));
268 CHECK_LT(trackIndex, mTracks.size());
270 CHECK_EQ(trackIndex, 0u);
314 TrackInfo *info = &mTracks.editItemAt(trackIndex);
361 size_t trackIndex; local
362 CHECK(msg->findSize("trackIndex", &trackIndex));
363 CHECK_LT(trackIndex, mTrack
376 size_t trackIndex; local
391 size_t trackIndex; local
[all...]
/frameworks/av/media/libstagefright/
H A DNuMediaExtractor.cpp461 status_t NuMediaExtractor::getSampleTrackIndex(size_t *trackIndex) { argument
471 *trackIndex = info->mTrackIndex;
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 DAwesomePlayer.cpp1371 void AwesomePlayer::addTextSource_l(size_t trackIndex, const sp<MediaSource>& source) { argument
1378 mTextDriver->addInBandTextSource(trackIndex, source);
2368 const sp<MediaSource>& source, size_t trackIndex) {
2370 ALOGI("selectAudioTrack_l: trackIndex=%d, mFlags=0x%x", trackIndex, mFlags);
2374 if ((ssize_t)trackIndex == mActiveAudioTrackIndex) {
2375 ALOGI("Track %d is active. Does nothing.", trackIndex);
2433 mActiveAudioTrackIndex = trackIndex;
2438 status_t AwesomePlayer::selectTrack(size_t trackIndex, bool select) { argument
2440 ALOGV("selectTrack: trackIndex
2367 selectAudioTrack_l( const sp<MediaSource>& source, size_t trackIndex) argument
2567 int trackIndex = request.readInt32(); local
2572 int trackIndex = request.readInt32(); local
[all...]
/frameworks/av/media/libstagefright/wifi-display/source/
H A DPlaybackSession.cpp437 size_t trackIndex; local
438 CHECK(msg->findSize("trackIndex", &trackIndex));
441 const sp<Track> &track = mTracks.valueFor(trackIndex);
478 ALOGI("output EOS on track %d", trackIndex);
480 ssize_t index = mTracks.indexOfKey(trackIndex);
532 size_t trackIndex; local
533 CHECK(msg->findSize("trackIndex", &trackIndex));
536 ALOGI("Track %d stopped", trackIndex);
563 size_t trackIndex; local
622 size_t trackIndex; local
769 packetizeAccessUnit( size_t trackIndex, const sp<ABuffer> &accessUnit, sp<ABuffer> *packets) argument
884 size_t trackIndex = mTracks.keyAt(i); local
[all...]
H A DTSPacketizer.cpp392 size_t trackIndex,
405 if (trackIndex >= mTracks.size()) {
409 const sp<Track> &track = mTracks.itemAt(trackIndex);
847 size_t trackIndex, const sp<ABuffer> &accessUnit) const {
848 CHECK_LT(trackIndex, mTracks.size());
850 const sp<Track> &track = mTracks.itemAt(trackIndex);
391 packetize( size_t trackIndex, const sp<ABuffer> &_accessUnit, sp<ABuffer> *packets, uint32_t flags, const uint8_t *PES_private_data, size_t PES_private_data_len, size_t numStuffingBytes) argument
846 prependCSD( size_t trackIndex, const sp<ABuffer> &accessUnit) const argument
/frameworks/base/media/jni/
H A Dandroid_media_MediaExtractor.cpp239 status_t JMediaExtractor::getSampleTrackIndex(size_t *trackIndex) { argument
240 return mImpl->getSampleTrackIndex(trackIndex);
446 size_t trackIndex; local
447 status_t err = extractor->getSampleTrackIndex(&trackIndex);
456 return trackIndex;
/frameworks/av/media/libstagefright/mp4/
H A DFragmentedMP4Parser.cpp311 ssize_t trackIndex = findTrack(wantAudio); local
312 if (trackIndex < 0) {
313 err = trackIndex;
315 TrackInfo *info = &mTracks.editValueAt(trackIndex);
485 ssize_t trackIndex = findTrack(wantAudio); local
487 if (trackIndex < 0) {
488 err = trackIndex;
490 TrackInfo *info = &mTracks.editValueAt(trackIndex);
523 ssize_t trackIndex = findTrack(wantAudio); local
525 if (trackIndex <
556 ssize_t trackIndex = findTrack(wantAudio); local
832 onDequeueAccessUnit( size_t trackIndex, sp<ABuffer> *accessUnit) argument
[all...]

Completed in 227 milliseconds