Lines Matching refs:NuPlayer2
103 struct NuPlayer2::Action : public RefBase {
106 virtual void execute(NuPlayer2 *player) = 0;
112 struct NuPlayer2::SeekAction : public Action {
118 virtual void execute(NuPlayer2 *player) { in execute()
129 struct NuPlayer2::ResumeDecoderAction : public Action {
134 virtual void execute(NuPlayer2 *player) { in execute()
144 struct NuPlayer2::SetSurfaceAction : public Action {
149 virtual void execute(NuPlayer2 *player) { in execute()
159 struct NuPlayer2::FlushDecoderAction : public Action {
165 virtual void execute(NuPlayer2 *player) { in execute()
176 struct NuPlayer2::PostMessageAction : public Action {
181 virtual void execute(NuPlayer2 *) { in execute()
193 struct NuPlayer2::SimpleAction : public Action {
194 typedef void (NuPlayer2::*ActionFunc)();
200 virtual void execute(NuPlayer2 *player) { in execute()
212 NuPlayer2::NuPlayer2( in NuPlayer2() function in android::NuPlayer2
250 NuPlayer2::~NuPlayer2() { in ~NuPlayer2()
253 void NuPlayer2::setDriver(const wp<NuPlayer2Driver> &driver) { in setDriver()
274 status_t NuPlayer2::createNuPlayer2Source(const sp<DataSourceDesc> &dsd, in createNuPlayer2Source()
378 void NuPlayer2::setDataSourceAsync(const sp<DataSourceDesc> &dsd) { in setDataSourceAsync()
407 void NuPlayer2::prepareNextDataSourceAsync(const sp<DataSourceDesc> &dsd) { in prepareNextDataSourceAsync()
431 void NuPlayer2::playNextDataSource(int64_t srcId) { in playNextDataSource()
439 status_t NuPlayer2::getBufferingSettings( in getBufferingSettings()
453 status_t NuPlayer2::setBufferingSettings(const BufferingSettings& buffering) { in setBufferingSettings()
464 void NuPlayer2::prepareAsync() { in prepareAsync()
470 void NuPlayer2::setVideoSurfaceTextureAsync(const sp<ANativeWindowWrapper> &nww) { in setVideoSurfaceTextureAsync()
482 void NuPlayer2::setAudioSink(const sp<MediaPlayer2Interface::AudioSink> &sink) { in setAudioSink()
488 void NuPlayer2::start() { in start()
492 status_t NuPlayer2::setPlaybackSettings(const AudioPlaybackRate &rate) { in setPlaybackSettings()
511 status_t NuPlayer2::getPlaybackSettings(AudioPlaybackRate *rate /* nonnull */) { in getPlaybackSettings()
524 status_t NuPlayer2::setSyncSettings(const AVSyncSettings &sync, float videoFpsHint) { in setSyncSettings()
535 status_t NuPlayer2::getSyncSettings( in getSyncSettings()
549 void NuPlayer2::pause() { in pause()
553 void NuPlayer2::resetAsync() { in resetAsync()
558 void NuPlayer2::disconnectSource() { in disconnectSource()
577 status_t NuPlayer2::notifyAt(int64_t mediaTimeUs) { in notifyAt()
584 void NuPlayer2::seekToAsync(int64_t seekTimeUs, MediaPlayer2SeekMode mode, bool needNotify) { in seekToAsync()
592 void NuPlayer2::rewind() { in rewind()
597 void NuPlayer2::writeTrackInfo( in writeTrackInfo()
647 void NuPlayer2::onMessageReceived(const sp<AMessage> &msg) { in onMessageReceived()
719 new SimpleAction(&NuPlayer2::performPlayNextDataSource)); in onMessageReceived()
994 new SimpleAction(&NuPlayer2::performScanSources)); in onMessageReceived()
1259 &NuPlayer2::performScanSources)); in onMessageReceived()
1511 new SimpleAction(&NuPlayer2::performReset)); in onMessageReceived()
1663 void NuPlayer2::onResume() { in onResume()
1688 void NuPlayer2::onStart(bool play) { in onStart()
1783 void NuPlayer2::addEndTimeMonitor() { in addEndTimeMonitor()
1795 void NuPlayer2::startPlaybackTimer(const char *where) { in startPlaybackTimer()
1803 void NuPlayer2::stopPlaybackTimer(const char *where) { in stopPlaybackTimer()
1823 void NuPlayer2::startRebufferingTimer() { in startRebufferingTimer()
1831 void NuPlayer2::stopRebufferingTimer(bool exitingPlayback) { in stopRebufferingTimer()
1856 void NuPlayer2::onPause() { in onPause()
1877 bool NuPlayer2::audioDecoderStillNeeded() { in audioDecoderStillNeeded()
1882 void NuPlayer2::handleFlushComplete(bool audio, bool isDecoder) { in handleFlushComplete()
1915 void NuPlayer2::finishFlushIfPossible() { in finishFlushIfPossible()
1936 void NuPlayer2::postScanSources() { in postScanSources()
1948 void NuPlayer2::tryOpenAudioSinkForOffload( in tryOpenAudioSinkForOffload()
1964 void NuPlayer2::closeAudioSink() { in closeAudioSink()
1968 void NuPlayer2::restartAudio( in restartAudio()
2018 void NuPlayer2::determineAudioModeChange(const sp<AMessage> &audioFormat) { in determineAudioModeChange()
2057 status_t NuPlayer2::instantiateDecoder( in instantiateDecoder()
2179 void NuPlayer2::updateVideoSize( in updateVideoSize()
2270 void NuPlayer2::notifyListener( in notifyListener()
2285 void NuPlayer2::flushDecoder(bool audio, bool needShutdown) { in flushDecoder()
2301 new SimpleAction(&NuPlayer2::performScanSources)); in flushDecoder()
2324 void NuPlayer2::queueDecoderShutdown( in queueDecoderShutdown()
2334 new SimpleAction(&NuPlayer2::performScanSources)); in queueDecoderShutdown()
2341 status_t NuPlayer2::setVideoScalingMode(int32_t mode) { in setVideoScalingMode()
2355 status_t NuPlayer2::getTrackInfo(int64_t srcId, PlayerMessage* reply) const { in getTrackInfo()
2365 status_t NuPlayer2::getSelectedTrack(int64_t srcId, int32_t type, PlayerMessage* reply) const { in getSelectedTrack()
2379 status_t NuPlayer2::selectTrack(int64_t srcId, size_t trackIndex, bool select, int64_t timeUs) { in selectTrack()
2400 status_t NuPlayer2::getCurrentPosition(int64_t *mediaUs) { in getCurrentPosition()
2409 void NuPlayer2::getStats(Vector<sp<AMessage> > *mTrackStats) { in getStats()
2423 sp<MetaData> NuPlayer2::getFileMeta() { in getFileMeta()
2427 float NuPlayer2::getFrameRate() { in getFrameRate()
2449 void NuPlayer2::schedulePollDuration() { in schedulePollDuration()
2455 void NuPlayer2::cancelPollDuration() { in cancelPollDuration()
2459 void NuPlayer2::processDeferredActions() { in processDeferredActions()
2482 void NuPlayer2::performSeek(int64_t seekTimeUs, MediaPlayer2SeekMode mode) { in performSeek()
2501 void NuPlayer2::performDecoderFlush(FlushCommand audio, FlushCommand video) { in performDecoderFlush()
2518 void NuPlayer2::performReset() { in performReset()
2559 void NuPlayer2::performPlayNextDataSource() { in performPlayNextDataSource()
2619 void NuPlayer2::performScanSources() { in performScanSources()
2631 void NuPlayer2::performSetSurface(const sp<ANativeWindowWrapper> &nww) { in performSetSurface()
2647 void NuPlayer2::performResumeDecoders(bool needNotify) { in performResumeDecoders()
2671 void NuPlayer2::finishResume() { in finishResume()
2678 void NuPlayer2::notifyDriverSeekComplete(int64_t srcId) { in notifyDriverSeekComplete()
2687 void NuPlayer2::onSourceNotify(const sp<AMessage> &msg) { in onSourceNotify()
2781 if ((flags & NuPlayer2::Source::FLAG_CAN_SEEK) == 0) { in onSourceNotify()
2944 void NuPlayer2::onClosedCaptionNotify(const sp<AMessage> &msg) { in onClosedCaptionNotify()
2949 case NuPlayer2::CCDecoder::kWhatClosedCaptionData: in onClosedCaptionNotify()
2963 case NuPlayer2::CCDecoder::kWhatTrackAdded: in onClosedCaptionNotify()
2977 void NuPlayer2::sendSubtitleData(const sp<ABuffer> &buffer, int32_t baseIndex) { in sendSubtitleData()
2993 void NuPlayer2::sendTimedMetaData(const sp<ABuffer> &buffer) { in sendTimedMetaData()
3004 void NuPlayer2::sendTimedTextData(const sp<ABuffer> &buffer) { in sendTimedTextData()
3037 const char *NuPlayer2::getDataSourceType() { in getDataSourceType()
3060 NuPlayer2::SourceInfo* NuPlayer2::getSourceInfoByIdInMsg(const sp<AMessage> &msg) { in getSourceInfoByIdInMsg()
3072 void NuPlayer2::resetSourceInfo(NuPlayer2::SourceInfo &srcInfo) { in resetSourceInfo()
3086 status_t NuPlayer2::prepareDrm( in prepareDrm()
3114 status_t NuPlayer2::releaseDrm(int64_t srcId) in releaseDrm()
3134 status_t NuPlayer2::onPrepareDrm(const sp<AMessage> &msg) in onPrepareDrm()
3182 status_t NuPlayer2::onReleaseDrm(const sp<AMessage> &msg) in onReleaseDrm()
3236 sp<AMessage> NuPlayer2::Source::getFormat(bool audio) { in getFormat()
3251 void NuPlayer2::Source::notifyFlagsChanged(uint32_t flags) { in notifyFlagsChanged()
3258 void NuPlayer2::Source::notifyVideoSizeChanged(const sp<AMessage> &format) { in notifyVideoSizeChanged()
3265 void NuPlayer2::Source::notifyPrepared(status_t err) { in notifyPrepared()
3273 void NuPlayer2::Source::notifyDrmInfo(const sp<ABuffer> &drmInfoBuffer) in notifyDrmInfo()
3284 void NuPlayer2::Source::onMessageReceived(const sp<AMessage> & /* msg */) { in onMessageReceived()
3288 NuPlayer2::SourceInfo::SourceInfo() in SourceInfo()
3296 NuPlayer2::SourceInfo & NuPlayer2::SourceInfo::operator=(const NuPlayer2::SourceInfo &other) { in operator =()