Lines Matching refs:NuPlayer
66 struct NuPlayer::Action : public RefBase {
69 virtual void execute(NuPlayer *player) = 0;
75 struct NuPlayer::SeekAction : public Action {
81 virtual void execute(NuPlayer *player) { in execute()
92 struct NuPlayer::ResumeDecoderAction : public Action {
97 virtual void execute(NuPlayer *player) { in execute()
107 struct NuPlayer::SetSurfaceAction : public Action {
112 virtual void execute(NuPlayer *player) { in execute()
122 struct NuPlayer::FlushDecoderAction : public Action {
128 virtual void execute(NuPlayer *player) { in execute()
139 struct NuPlayer::PostMessageAction : public Action {
144 virtual void execute(NuPlayer *) { in execute()
156 struct NuPlayer::SimpleAction : public Action {
157 typedef void (NuPlayer::*ActionFunc)();
163 virtual void execute(NuPlayer *player) { in execute()
175 NuPlayer::NuPlayer(pid_t pid) in NuPlayer() function in android::NuPlayer
210 NuPlayer::~NuPlayer() { in ~NuPlayer()
213 void NuPlayer::setUID(uid_t uid) { in setUID()
218 void NuPlayer::setDriver(const wp<NuPlayerDriver> &driver) { in setDriver()
222 void NuPlayer::setDataSourceAsync(const sp<IStreamSource> &source) { in setDataSourceAsync()
249 void NuPlayer::setDataSourceAsync( in setDataSourceAsync()
298 void NuPlayer::setDataSourceAsync(int fd, int64_t offset, int64_t length) { in setDataSourceAsync()
321 void NuPlayer::setDataSourceAsync(const sp<DataSource> &dataSource) { in setDataSourceAsync()
338 status_t NuPlayer::getDefaultBufferingSettings( in getDefaultBufferingSettings()
352 status_t NuPlayer::setBufferingSettings(const BufferingSettings& buffering) { in setBufferingSettings()
363 void NuPlayer::prepareAsync() { in prepareAsync()
369 void NuPlayer::setVideoSurfaceTextureAsync( in setVideoSurfaceTextureAsync()
382 void NuPlayer::setAudioSink(const sp<MediaPlayerBase::AudioSink> &sink) { in setAudioSink()
388 void NuPlayer::start() { in start()
392 status_t NuPlayer::setPlaybackSettings(const AudioPlaybackRate &rate) { in setPlaybackSettings()
411 status_t NuPlayer::getPlaybackSettings(AudioPlaybackRate *rate /* nonnull */) { in getPlaybackSettings()
424 status_t NuPlayer::setSyncSettings(const AVSyncSettings &sync, float videoFpsHint) { in setSyncSettings()
435 status_t NuPlayer::getSyncSettings( in getSyncSettings()
449 void NuPlayer::pause() { in pause()
453 void NuPlayer::resetAsync() { in resetAsync()
473 void NuPlayer::seekToAsync(int64_t seekTimeUs, MediaPlayerSeekMode mode, bool needNotify) { in seekToAsync()
482 void NuPlayer::writeTrackInfo( in writeTrackInfo()
533 void NuPlayer::onMessageReceived(const sp<AMessage> &msg) { in onMessageReceived()
788 new SimpleAction(&NuPlayer::performScanSources)); in onMessageReceived()
1075 &NuPlayer::performScanSources)); in onMessageReceived()
1309 new SimpleAction(&NuPlayer::performReset)); in onMessageReceived()
1410 void NuPlayer::onResume() { in onResume()
1435 status_t NuPlayer::onInstantiateSecureDecoders() { in onInstantiateSecureDecoders()
1464 void NuPlayer::onStart(int64_t startPositionUs, MediaPlayerSeekMode mode) { in onStart()
1557 void NuPlayer::onPause() { in onPause()
1582 bool NuPlayer::audioDecoderStillNeeded() { in audioDecoderStillNeeded()
1587 void NuPlayer::handleFlushComplete(bool audio, bool isDecoder) { in handleFlushComplete()
1620 void NuPlayer::finishFlushIfPossible() { in finishFlushIfPossible()
1641 void NuPlayer::postScanSources() { in postScanSources()
1653 void NuPlayer::tryOpenAudioSinkForOffload( in tryOpenAudioSinkForOffload()
1669 void NuPlayer::closeAudioSink() { in closeAudioSink()
1673 void NuPlayer::restartAudio( in restartAudio()
1712 void NuPlayer::determineAudioModeChange(const sp<AMessage> &audioFormat) { in determineAudioModeChange()
1751 status_t NuPlayer::instantiateDecoder( in instantiateDecoder()
1870 void NuPlayer::updateVideoSize( in updateVideoSize()
1959 void NuPlayer::notifyListener(int msg, int ext1, int ext2, const Parcel *in) { in notifyListener()
1973 void NuPlayer::flushDecoder(bool audio, bool needShutdown) { in flushDecoder()
1989 new SimpleAction(&NuPlayer::performScanSources)); in flushDecoder()
2012 void NuPlayer::queueDecoderShutdown( in queueDecoderShutdown()
2022 new SimpleAction(&NuPlayer::performScanSources)); in queueDecoderShutdown()
2029 status_t NuPlayer::setVideoScalingMode(int32_t mode) { in setVideoScalingMode()
2042 status_t NuPlayer::getTrackInfo(Parcel* reply) const { in getTrackInfo()
2051 status_t NuPlayer::getSelectedTrack(int32_t type, Parcel* reply) const { in getSelectedTrack()
2064 status_t NuPlayer::selectTrack(size_t trackIndex, bool select, int64_t timeUs) { in selectTrack()
2084 status_t NuPlayer::getCurrentPosition(int64_t *mediaUs) { in getCurrentPosition()
2093 void NuPlayer::getStats(Vector<sp<AMessage> > *mTrackStats) { in getStats()
2105 sp<MetaData> NuPlayer::getFileMeta() { in getFileMeta()
2109 float NuPlayer::getFrameRate() { in getFrameRate()
2131 void NuPlayer::schedulePollDuration() { in schedulePollDuration()
2137 void NuPlayer::cancelPollDuration() { in cancelPollDuration()
2141 void NuPlayer::processDeferredActions() { in processDeferredActions()
2164 void NuPlayer::performSeek(int64_t seekTimeUs, MediaPlayerSeekMode mode) { in performSeek()
2183 void NuPlayer::performDecoderFlush(FlushCommand audio, FlushCommand video) { in performDecoderFlush()
2200 void NuPlayer::performReset() { in performReset()
2251 void NuPlayer::performScanSources() { in performScanSources()
2263 void NuPlayer::performSetSurface(const sp<Surface> &surface) { in performSetSurface()
2279 void NuPlayer::performResumeDecoders(bool needNotify) { in performResumeDecoders()
2303 void NuPlayer::finishResume() { in finishResume()
2310 void NuPlayer::notifyDriverSeekComplete() { in notifyDriverSeekComplete()
2319 void NuPlayer::onSourceNotify(const sp<AMessage> &msg) { in onSourceNotify()
2414 if ((flags & NuPlayer::Source::FLAG_CAN_SEEK) == 0) { in onSourceNotify()
2568 void NuPlayer::onClosedCaptionNotify(const sp<AMessage> &msg) { in onClosedCaptionNotify()
2573 case NuPlayer::CCDecoder::kWhatClosedCaptionData: in onClosedCaptionNotify()
2587 case NuPlayer::CCDecoder::kWhatTrackAdded: in onClosedCaptionNotify()
2601 void NuPlayer::sendSubtitleData(const sp<ABuffer> &buffer, int32_t baseIndex) { in sendSubtitleData()
2619 void NuPlayer::sendTimedMetaData(const sp<ABuffer> &buffer) { in sendTimedMetaData()
2632 void NuPlayer::sendTimedTextData(const sp<ABuffer> &buffer) { in sendTimedTextData()
2665 const char *NuPlayer::getDataSourceType() { in getDataSourceType()
2692 status_t NuPlayer::prepareDrm(const uint8_t uuid[16], const Vector<uint8_t> &drmSessionId) in prepareDrm()
2718 status_t NuPlayer::releaseDrm() in releaseDrm()
2737 status_t NuPlayer::onPrepareDrm(const sp<AMessage> &msg) in onPrepareDrm()
2778 status_t NuPlayer::onReleaseDrm() in onReleaseDrm()
2827 sp<AMessage> NuPlayer::Source::getFormat(bool audio) { in getFormat()
2842 void NuPlayer::Source::notifyFlagsChanged(uint32_t flags) { in notifyFlagsChanged()
2849 void NuPlayer::Source::notifyVideoSizeChanged(const sp<AMessage> &format) { in notifyVideoSizeChanged()
2856 void NuPlayer::Source::notifyPrepared(status_t err) { in notifyPrepared()
2864 void NuPlayer::Source::notifyDrmInfo(const sp<ABuffer> &drmInfoBuffer) in notifyDrmInfo()
2875 void NuPlayer::Source::notifyInstantiateSecureDecoders(const sp<AMessage> &reply) { in notifyInstantiateSecureDecoders()
2882 void NuPlayer::Source::onMessageReceived(const sp<AMessage> & /* msg */) { in onMessageReceived()