Lines Matching refs:NuPlayer2

102 struct NuPlayer2::Action : public RefBase {
105 virtual void execute(NuPlayer2 *player) = 0;
111 struct NuPlayer2::SeekAction : public Action {
117 virtual void execute(NuPlayer2 *player) { in execute()
128 struct NuPlayer2::ResumeDecoderAction : public Action {
133 virtual void execute(NuPlayer2 *player) { in execute()
143 struct NuPlayer2::SetSurfaceAction : public Action {
148 virtual void execute(NuPlayer2 *player) { in execute()
158 struct NuPlayer2::FlushDecoderAction : public Action {
164 virtual void execute(NuPlayer2 *player) { in execute()
175 struct NuPlayer2::PostMessageAction : public Action {
180 virtual void execute(NuPlayer2 *) { in execute()
192 struct NuPlayer2::SimpleAction : public Action {
193 typedef void (NuPlayer2::*ActionFunc)();
199 virtual void execute(NuPlayer2 *player) { in execute()
211 NuPlayer2::NuPlayer2(pid_t pid, uid_t uid, const sp<MediaClock> &mediaClock) in NuPlayer2() function in android::NuPlayer2
249 NuPlayer2::~NuPlayer2() { in ~NuPlayer2()
252 void NuPlayer2::setDriver(const wp<NuPlayer2Driver> &driver) { in setDriver()
273 status_t NuPlayer2::createNuPlayer2Source(const sp<DataSourceDesc> &dsd, in createNuPlayer2Source()
377 void NuPlayer2::setDataSourceAsync(const sp<DataSourceDesc> &dsd) { in setDataSourceAsync()
404 void NuPlayer2::prepareNextDataSourceAsync(const sp<DataSourceDesc> &dsd) { in prepareNextDataSourceAsync()
426 void NuPlayer2::playNextDataSource(int64_t srcId) { in playNextDataSource()
434 status_t NuPlayer2::getBufferingSettings( in getBufferingSettings()
448 status_t NuPlayer2::setBufferingSettings(const BufferingSettings& buffering) { in setBufferingSettings()
459 void NuPlayer2::prepareAsync() { in prepareAsync()
465 void NuPlayer2::setVideoSurfaceTextureAsync(const sp<ANativeWindowWrapper> &nww) { in setVideoSurfaceTextureAsync()
477 void NuPlayer2::setAudioSink(const sp<MediaPlayer2Interface::AudioSink> &sink) { in setAudioSink()
483 void NuPlayer2::start() { in start()
487 status_t NuPlayer2::setPlaybackSettings(const AudioPlaybackRate &rate) { in setPlaybackSettings()
506 status_t NuPlayer2::getPlaybackSettings(AudioPlaybackRate *rate /* nonnull */) { in getPlaybackSettings()
519 status_t NuPlayer2::setSyncSettings(const AVSyncSettings &sync, float videoFpsHint) { in setSyncSettings()
530 status_t NuPlayer2::getSyncSettings( in getSyncSettings()
544 void NuPlayer2::pause() { in pause()
548 void NuPlayer2::resetAsync() { in resetAsync()
553 void NuPlayer2::disconnectSource() { in disconnectSource()
572 status_t NuPlayer2::notifyAt(int64_t mediaTimeUs) { in notifyAt()
579 void NuPlayer2::seekToAsync(int64_t seekTimeUs, MediaPlayer2SeekMode mode, bool needNotify) { in seekToAsync()
588 void NuPlayer2::writeTrackInfo( in writeTrackInfo()
639 void NuPlayer2::onMessageReceived(const sp<AMessage> &msg) { in onMessageReceived()
706 new SimpleAction(&NuPlayer2::performPlayNextDataSource)); in onMessageReceived()
941 new SimpleAction(&NuPlayer2::performScanSources)); in onMessageReceived()
1230 &NuPlayer2::performScanSources)); in onMessageReceived()
1467 new SimpleAction(&NuPlayer2::performReset)); in onMessageReceived()
1580 void NuPlayer2::onResume() { in onResume()
1605 void NuPlayer2::onStart() { in onStart()
1691 void NuPlayer2::startPlaybackTimer(const char *where) { in startPlaybackTimer()
1699 void NuPlayer2::stopPlaybackTimer(const char *where) { in stopPlaybackTimer()
1719 void NuPlayer2::startRebufferingTimer() { in startRebufferingTimer()
1727 void NuPlayer2::stopRebufferingTimer(bool exitingPlayback) { in stopRebufferingTimer()
1750 void NuPlayer2::onPause() { in onPause()
1771 bool NuPlayer2::audioDecoderStillNeeded() { in audioDecoderStillNeeded()
1776 void NuPlayer2::handleFlushComplete(bool audio, bool isDecoder) { in handleFlushComplete()
1809 void NuPlayer2::finishFlushIfPossible() { in finishFlushIfPossible()
1830 void NuPlayer2::postScanSources() { in postScanSources()
1842 void NuPlayer2::tryOpenAudioSinkForOffload( in tryOpenAudioSinkForOffload()
1858 void NuPlayer2::closeAudioSink() { in closeAudioSink()
1862 void NuPlayer2::restartAudio( in restartAudio()
1901 void NuPlayer2::determineAudioModeChange(const sp<AMessage> &audioFormat) { in determineAudioModeChange()
1940 status_t NuPlayer2::instantiateDecoder( in instantiateDecoder()
2058 void NuPlayer2::updateVideoSize( in updateVideoSize()
2149 void NuPlayer2::notifyListener(int64_t srcId, int msg, int ext1, int ext2, const Parcel *in) { in notifyListener()
2163 void NuPlayer2::flushDecoder(bool audio, bool needShutdown) { in flushDecoder()
2179 new SimpleAction(&NuPlayer2::performScanSources)); in flushDecoder()
2202 void NuPlayer2::queueDecoderShutdown( in queueDecoderShutdown()
2212 new SimpleAction(&NuPlayer2::performScanSources)); in queueDecoderShutdown()
2219 status_t NuPlayer2::setVideoScalingMode(int32_t mode) { in setVideoScalingMode()
2233 status_t NuPlayer2::getTrackInfo(Parcel* reply) const { in getTrackInfo()
2242 status_t NuPlayer2::getSelectedTrack(int32_t type, Parcel* reply) const { in getSelectedTrack()
2255 status_t NuPlayer2::selectTrack(size_t trackIndex, bool select, int64_t timeUs) { in selectTrack()
2275 status_t NuPlayer2::getCurrentPosition(int64_t *mediaUs) { in getCurrentPosition()
2284 void NuPlayer2::getStats(Vector<sp<AMessage> > *mTrackStats) { in getStats()
2296 sp<MetaData> NuPlayer2::getFileMeta() { in getFileMeta()
2300 float NuPlayer2::getFrameRate() { in getFrameRate()
2322 void NuPlayer2::schedulePollDuration() { in schedulePollDuration()
2328 void NuPlayer2::cancelPollDuration() { in cancelPollDuration()
2332 void NuPlayer2::processDeferredActions() { in processDeferredActions()
2355 void NuPlayer2::performSeek(int64_t seekTimeUs, MediaPlayer2SeekMode mode) { in performSeek()
2374 void NuPlayer2::performDecoderFlush(FlushCommand audio, FlushCommand video) { in performDecoderFlush()
2391 void NuPlayer2::performReset() { in performReset()
2444 void NuPlayer2::performPlayNextDataSource() { in performPlayNextDataSource()
2505 void NuPlayer2::performScanSources() { in performScanSources()
2517 void NuPlayer2::performSetSurface(const sp<ANativeWindowWrapper> &nww) { in performSetSurface()
2533 void NuPlayer2::performResumeDecoders(bool needNotify) { in performResumeDecoders()
2557 void NuPlayer2::finishResume() { in finishResume()
2564 void NuPlayer2::notifyDriverSeekComplete(int64_t srcId) { in notifyDriverSeekComplete()
2573 void NuPlayer2::onSourceNotify(const sp<AMessage> &msg) { in onSourceNotify()
2653 if ((flags & NuPlayer2::Source::FLAG_CAN_SEEK) == 0) { in onSourceNotify()
2809 void NuPlayer2::onClosedCaptionNotify(const sp<AMessage> &msg) { in onClosedCaptionNotify()
2814 case NuPlayer2::CCDecoder::kWhatClosedCaptionData: in onClosedCaptionNotify()
2828 case NuPlayer2::CCDecoder::kWhatTrackAdded: in onClosedCaptionNotify()
2842 void NuPlayer2::sendSubtitleData(const sp<ABuffer> &buffer, int32_t baseIndex) { in sendSubtitleData()
2860 void NuPlayer2::sendTimedMetaData(const sp<ABuffer> &buffer) { in sendTimedMetaData()
2873 void NuPlayer2::sendTimedTextData(const sp<ABuffer> &buffer) { in sendTimedTextData()
2906 const char *NuPlayer2::getDataSourceType() { in getDataSourceType()
2930 status_t NuPlayer2::prepareDrm(const uint8_t uuid[16], const Vector<uint8_t> &drmSessionId) in prepareDrm()
2956 status_t NuPlayer2::releaseDrm() in releaseDrm()
2975 status_t NuPlayer2::onPrepareDrm(const sp<AMessage> &msg) in onPrepareDrm()
3014 status_t NuPlayer2::onReleaseDrm() in onReleaseDrm()
3062 sp<AMessage> NuPlayer2::Source::getFormat(bool audio) { in getFormat()
3077 void NuPlayer2::Source::notifyFlagsChanged(uint32_t flags) { in notifyFlagsChanged()
3084 void NuPlayer2::Source::notifyVideoSizeChanged(const sp<AMessage> &format) { in notifyVideoSizeChanged()
3091 void NuPlayer2::Source::notifyPrepared(status_t err) { in notifyPrepared()
3099 void NuPlayer2::Source::notifyDrmInfo(const sp<ABuffer> &drmInfoBuffer) in notifyDrmInfo()
3110 void NuPlayer2::Source::onMessageReceived(const sp<AMessage> & /* msg */) { in onMessageReceived()