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()
260 bool AnotherPacketSource::wasFormatChange( in wasFormatChange()
[all …]
DATSParser.h41 struct AnotherPacketSource;
84 void init(off64_t offset, const sp<AnotherPacketSource> &source,
90 const sp<AnotherPacketSource> &getMediaSource() const { return mMediaSource; } in getMediaSource()
103 sp<AnotherPacketSource> mMediaSource;
129 sp<AnotherPacketSource> getSource(SourceType type);
DAnotherPacketSource.h32 struct AnotherPacketSource : public MediaSource { struct
33 explicit AnotherPacketSource(const sp<MetaData> &meta);
89 virtual ~AnotherPacketSource();
127 DISALLOW_EVIL_CONSTRUCTORS(AnotherPacketSource); argument
DAndroid.bp5 "AnotherPacketSource.cpp",
DATSParser.cpp84 sp<AnotherPacketSource> getSource(SourceType type);
177 sp<AnotherPacketSource> getSource(SourceType type);
201 sp<AnotherPacketSource> mSource;
282 void ATSParser::SyncEvent::init(off64_t offset, const sp<AnotherPacketSource> &source, in init()
649 sp<AnotherPacketSource> ATSParser::Program::getSource(SourceType type) { in getSource()
651 sp<AnotherPacketSource> source = mStreams.editValueAt(i)->getSource(type); in getSource()
811 mSource = new AnotherPacketSource(meta); in Stream()
1566 mSource = new AnotherPacketSource(meta); in onPayloadData()
1613 sp<AnotherPacketSource> ATSParser::Stream::getSource(SourceType type) { in getSource()
2048 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> >
174 sp<AnotherPacketSource> mVideoBuffer;
239 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.cpp173 mVideoBuffer(new AnotherPacketSource(NULL)), in PlaylistFetcher()
546 const sp<AnotherPacketSource> &audioSource, in startAsync()
547 const sp<AnotherPacketSource> &videoSource, in startAsync()
548 const sp<AnotherPacketSource> &subtitleSource, in startAsync()
549 const sp<AnotherPacketSource> &metadataSource, in startAsync()
725 static_cast<AnotherPacketSource *>(ptr)); in onStart()
734 static_cast<AnotherPacketSource *>(ptr)); in onStart()
743 static_cast<AnotherPacketSource *>(ptr)); in onStart()
752 static_cast<AnotherPacketSource *>(ptr)); in onStart()
799 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;
68 Vector<sp<AnotherPacketSource> > mSourceImpls;
80 void addSource(const sp<AnotherPacketSource> &impl);
94 status_t feedUntilBufferAvailable(const sp<AnotherPacketSource> &impl);
DMPEG2TSExtractor.cpp55 const sp<AnotherPacketSource> &impl,
68 sp<AnotherPacketSource> mImpl;
79 const sp<AnotherPacketSource> &impl, in MPEG2TSSource()
189 void MPEG2TSExtractor::addSource(const sp<AnotherPacketSource> &impl) { in addSource()
216 sp<AnotherPacketSource> impl = mParser->getSource(ATSParser::VIDEO); in init()
232 sp<AnotherPacketSource> impl = mParser->getSource(ATSParser::AUDIO); in init()
270 sp<AnotherPacketSource> impl = haveVideo in init()
428 sp<AnotherPacketSource> src = mParser->getSource(type); in estimateDurationsFromTimesUsAtEnd()
456 sp<AnotherPacketSource> src = mParser->getSource(t); in estimateDurationsFromTimesUsAtEnd()
541 const sp<AnotherPacketSource> &impl = mSourceImpls[i]; in seek()
[all …]
DMPEG2PSExtractor.cpp65 sp<AnotherPacketSource> mSource;
715 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.cpp157 sp<AnotherPacketSource> source = getSource(audio); in getFormatMeta()
208 sp<AnotherPacketSource> source = getSource(audio); in dequeueAccessUnit()
254 sp<AnotherPacketSource> NuPlayer2::RTSPSource2::getSource(bool audio) { in getSource()
259 return static_cast<AnotherPacketSource *>(source.get()); in getSource()
336 sp<AnotherPacketSource> src = info->mSource; in checkBuffering()
420 sp<AnotherPacketSource> source = getSource(audio); in signalSourceEOS()
432 sp<AnotherPacketSource> source = getSource(audio); in sourceReachedEOS()
440 sp<AnotherPacketSource> source = getSource(audio); in sourceNearEOS()
552 sp<AnotherPacketSource> source = getSource(true /* audio */); in onMessageReceived()
626 sp<AnotherPacketSource> source = info->mSource; in onMessageReceived()
[all …]
DGenericSource2.h35 struct AnotherPacketSource;
130 sp<AnotherPacketSource> mPackets;
201 int32_t curGen, const sp<AnotherPacketSource>& packets, const sp<AMessage>& msg);
209 int32_t curGen, const sp<AnotherPacketSource>& packets, const sp<AMessage>& msg);
DGenericSource2.cpp239 mAudioTrack.mPackets = new AnotherPacketSource(meta); in initFromDataSource()
254 mVideoTrack.mPackets = new AnotherPacketSource(meta); in initFromDataSource()
661 const sp<AnotherPacketSource>& packets, in fetchTextData()
698 const sp<AnotherPacketSource>& packets, in sendTextData()
1012 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;
193 int32_t curGen, const sp<AnotherPacketSource>& packets, const sp<AMessage>& msg);
201 int32_t curGen, const sp<AnotherPacketSource>& packets, const sp<AMessage>& msg);
DGenericSource.cpp224 new AnotherPacketSource(mAudioTrack.mSource->getFormat()); in initFromDataSource()
239 new AnotherPacketSource(mVideoTrack.mSource->getFormat()); in initFromDataSource()
704 const sp<AnotherPacketSource>& packets, in fetchTextData()
741 const sp<AnotherPacketSource>& packets, in sendTextData()
1050 track->mPackets = new AnotherPacketSource(track->mSource->getFormat()); in selectTrack()