Home
last modified time | relevance | path

Searched refs:AnotherPacketSource (Results 1 – 19 of 19) 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.cpp176 mVideoBuffer(new AnotherPacketSource(NULL)), in PlaylistFetcher()
549 const sp<AnotherPacketSource> &audioSource, in startAsync()
550 const sp<AnotherPacketSource> &videoSource, in startAsync()
551 const sp<AnotherPacketSource> &subtitleSource, in startAsync()
552 const sp<AnotherPacketSource> &metadataSource, in startAsync()
728 static_cast<AnotherPacketSource *>(ptr)); in onStart()
737 static_cast<AnotherPacketSource *>(ptr)); in onStart()
746 static_cast<AnotherPacketSource *>(ptr)); in onStart()
755 static_cast<AnotherPacketSource *>(ptr)); in onStart()
802 sp<AnotherPacketSource> packetSource = mPacketSources.valueAt(i); in onStop()
[all …]
DLiveSession.cpp314 mPacketSources.add(indexToType(i), new AnotherPacketSource(NULL /* meta */)); in LiveSession()
315 mPacketSources2.add(indexToType(i), new AnotherPacketSource(NULL /* meta */)); in LiveSession()
342 sp<AnotherPacketSource> packetSource = mPacketSources.valueFor(stream); in dequeueAccessUnit()
475 sp<AnotherPacketSource> packetSource = mPacketSources.valueFor(stream); in getStreamFormatMeta()
555 sp<AnotherPacketSource> &source = mPacketSources.editValueAt(i); in checkSwitchProgress()
1204 sp<AnotherPacketSource> LiveSession::getPacketSourceForStreamIndex( in getPacketSourceForStreamIndex()
1207 sp<AnotherPacketSource> source = NULL; in getPacketSourceForStreamIndex()
1217 sp<AnotherPacketSource> LiveSession::getMetadataSource( in getMetadataSource()
1218 sp<AnotherPacketSource> sources[kNumSources], uint32_t streamMask, bool newUri) { in getMetadataSource()
1243 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.cpp56 const sp<AnotherPacketSource> &impl,
69 sp<AnotherPacketSource> mImpl;
80 const sp<AnotherPacketSource> &impl, in MPEG2TSSource()
310 status_t MPEG2TSExtractor::findIndexOfSource(const sp<AnotherPacketSource> &impl, size_t *index) { in findIndexOfSource()
320 void MPEG2TSExtractor::addSource(const sp<AnotherPacketSource> &impl) { in addSource()
343 sp<AnotherPacketSource> impl = mParser->getSource(ATSParser::VIDEO); in init()
360 sp<AnotherPacketSource> impl = mParser->getSource(ATSParser::AUDIO); in init()
434 sp<AnotherPacketSource> impl = mParser->getSource(type); in init()
567 sp<AnotherPacketSource> src = mParser->getSource(type); in estimateDurationsFromTimesUsAtEnd()
595 sp<AnotherPacketSource> src = mParser->getSource(t); in estimateDurationsFromTimesUsAtEnd()
[all …]
DMPEG2PSExtractor.cpp64 sp<AnotherPacketSource> mSource;
778 mSource = new AnotherPacketSource(meta); in appendPESData()
/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.cpp194 sp<AnotherPacketSource> audioTrack = getSource(true /*audio*/); in haveSufficientDataOnAllTracks()
195 sp<AnotherPacketSource> videoTrack = getSource(false /*audio*/); in haveSufficientDataOnAllTracks()
225 sp<AnotherPacketSource> NuPlayer::StreamingSource::getSource(bool audio) { in getSource()
233 return static_cast<AnotherPacketSource *>(source.get()); in getSource()
237 sp<AnotherPacketSource> source = getSource(audio); in getFormat()
259 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 …]
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);
DStreamingSource.h28 struct AnotherPacketSource;
69 sp<AnotherPacketSource> getSource(bool audio);
DGenericSource.cpp237 new AnotherPacketSource(mAudioTrack.mSource->getFormat()); in initFromDataSource()
252 new AnotherPacketSource(mVideoTrack.mSource->getFormat()); in initFromDataSource()
736 const sp<AnotherPacketSource>& packets, in fetchTextData()
773 const sp<AnotherPacketSource>& packets, in sendTextData()
1082 track->mPackets = new AnotherPacketSource(track->mSource->getFormat()); in selectTrack()
/frameworks/av/media/libstagefright/mpeg2ts/test/
DMpeg2tsUnitTest.cpp162 sp<AnotherPacketSource> syncPacketSource = event.getMediaSource(); in TEST_P()
186 sp<AnotherPacketSource> packetSource = mParser->getSource(currentMediaType); in TEST_P()