Lines Matching refs:NuPlayer
57 struct NuPlayer::Action : public RefBase {
60 virtual void execute(NuPlayer *player) = 0;
66 struct NuPlayer::SeekAction : public Action {
72 virtual void execute(NuPlayer *player) { in execute()
83 struct NuPlayer::ResumeDecoderAction : public Action {
88 virtual void execute(NuPlayer *player) { in execute()
98 struct NuPlayer::SetSurfaceAction : public Action {
103 virtual void execute(NuPlayer *player) { in execute()
113 struct NuPlayer::FlushDecoderAction : public Action {
119 virtual void execute(NuPlayer *player) { in execute()
130 struct NuPlayer::PostMessageAction : public Action {
135 virtual void execute(NuPlayer *) { in execute()
147 struct NuPlayer::SimpleAction : public Action {
148 typedef void (NuPlayer::*ActionFunc)();
154 virtual void execute(NuPlayer *player) { in execute()
166 NuPlayer::NuPlayer() in NuPlayer() function in android::NuPlayer
189 NuPlayer::~NuPlayer() { in ~NuPlayer()
192 void NuPlayer::setUID(uid_t uid) { in setUID()
197 void NuPlayer::setDriver(const wp<NuPlayerDriver> &driver) { in setDriver()
201 void NuPlayer::setDataSourceAsync(const sp<IStreamSource> &source) { in setDataSourceAsync()
227 void NuPlayer::setDataSourceAsync( in setDataSourceAsync()
268 void NuPlayer::setDataSourceAsync(int fd, int64_t offset, int64_t length) { in setDataSourceAsync()
287 void NuPlayer::prepareAsync() { in prepareAsync()
291 void NuPlayer::setVideoSurfaceTextureAsync( in setVideoSurfaceTextureAsync()
307 void NuPlayer::setAudioSink(const sp<MediaPlayerBase::AudioSink> &sink) { in setAudioSink()
313 void NuPlayer::start() { in start()
317 void NuPlayer::pause() { in pause()
321 void NuPlayer::resetAsync() { in resetAsync()
335 void NuPlayer::seekToAsync(int64_t seekTimeUs, bool needNotify) { in seekToAsync()
343 void NuPlayer::writeTrackInfo( in writeTrackInfo()
371 void NuPlayer::onMessageReceived(const sp<AMessage> &msg) { in onMessageReceived()
571 new SimpleAction(&NuPlayer::performScanSources)); in onMessageReceived()
724 &NuPlayer::performScanSources)); in onMessageReceived()
927 new SimpleAction(&NuPlayer::performReset)); in onMessageReceived()
985 void NuPlayer::onResume() { in onResume()
1007 void NuPlayer::onStart() { in onStart()
1074 void NuPlayer::onPause() { in onPause()
1091 bool NuPlayer::audioDecoderStillNeeded() { in audioDecoderStillNeeded()
1096 void NuPlayer::handleFlushComplete(bool audio, bool isDecoder) { in handleFlushComplete()
1135 void NuPlayer::finishFlushIfPossible() { in finishFlushIfPossible()
1156 void NuPlayer::postScanSources() { in postScanSources()
1168 void NuPlayer::tryOpenAudioSinkForOffload(const sp<AMessage> &format, bool hasVideo) { in tryOpenAudioSinkForOffload()
1184 void NuPlayer::closeAudioSink() { in closeAudioSink()
1188 status_t NuPlayer::instantiateDecoder(bool audio, sp<DecoderBase> *decoder) { in instantiateDecoder()
1274 void NuPlayer::updateVideoSize( in updateVideoSize()
1340 void NuPlayer::notifyListener(int msg, int ext1, int ext2, const Parcel *in) { in notifyListener()
1354 void NuPlayer::flushDecoder(bool audio, bool needShutdown) { in flushDecoder()
1387 void NuPlayer::queueDecoderShutdown( in queueDecoderShutdown()
1397 new SimpleAction(&NuPlayer::performScanSources)); in queueDecoderShutdown()
1404 status_t NuPlayer::setVideoScalingMode(int32_t mode) { in setVideoScalingMode()
1418 status_t NuPlayer::getTrackInfo(Parcel* reply) const { in getTrackInfo()
1427 status_t NuPlayer::getSelectedTrack(int32_t type, Parcel* reply) const { in getSelectedTrack()
1440 status_t NuPlayer::selectTrack(size_t trackIndex, bool select, int64_t timeUs) { in selectTrack()
1460 status_t NuPlayer::getCurrentPosition(int64_t *mediaUs) { in getCurrentPosition()
1469 void NuPlayer::getStats(int64_t *numFramesTotal, int64_t *numFramesDropped) { in getStats()
1479 sp<MetaData> NuPlayer::getFileMeta() { in getFileMeta()
1483 void NuPlayer::schedulePollDuration() { in schedulePollDuration()
1489 void NuPlayer::cancelPollDuration() { in cancelPollDuration()
1493 void NuPlayer::processDeferredActions() { in processDeferredActions()
1516 void NuPlayer::performSeek(int64_t seekTimeUs, bool needNotify) { in performSeek()
1536 void NuPlayer::performDecoderFlush(FlushCommand audio, FlushCommand video) { in performDecoderFlush()
1553 void NuPlayer::performReset() { in performReset()
1590 void NuPlayer::performScanSources() { in performScanSources()
1602 void NuPlayer::performSetSurface(const sp<NativeWindowWrapper> &wrapper) { in performSetSurface()
1618 void NuPlayer::performResumeDecoders(bool needNotify) { in performResumeDecoders()
1642 void NuPlayer::finishResume() { in finishResume()
1654 void NuPlayer::onSourceNotify(const sp<AMessage> &msg) { in onSourceNotify()
1692 if ((flags & NuPlayer::Source::FLAG_CAN_SEEK) == 0) { in onSourceNotify()
1839 void NuPlayer::onClosedCaptionNotify(const sp<AMessage> &msg) { in onClosedCaptionNotify()
1844 case NuPlayer::CCDecoder::kWhatClosedCaptionData: in onClosedCaptionNotify()
1858 case NuPlayer::CCDecoder::kWhatTrackAdded: in onClosedCaptionNotify()
1872 void NuPlayer::sendSubtitleData(const sp<ABuffer> &buffer, int32_t baseIndex) { in sendSubtitleData()
1890 void NuPlayer::sendTimedTextData(const sp<ABuffer> &buffer) { in sendTimedTextData()
1919 sp<AMessage> NuPlayer::Source::getFormat(bool audio) { in getFormat()
1934 void NuPlayer::Source::notifyFlagsChanged(uint32_t flags) { in notifyFlagsChanged()
1941 void NuPlayer::Source::notifyVideoSizeChanged(const sp<AMessage> &format) { in notifyVideoSizeChanged()
1948 void NuPlayer::Source::notifyPrepared(status_t err) { in notifyPrepared()
1955 void NuPlayer::Source::onMessageReceived(const sp<AMessage> & /* msg */) { in onMessageReceived()