Lines Matching refs:NuPlayer

67 struct NuPlayer::Action : public RefBase {
70 virtual void execute(NuPlayer *player) = 0;
76 struct NuPlayer::SeekAction : public Action {
82 virtual void execute(NuPlayer *player) { in execute()
93 struct NuPlayer::ResumeDecoderAction : public Action {
98 virtual void execute(NuPlayer *player) { in execute()
108 struct NuPlayer::SetSurfaceAction : public Action {
113 virtual void execute(NuPlayer *player) { in execute()
123 struct NuPlayer::FlushDecoderAction : public Action {
129 virtual void execute(NuPlayer *player) { in execute()
140 struct NuPlayer::PostMessageAction : public Action {
145 virtual void execute(NuPlayer *) { in execute()
157 struct NuPlayer::SimpleAction : public Action {
158 typedef void (NuPlayer::*ActionFunc)();
164 virtual void execute(NuPlayer *player) { in execute()
176 NuPlayer::NuPlayer(pid_t pid, const sp<MediaClock> &mediaClock) in NuPlayer() function in android::NuPlayer
215 NuPlayer::~NuPlayer() { in ~NuPlayer()
218 void NuPlayer::setUID(uid_t uid) { in setUID()
223 void NuPlayer::init(const wp<NuPlayerDriver> &driver) { in init()
230 void NuPlayer::setDataSourceAsync(const sp<IStreamSource> &source) { in setDataSourceAsync()
257 void NuPlayer::setDataSourceAsync( in setDataSourceAsync()
306 void NuPlayer::setDataSourceAsync(int fd, int64_t offset, int64_t length) { in setDataSourceAsync()
329 void NuPlayer::setDataSourceAsync(const sp<DataSource> &dataSource) { in setDataSourceAsync()
346 status_t NuPlayer::getBufferingSettings( in getBufferingSettings()
360 status_t NuPlayer::setBufferingSettings(const BufferingSettings& buffering) { in setBufferingSettings()
371 void NuPlayer::prepareAsync() { in prepareAsync()
377 void NuPlayer::setVideoSurfaceTextureAsync( in setVideoSurfaceTextureAsync()
390 void NuPlayer::setAudioSink(const sp<MediaPlayerBase::AudioSink> &sink) { in setAudioSink()
396 void NuPlayer::start() { in start()
400 status_t NuPlayer::setPlaybackSettings(const AudioPlaybackRate &rate) { in setPlaybackSettings()
419 status_t NuPlayer::getPlaybackSettings(AudioPlaybackRate *rate /* nonnull */) { in getPlaybackSettings()
432 status_t NuPlayer::setSyncSettings(const AVSyncSettings &sync, float videoFpsHint) { in setSyncSettings()
443 status_t NuPlayer::getSyncSettings( in getSyncSettings()
457 void NuPlayer::pause() { in pause()
461 void NuPlayer::resetAsync() { in resetAsync()
481 status_t NuPlayer::notifyAt(int64_t mediaTimeUs) { in notifyAt()
488 void NuPlayer::seekToAsync(int64_t seekTimeUs, MediaPlayerSeekMode mode, bool needNotify) { in seekToAsync()
497 void NuPlayer::writeTrackInfo( in writeTrackInfo()
548 void NuPlayer::onMessageReceived(const sp<AMessage> &msg) { in onMessageReceived()
814 new SimpleAction(&NuPlayer::performScanSources)); in onMessageReceived()
1101 &NuPlayer::performScanSources)); in onMessageReceived()
1340 new SimpleAction(&NuPlayer::performReset)); in onMessageReceived()
1469 void NuPlayer::onResume() { in onResume()
1494 status_t NuPlayer::onInstantiateSecureDecoders() { in onInstantiateSecureDecoders()
1523 void NuPlayer::onStart(int64_t startPositionUs, MediaPlayerSeekMode mode) { in onStart()
1616 void NuPlayer::startPlaybackTimer(const char *where) { in startPlaybackTimer()
1624 void NuPlayer::updatePlaybackTimer(bool stopping, const char *where) { in updatePlaybackTimer()
1649 void NuPlayer::startRebufferingTimer() { in startRebufferingTimer()
1657 void NuPlayer::updateRebufferingTimer(bool stopping, bool exitingPlayback) { in updateRebufferingTimer()
1685 void NuPlayer::updateInternalTimers() { in updateInternalTimers()
1692 void NuPlayer::onPause() { in onPause()
1713 bool NuPlayer::audioDecoderStillNeeded() { in audioDecoderStillNeeded()
1718 void NuPlayer::handleFlushComplete(bool audio, bool isDecoder) { in handleFlushComplete()
1751 void NuPlayer::finishFlushIfPossible() { in finishFlushIfPossible()
1772 void NuPlayer::postScanSources() { in postScanSources()
1784 void NuPlayer::tryOpenAudioSinkForOffload( in tryOpenAudioSinkForOffload()
1800 void NuPlayer::closeAudioSink() { in closeAudioSink()
1806 void NuPlayer::restartAudio( in restartAudio()
1858 void NuPlayer::determineAudioModeChange(const sp<AMessage> &audioFormat) { in determineAudioModeChange()
1897 status_t NuPlayer::instantiateDecoder( in instantiateDecoder()
2018 void NuPlayer::updateVideoSize( in updateVideoSize()
2107 void NuPlayer::notifyListener(int msg, int ext1, int ext2, const Parcel *in) { in notifyListener()
2121 void NuPlayer::flushDecoder(bool audio, bool needShutdown) { in flushDecoder()
2137 new SimpleAction(&NuPlayer::performScanSources)); in flushDecoder()
2160 void NuPlayer::queueDecoderShutdown( in queueDecoderShutdown()
2170 new SimpleAction(&NuPlayer::performScanSources)); in queueDecoderShutdown()
2177 status_t NuPlayer::setVideoScalingMode(int32_t mode) { in setVideoScalingMode()
2190 status_t NuPlayer::getTrackInfo(Parcel* reply) const { in getTrackInfo()
2199 status_t NuPlayer::getSelectedTrack(int32_t type, Parcel* reply) const { in getSelectedTrack()
2212 status_t NuPlayer::selectTrack(size_t trackIndex, bool select, int64_t timeUs) { in selectTrack()
2232 status_t NuPlayer::getCurrentPosition(int64_t *mediaUs) { in getCurrentPosition()
2241 void NuPlayer::getStats(Vector<sp<AMessage> > *trackStats) { in getStats()
2255 sp<MetaData> NuPlayer::getFileMeta() { in getFileMeta()
2259 float NuPlayer::getFrameRate() { in getFrameRate()
2281 void NuPlayer::schedulePollDuration() { in schedulePollDuration()
2287 void NuPlayer::cancelPollDuration() { in cancelPollDuration()
2291 void NuPlayer::processDeferredActions() { in processDeferredActions()
2314 void NuPlayer::performSeek(int64_t seekTimeUs, MediaPlayerSeekMode mode) { in performSeek()
2333 void NuPlayer::performDecoderFlush(FlushCommand audio, FlushCommand video) { in performDecoderFlush()
2350 void NuPlayer::performReset() { in performReset()
2404 void NuPlayer::performScanSources() { in performScanSources()
2416 void NuPlayer::performSetSurface(const sp<Surface> &surface) { in performSetSurface()
2432 void NuPlayer::performResumeDecoders(bool needNotify) { in performResumeDecoders()
2456 void NuPlayer::finishResume() { in finishResume()
2463 void NuPlayer::notifyDriverSeekComplete() { in notifyDriverSeekComplete()
2472 void NuPlayer::onSourceNotify(const sp<AMessage> &msg) { in onSourceNotify()
2567 if ((flags & NuPlayer::Source::FLAG_CAN_SEEK) == 0) { in onSourceNotify()
2723 void NuPlayer::onClosedCaptionNotify(const sp<AMessage> &msg) { in onClosedCaptionNotify()
2728 case NuPlayer::CCDecoder::kWhatClosedCaptionData: in onClosedCaptionNotify()
2742 case NuPlayer::CCDecoder::kWhatTrackAdded: in onClosedCaptionNotify()
2756 void NuPlayer::sendSubtitleData(const sp<ABuffer> &buffer, int32_t baseIndex) { in sendSubtitleData()
2774 void NuPlayer::sendTimedMetaData(const sp<ABuffer> &buffer) { in sendTimedMetaData()
2787 void NuPlayer::sendTimedTextData(const sp<ABuffer> &buffer) { in sendTimedTextData()
2820 const char *NuPlayer::getDataSourceType() { in getDataSourceType()
2847 status_t NuPlayer::prepareDrm(const uint8_t uuid[16], const Vector<uint8_t> &drmSessionId) in prepareDrm()
2873 status_t NuPlayer::releaseDrm() in releaseDrm()
2892 status_t NuPlayer::onPrepareDrm(const sp<AMessage> &msg) in onPrepareDrm()
2933 status_t NuPlayer::onReleaseDrm() in onReleaseDrm()
2982 sp<AMessage> NuPlayer::Source::getFormat(bool audio) { in getFormat()
2997 void NuPlayer::Source::notifyFlagsChanged(uint32_t flags) { in notifyFlagsChanged()
3004 void NuPlayer::Source::notifyVideoSizeChanged(const sp<AMessage> &format) { in notifyVideoSizeChanged()
3011 void NuPlayer::Source::notifyPrepared(status_t err) { in notifyPrepared()
3019 void NuPlayer::Source::notifyDrmInfo(const sp<ABuffer> &drmInfoBuffer) in notifyDrmInfo()
3030 void NuPlayer::Source::notifyInstantiateSecureDecoders(const sp<AMessage> &reply) { in notifyInstantiateSecureDecoders()
3037 void NuPlayer::Source::onMessageReceived(const sp<AMessage> & /* msg */) { in onMessageReceived()