Home
last modified time | relevance | path

Searched refs:AnotherPacketSource (Results 1 – 21 of 21) 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()
83 AnotherPacketSource::~AnotherPacketSource() { in ~AnotherPacketSource()
86 status_t AnotherPacketSource::start(MetaData * /* params */) { in start()
90 status_t AnotherPacketSource::stop() { in stop()
94 sp<MetaData> AnotherPacketSource::getFormat() { in getFormat()
117 status_t AnotherPacketSource::dequeueAccessUnit(sp<ABuffer> *buffer) { in dequeueAccessUnit()
161 void AnotherPacketSource::requeueAccessUnit(const sp<ABuffer> &buffer) { in requeueAccessUnit()
167 status_t AnotherPacketSource::read( in read()
276 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.bp24 "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()
550 const sp<AnotherPacketSource> &audioSource, in startAsync()
551 const sp<AnotherPacketSource> &videoSource, in startAsync()
552 const sp<AnotherPacketSource> &subtitleSource, in startAsync()
553 const sp<AnotherPacketSource> &metadataSource, in startAsync()
729 static_cast<AnotherPacketSource *>(ptr)); in onStart()
738 static_cast<AnotherPacketSource *>(ptr)); in onStart()
747 static_cast<AnotherPacketSource *>(ptr)); in onStart()
756 static_cast<AnotherPacketSource *>(ptr)); in onStart()
803 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()
313 status_t MPEG2TSExtractor::findIndexOfSource(const sp<AnotherPacketSource> &impl, size_t *index) { in findIndexOfSource()
323 void MPEG2TSExtractor::addSource(const sp<AnotherPacketSource> &impl) { in addSource()
346 sp<AnotherPacketSource> impl = mParser->getSource(ATSParser::VIDEO); in init()
363 sp<AnotherPacketSource> impl = mParser->getSource(ATSParser::AUDIO); in init()
437 sp<AnotherPacketSource> impl = mParser->getSource(type); in init()
570 sp<AnotherPacketSource> src = mParser->getSource(type); in estimateDurationsFromTimesUsAtEnd()
598 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);
DRTPSource.h48 struct AnotherPacketSource;
131 sp<AnotherPacketSource> mSource;
168 sp<AnotherPacketSource> mAudioTrack;
169 sp<AnotherPacketSource> mVideoTrack;
187 sp<AnotherPacketSource> getSource(bool audio);
DStreamingSource.cpp195 sp<AnotherPacketSource> audioTrack = getSource(true /*audio*/); in haveSufficientDataOnAllTracks()
196 sp<AnotherPacketSource> videoTrack = getSource(false /*audio*/); in haveSufficientDataOnAllTracks()
226 sp<AnotherPacketSource> NuPlayer::StreamingSource::getSource(bool audio) { in getSource()
234 return static_cast<AnotherPacketSource *>(source.get()); in getSource()
238 sp<AnotherPacketSource> source = getSource(audio); in getFormat()
260 sp<AnotherPacketSource> source = getSource(audio); in dequeueAccessUnit()
DRTSPSource.cpp167 sp<AnotherPacketSource> source = getSource(audio); in getFormatMeta()
218 sp<AnotherPacketSource> source = getSource(audio); in dequeueAccessUnit()
264 sp<AnotherPacketSource> NuPlayer::RTSPSource::getSource(bool audio) { in getSource()
269 return static_cast<AnotherPacketSource *>(source.get()); in getSource()
346 sp<AnotherPacketSource> src = info->mSource; in checkBuffering()
430 sp<AnotherPacketSource> source = getSource(audio); in signalSourceEOS()
442 sp<AnotherPacketSource> source = getSource(audio); in sourceReachedEOS()
450 sp<AnotherPacketSource> source = getSource(audio); in sourceNearEOS()
562 sp<AnotherPacketSource> source = getSource(true /* audio */); in onMessageReceived()
636 sp<AnotherPacketSource> source = info->mSource; in onMessageReceived()
[all …]
DStreamingSource.h28 struct AnotherPacketSource;
69 sp<AnotherPacketSource> getSource(bool audio);
DGenericSource.h33 struct AnotherPacketSource;
125 sp<AnotherPacketSource> mPackets;
195 int32_t curGen, const sp<AnotherPacketSource>& packets, const sp<AMessage>& msg);
203 int32_t curGen, const sp<AnotherPacketSource>& packets, const sp<AMessage>& msg);
DRTPSource.cpp153 sp<AnotherPacketSource> source = new AnotherPacketSource(format); in prepareAsync()
200 sp<AnotherPacketSource> source = getSource(audio); in getFormatMeta()
248 sp<AnotherPacketSource> source = getSource(audio); in dequeueAccessUnit()
260 sp<AnotherPacketSource> otherSource = getSource(!audio); in dequeueAccessUnit()
323 sp<AnotherPacketSource> NuPlayer::RTPSource::getSource(bool audio) { in getSource()
435 sp<AnotherPacketSource> source = info->mSource; in onMessageReceived()
DGenericSource.cpp234 new AnotherPacketSource(mAudioTrack.mSource->getFormat()); in initFromDataSource()
249 new AnotherPacketSource(mVideoTrack.mSource->getFormat()); in initFromDataSource()
724 const sp<AnotherPacketSource>& packets, in fetchTextData()
761 const sp<AnotherPacketSource>& packets, in sendTextData()
1070 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()