Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/mpeg2ts/
DCasManager.cpp31 struct ATSParser::CasManager::ProgramCasManager : public RefBase {
66 ATSParser::CasManager::ProgramCasManager::ProgramCasManager( in ProgramCasManager()
72 ATSParser::CasManager::ProgramCasManager::ProgramCasManager( in ProgramCasManager()
77 bool ATSParser::CasManager::ProgramCasManager::addStream( in addStream()
89 status_t ATSParser::CasManager::ProgramCasManager::setMediaCas( in setMediaCas()
106 bool ATSParser::CasManager::ProgramCasManager::getCasSession( in getCasSession()
124 status_t ATSParser::CasManager::ProgramCasManager::initSession( in initSession()
186 void ATSParser::CasManager::ProgramCasManager::closeSession( in closeSession()
196 void ATSParser::CasManager::ProgramCasManager::closeAllSessions( in closeAllSessions()
208 ATSParser::CasManager::CasManager() : mSystemId(-1) {} in CasManager()
[all …]
DATSParser.cpp53 struct ATSParser::Program : public RefBase {
54 Program(ATSParser *parser, unsigned programNumber, unsigned programMapPID,
117 ATSParser *mParser;
135 struct ATSParser::Stream : public RefBase {
243 struct ATSParser::PSISection : public RefBase {
268 ATSParser::SyncEvent::SyncEvent(off64_t offset) in SyncEvent()
271 void ATSParser::SyncEvent::init(off64_t offset, const sp<MediaSource> &source, in init()
280 void ATSParser::SyncEvent::reset() { in reset()
285 ATSParser::Program::Program( in Program()
286 ATSParser *parser, unsigned programNumber, unsigned programMapPID, in Program()
[all …]
DMPEG2TSExtractor.cpp117 mParser(new ATSParser), in MPEG2TSExtractor()
199 ATSParser::VIDEO).get(); in init()
217 ATSParser::AUDIO).get(); in init()
257 ATSParser::VIDEO).get() in init()
259 ATSParser::AUDIO).get(); in init()
325 ATSParser::SyncEvent event(mOffset); in feedMore()
338 void MPEG2TSExtractor::addSyncPoint_l(const ATSParser::SyncEvent &event) { in addSyncPoint_l()
386 sp<ATSParser> parser = new ATSParser(ATSParser::TS_TIMESTAMPS_ARE_ABSOLUTE); in estimateDurationsFromTimesUsAtEnd()
387 ATSParser::SyncEvent ev(0); in estimateDurationsFromTimesUsAtEnd()
411 ATSParser::SourceType type = ev.getType(); in estimateDurationsFromTimesUsAtEnd()
[all …]
DATSParser.h41 struct ATSParser : public RefBase { struct
107 explicit ATSParser(uint32_t flags = 0);
162 virtual ~ATSParser();
226 DISALLOW_EVIL_CONSTRUCTORS(ATSParser); argument
DMPEG2PSExtractor.cpp548 streamType = ATSParser::STREAMTYPE_MPEG2_AUDIO; in dequeuePES()
551 streamType = ATSParser::STREAMTYPE_MPEG2_VIDEO; in dequeuePES()
553 streamType = ATSParser::STREAMTYPE_RESERVED; in dequeuePES()
600 case ATSParser::STREAMTYPE_H264: in Track()
603 case ATSParser::STREAMTYPE_MPEG2_AUDIO_ADTS: in Track()
606 case ATSParser::STREAMTYPE_MPEG1_AUDIO: in Track()
607 case ATSParser::STREAMTYPE_MPEG2_AUDIO: in Track()
611 case ATSParser::STREAMTYPE_MPEG1_VIDEO: in Track()
612 case ATSParser::STREAMTYPE_MPEG2_VIDEO: in Track()
616 case ATSParser::STREAMTYPE_MPEG4_VIDEO: in Track()
DAndroid.mk7 ATSParser.cpp \
DCasManager.h29 struct ATSParser::CasManager : public RefBase {
DAnotherPacketSource.cpp264 return (discontinuityType & ATSParser::DISCONTINUITY_AUDIO_FORMAT) != 0; in wasFormatChange()
268 return (discontinuityType & ATSParser::DISCONTINUITY_VIDEO_FORMAT) != 0; in wasFormatChange()
346 ATSParser::DiscontinuityType type, in queueDiscontinuity()
380 if (type == ATSParser::DISCONTINUITY_NONE) { in queueDiscontinuity()
DAnotherPacketSource.h68 ATSParser::DiscontinuityType type,
/frameworks/av/media/libmediaplayerservice/nuplayer/
DStreamingSource.cpp89 uint32_t parserFlags = ATSParser::TS_TIMESTAMPS_ARE_ABSOLUTE; in start()
91 parserFlags |= ATSParser::ALIGNED_VIDEO_DATA; in start()
94 mTSParser = new ATSParser(parserFlags); in start()
117 int32_t type = ATSParser::DISCONTINUITY_TIME; in onReadBuffer()
133 (ATSParser::DiscontinuityType)type, extra); in onReadBuffer()
155 ? ATSParser::DISCONTINUITY_TIME in onReadBuffer()
156 : ATSParser::DISCONTINUITY_FORMATCHANGE, in onReadBuffer()
232 audio ? ATSParser::AUDIO : ATSParser::VIDEO); in getSource()
DStreamingSource.h27 struct ATSParser;
62 sp<ATSParser> mTSParser;
DRTSPSource.cpp273 audio ? ATSParser::AUDIO : ATSParser::VIDEO); in getSource()
591 source->queueDiscontinuity(ATSParser::DISCONTINUITY_NONE, in onMessageReceived()
597 source->queueDiscontinuity(ATSParser::DISCONTINUITY_NONE, in onMessageReceived()
722 ATSParser::DISCONTINUITY_TIME, in onMessageReceived()
776 mTSParser = new ATSParser; in onConnected()
DNuPlayerDecoderPassThrough.cpp234 (type & ATSParser::DISCONTINUITY_AUDIO_FORMAT) != 0; in fetchInputData()
237 (type & ATSParser::DISCONTINUITY_TIME) != 0; in fetchInputData()
DRTSPSource.h122 sp<ATSParser> mTSParser;
DNuPlayerDecoder.cpp844 (type & ATSParser::DISCONTINUITY_AUDIO_FORMAT)) in fetchInputData()
846 (type & ATSParser::DISCONTINUITY_VIDEO_FORMAT)); in fetchInputData()
848 bool timeChange = (type & ATSParser::DISCONTINUITY_TIME) != 0; in fetchInputData()
DGenericSource.cpp1499 ATSParser::DISCONTINUITY_FORMATCHANGE, in readBuffer()
1519 ATSParser::DiscontinuityType type = (formatChange && seeking) in queueDiscontinuityIfNeeded()
1520 ? ATSParser::DISCONTINUITY_FORMATCHANGE in queueDiscontinuityIfNeeded()
1521 : ATSParser::DISCONTINUITY_NONE; in queueDiscontinuityIfNeeded()
/frameworks/av/media/libstagefright/include/
DMPEG2TSExtractor.h34 struct ATSParser;
60 sp<ATSParser> mParser;
64 ATSParser::SyncEvent mLastSyncEvent;
95 void addSyncPoint_l(const ATSParser::SyncEvent &event);
/frameworks/av/media/libstagefright/httplive/
DPlaylistFetcher.h169 sp<ATSParser> mTSParser;
251 ATSParser::DiscontinuityType type, const sp<AMessage> &extra);
DPlaylistFetcher.cpp824 ATSParser::DiscontinuityType type, const sp<AMessage> &extra) { in queueDiscontinuity()
1277 ATSParser::DISCONTINUITY_FORMAT_ONLY, in initDownloadState()
1453 ATSParser::SourceType srcTypes[] = in onDownloadNext()
1454 { ATSParser::VIDEO, ATSParser::AUDIO }; in onDownloadNext()
1460 ATSParser::SourceType srcType = srcTypes[i]; in onDownloadNext()
1469 srcType == ATSParser::VIDEO ? "video" : "audio"); in onDownloadNext()
1688 mTSParser = new ATSParser(ATSParser::TS_TIMESTAMPS_ARE_ABSOLUTE); in extractAndQueueAccessUnitsFromTs()
1704 ATSParser::DISCONTINUITY_TIME, extra); in extractAndQueueAccessUnitsFromTs()
1739 ATSParser::SourceType type =LiveSession::getSourceTypeForStream(stream); in extractAndQueueAccessUnitsFromTs()
1796 ATSParser::SourceType type =LiveSession::getSourceTypeForStream(stream); in extractAndQueueAccessUnitsFromTs()
DLiveSession.cpp256 ATSParser::SourceType LiveSession::getSourceTypeForStream(StreamType type) { in getSourceTypeForStream()
259 return ATSParser::VIDEO; in getSourceTypeForStream()
261 return ATSParser::AUDIO; in getSourceTypeForStream()
263 return ATSParser::META; in getSourceTypeForStream()
268 return ATSParser::NUM_SOURCE_TYPES; // should not reach here in getSourceTypeForStream()
1736 ATSParser::DISCONTINUITY_FORMATCHANGE, NULL, true); in onChangeConfiguration2()
1898 ATSParser::DISCONTINUITY_FORMAT_ONLY, NULL, true); in onChangeConfiguration3()
1973 aps->queueDiscontinuity(ATSParser::DISCONTINUITY_FORMAT_ONLY, NULL, false); in swapPacketSource()
DLiveSession.h105 static ATSParser::SourceType getSourceTypeForStream(StreamType type);
/frameworks/wilhelm/src/android/
Dandroid_StreamPlayer.cpp170 ATSParser::DISCONTINUITY_FORMATCHANGE); in pullFromBuffQueue()
177 ATSParser::DISCONTINUITY_VIDEO_FORMAT); in pullFromBuffQueue()