Home
last modified time | relevance | path

Searched refs:AnotherPacketSource (Results 1 – 22 of 22) sorted by relevance

/frameworks/av/media/libstagefright/mpeg2ts/
DAnotherPacketSource.cpp40 AnotherPacketSource::AnotherPacketSource(const sp<MetaData> &meta) in AnotherPacketSource() function in android::AnotherPacketSource
55 void AnotherPacketSource::setFormat(const sp<MetaData> &meta) { in setFormat()
81 AnotherPacketSource::~AnotherPacketSource() { in ~AnotherPacketSource()
84 status_t AnotherPacketSource::start(MetaData * /* params */) { in start()
88 status_t AnotherPacketSource::stop() { in stop()
92 sp<MetaData> AnotherPacketSource::getFormat() { in getFormat()
115 status_t AnotherPacketSource::dequeueAccessUnit(sp<ABuffer> *buffer) { in dequeueAccessUnit()
159 void AnotherPacketSource::requeueAccessUnit(const sp<ABuffer> &buffer) { in requeueAccessUnit()
165 status_t AnotherPacketSource::read( in read()
274 bool AnotherPacketSource::wasFormatChange( in wasFormatChange()
[all …]
DAnotherPacketSource.h32 struct AnotherPacketSource : public MediaSource { struct
33 explicit AnotherPacketSource(const sp<MetaData> &meta);
89 virtual ~AnotherPacketSource();
127 DISALLOW_EVIL_CONSTRUCTORS(AnotherPacketSource); argument
DATSParser.h42 struct AnotherPacketSource;
85 void init(off64_t offset, const sp<AnotherPacketSource> &source,
91 const sp<AnotherPacketSource> &getMediaSource() const { return mMediaSource; } in getMediaSource()
104 sp<AnotherPacketSource> mMediaSource;
130 sp<AnotherPacketSource> getSource(SourceType type);
DAndroid.bp5 "AnotherPacketSource.cpp",
DATSParser.cpp85 sp<AnotherPacketSource> getSource(SourceType type);
175 sp<AnotherPacketSource> getSource(SourceType type);
200 sp<AnotherPacketSource> mSource;
284 void ATSParser::SyncEvent::init(off64_t offset, const sp<AnotherPacketSource> &source, in init()
785 sp<AnotherPacketSource> ATSParser::Program::getSource(SourceType type) { in getSource()
787 sp<AnotherPacketSource> source = mStreams.editValueAt(i)->getSource(type); in getSource()
962 mSource = new AnotherPacketSource(meta); in Stream()
1770 mSource = new AnotherPacketSource(meta); in onPayloadData()
1823 sp<AnotherPacketSource> ATSParser::Stream::getSource(SourceType type) { in getSource()
2258 sp<AnotherPacketSource> ATSParser::getSource(SourceType type) { in getSource()
[all …]
/frameworks/av/media/libstagefright/httplive/
DPlaylistFetcher.h30 struct AnotherPacketSource;
67 const sp<AnotherPacketSource> &audioSource,
68 const sp<AnotherPacketSource> &videoSource,
69 const sp<AnotherPacketSource> &subtitleSource,
70 const sp<AnotherPacketSource> &metadataSource,
138 KeyedVector<LiveSession::StreamType, sp<AnotherPacketSource> >
175 sp<AnotherPacketSource> mVideoBuffer;
240 const sp<AnotherPacketSource> &source,
DLiveSession.h33 struct AnotherPacketSource;
225 KeyedVector<StreamType, sp<AnotherPacketSource> > mPacketSources;
227 KeyedVector<StreamType, sp<AnotherPacketSource> > mPacketSources2;
263 sp<AnotherPacketSource> getPacketSourceForStreamIndex(size_t trackIndex, bool newUri);
264 sp<AnotherPacketSource> getMetadataSource(
265 sp<AnotherPacketSource> sources[kNumSources], uint32_t streamMask, bool newUri);
DPlaylistFetcher.cpp175 mVideoBuffer(new AnotherPacketSource(NULL)), in PlaylistFetcher()
548 const sp<AnotherPacketSource> &audioSource, in startAsync()
549 const sp<AnotherPacketSource> &videoSource, in startAsync()
550 const sp<AnotherPacketSource> &subtitleSource, in startAsync()
551 const sp<AnotherPacketSource> &metadataSource, in startAsync()
727 static_cast<AnotherPacketSource *>(ptr)); in onStart()
736 static_cast<AnotherPacketSource *>(ptr)); in onStart()
745 static_cast<AnotherPacketSource *>(ptr)); in onStart()
754 static_cast<AnotherPacketSource *>(ptr)); in onStart()
801 sp<AnotherPacketSource> packetSource = mPacketSources.valueAt(i); in onStop()
[all …]
DLiveSession.cpp313 mPacketSources.add(indexToType(i), new AnotherPacketSource(NULL /* meta */)); in LiveSession()
314 mPacketSources2.add(indexToType(i), new AnotherPacketSource(NULL /* meta */)); in LiveSession()
341 sp<AnotherPacketSource> packetSource = mPacketSources.valueFor(stream); in dequeueAccessUnit()
474 sp<AnotherPacketSource> packetSource = mPacketSources.valueFor(stream); in getStreamFormatMeta()
554 sp<AnotherPacketSource> &source = mPacketSources.editValueAt(i); in checkSwitchProgress()
1203 sp<AnotherPacketSource> LiveSession::getPacketSourceForStreamIndex( in getPacketSourceForStreamIndex()
1206 sp<AnotherPacketSource> source = NULL; in getPacketSourceForStreamIndex()
1216 sp<AnotherPacketSource> LiveSession::getMetadataSource( in getMetadataSource()
1217 sp<AnotherPacketSource> sources[kNumSources], uint32_t streamMask, bool newUri) { in getMetadataSource()
1242 sp<AnotherPacketSource> sources[kNumSources]; in resumeFetcher()
[all …]
/frameworks/av/media/extractors/mpeg2/
DMPEG2TSExtractor.h35 struct AnotherPacketSource;
71 Vector<sp<AnotherPacketSource> > mSourceImpls;
83 void addSource(const sp<AnotherPacketSource> &impl);
97 status_t feedUntilBufferAvailable(const sp<AnotherPacketSource> &impl);
98 status_t findIndexOfSource(const sp<AnotherPacketSource> &impl, size_t *index);
DMPEG2TSExtractor.cpp57 const sp<AnotherPacketSource> &impl,
70 sp<AnotherPacketSource> mImpl;
81 const sp<AnotherPacketSource> &impl, in MPEG2TSSource()
311 status_t MPEG2TSExtractor::findIndexOfSource(const sp<AnotherPacketSource> &impl, size_t *index) { in findIndexOfSource()
321 void MPEG2TSExtractor::addSource(const sp<AnotherPacketSource> &impl) { in addSource()
344 sp<AnotherPacketSource> impl = mParser->getSource(ATSParser::VIDEO); in init()
361 sp<AnotherPacketSource> impl = mParser->getSource(ATSParser::AUDIO); in init()
435 sp<AnotherPacketSource> impl = mParser->getSource(type); in init()
568 sp<AnotherPacketSource> src = mParser->getSource(type); in estimateDurationsFromTimesUsAtEnd()
596 sp<AnotherPacketSource> src = mParser->getSource(t); in estimateDurationsFromTimesUsAtEnd()
[all …]
DMPEG2PSExtractor.cpp65 sp<AnotherPacketSource> mSource;
773 mSource = new AnotherPacketSource(meta); in appendPESData()
/frameworks/av/media/libmediaplayer2/nuplayer2/
DRTSPSource2.h29 struct AnotherPacketSource;
88 sp<AnotherPacketSource> mSource;
118 sp<AnotherPacketSource> mAudioTrack;
119 sp<AnotherPacketSource> mVideoTrack;
130 sp<AnotherPacketSource> getSource(bool audio);
DRTSPSource2.cpp158 sp<AnotherPacketSource> source = getSource(audio); in getFormatMeta()
209 sp<AnotherPacketSource> source = getSource(audio); in dequeueAccessUnit()
255 sp<AnotherPacketSource> NuPlayer2::RTSPSource2::getSource(bool audio) { in getSource()
260 return static_cast<AnotherPacketSource *>(source.get()); in getSource()
337 sp<AnotherPacketSource> src = info->mSource; in checkBuffering()
421 sp<AnotherPacketSource> source = getSource(audio); in signalSourceEOS()
433 sp<AnotherPacketSource> source = getSource(audio); in sourceReachedEOS()
441 sp<AnotherPacketSource> source = getSource(audio); in sourceNearEOS()
553 sp<AnotherPacketSource> source = getSource(true /* audio */); in onMessageReceived()
627 sp<AnotherPacketSource> source = info->mSource; in onMessageReceived()
[all …]
DGenericSource2.h35 struct AnotherPacketSource;
127 sp<AnotherPacketSource> mPackets;
194 int32_t curGen, const sp<AnotherPacketSource>& packets, const sp<AMessage>& msg);
202 int32_t curGen, const sp<AnotherPacketSource>& packets, const sp<AMessage>& msg);
DGenericSource2.cpp219 mAudioTrack.mPackets = new AnotherPacketSource(meta); in initFromDataSource()
234 mVideoTrack.mPackets = new AnotherPacketSource(meta); in initFromDataSource()
600 const sp<AnotherPacketSource>& packets, in fetchTextData()
637 const sp<AnotherPacketSource>& packets, in sendTextData()
949 track->mPackets = new AnotherPacketSource(meta); in selectTrack()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DRTSPSource.h29 struct AnotherPacketSource;
89 sp<AnotherPacketSource> mSource;
120 sp<AnotherPacketSource> mAudioTrack;
121 sp<AnotherPacketSource> mVideoTrack;
132 sp<AnotherPacketSource> getSource(bool audio);
DStreamingSource.cpp191 sp<AnotherPacketSource> audioTrack = getSource(true /*audio*/); in haveSufficientDataOnAllTracks()
192 sp<AnotherPacketSource> videoTrack = getSource(false /*audio*/); in haveSufficientDataOnAllTracks()
222 sp<AnotherPacketSource> NuPlayer::StreamingSource::getSource(bool audio) { in getSource()
230 return static_cast<AnotherPacketSource *>(source.get()); in getSource()
234 sp<AnotherPacketSource> source = getSource(audio); in getFormat()
256 sp<AnotherPacketSource> source = getSource(audio); in dequeueAccessUnit()
DRTSPSource.cpp159 sp<AnotherPacketSource> source = getSource(audio); in getFormatMeta()
210 sp<AnotherPacketSource> source = getSource(audio); in dequeueAccessUnit()
256 sp<AnotherPacketSource> NuPlayer::RTSPSource::getSource(bool audio) { in getSource()
261 return static_cast<AnotherPacketSource *>(source.get()); in getSource()
338 sp<AnotherPacketSource> src = info->mSource; in checkBuffering()
422 sp<AnotherPacketSource> source = getSource(audio); in signalSourceEOS()
434 sp<AnotherPacketSource> source = getSource(audio); in sourceReachedEOS()
442 sp<AnotherPacketSource> source = getSource(audio); in sourceNearEOS()
554 sp<AnotherPacketSource> source = getSource(true /* audio */); in onMessageReceived()
628 sp<AnotherPacketSource> source = info->mSource; in onMessageReceived()
[all …]
DStreamingSource.h28 struct AnotherPacketSource;
69 sp<AnotherPacketSource> getSource(bool audio);
DGenericSource.h32 struct AnotherPacketSource;
124 sp<AnotherPacketSource> mPackets;
194 int32_t curGen, const sp<AnotherPacketSource>& packets, const sp<AMessage>& msg);
202 int32_t curGen, const sp<AnotherPacketSource>& packets, const sp<AMessage>& msg);
DGenericSource.cpp237 new AnotherPacketSource(mAudioTrack.mSource->getFormat()); in initFromDataSource()
252 new AnotherPacketSource(mVideoTrack.mSource->getFormat()); in initFromDataSource()
734 const sp<AnotherPacketSource>& packets, in fetchTextData()
771 const sp<AnotherPacketSource>& packets, in sendTextData()
1080 track->mPackets = new AnotherPacketSource(track->mSource->getFormat()); in selectTrack()