Lines Matching defs:NuPlayer
18 #define LOG_TAG "NuPlayer"
21 #include "NuPlayer.h"
53 struct NuPlayer::Action : public RefBase {
56 virtual void execute(NuPlayer *player) = 0;
62 struct NuPlayer::SeekAction : public Action {
67 virtual void execute(NuPlayer *player) {
77 struct NuPlayer::SetSurfaceAction : public Action {
82 virtual void execute(NuPlayer *player) {
92 struct NuPlayer::ShutdownDecoderAction : public Action {
98 virtual void execute(NuPlayer *player) {
109 struct NuPlayer::PostMessageAction : public Action {
114 virtual void execute(NuPlayer *) {
126 struct NuPlayer::SimpleAction : public Action {
127 typedef void (NuPlayer::*ActionFunc)();
133 virtual void execute(NuPlayer *player) {
145 NuPlayer::NuPlayer()
166 NuPlayer::~NuPlayer() {
169 void NuPlayer::setUID(uid_t uid) {
174 void NuPlayer::setDriver(const wp<NuPlayerDriver> &driver) {
178 void NuPlayer::setDataSourceAsync(const sp<IStreamSource> &source) {
211 void NuPlayer::setDataSourceAsync(
236 void NuPlayer::setDataSourceAsync(int fd, int64_t offset, int64_t length) {
246 void NuPlayer::prepareAsync() {
250 void NuPlayer::setVideoSurfaceTextureAsync(
266 void NuPlayer::setAudioSink(const sp<MediaPlayerBase::AudioSink> &sink) {
272 void NuPlayer::start() {
276 void NuPlayer::pause() {
280 void NuPlayer::resume() {
284 void NuPlayer::resetAsync() {
288 void NuPlayer::seekToAsync(int64_t seekTimeUs) {
295 bool NuPlayer::IsFlushingState(FlushStatus state, bool *needShutdown) {
314 void NuPlayer::onMessageReceived(const sp<AMessage> &msg) {
424 new SimpleAction(&NuPlayer::performScanSources));
795 new SimpleAction(&NuPlayer::performReset));
809 new SimpleAction(&NuPlayer::performDecoderFlush));
845 void NuPlayer::finishFlushIfPossible() {
875 void NuPlayer::postScanSources() {
887 status_t NuPlayer::instantiateDecoder(bool audio, sp<Decoder> *decoder) {
917 status_t NuPlayer::feedDecoderInputData(bool audio, const sp<AMessage> &msg) {
988 &NuPlayer::performScanSources));
1049 void NuPlayer::renderBuffer(bool audio, const sp<AMessage> &msg) {
1095 void NuPlayer::notifyListener(int msg, int ext1, int ext2, const Parcel *in) {
1109 void NuPlayer::flushDecoder(bool audio, bool needShutdown) {
1153 sp<AMessage> NuPlayer::Source::getFormat(bool audio) {
1168 status_t NuPlayer::setVideoScalingMode(int32_t mode) {
1182 status_t NuPlayer::getTrackInfo(Parcel* reply) const {
1191 status_t NuPlayer::selectTrack(size_t trackIndex, bool select) {
1202 void NuPlayer::schedulePollDuration() {
1208 void NuPlayer::cancelPollDuration() {
1212 void NuPlayer::processDeferredActions() {
1247 void NuPlayer::performSeek(int64_t seekTimeUs) {
1265 void NuPlayer::performDecoderFlush() {
1283 void NuPlayer::performDecoderShutdown(bool audio, bool video) {
1310 void NuPlayer::performReset() {
1341 void NuPlayer::performScanSources() {
1353 void NuPlayer::performSetSurface(const sp<NativeWindowWrapper> &wrapper) {
1369 void NuPlayer::onSourceNotify(const sp<AMessage> &msg) {
1489 void NuPlayer::Source::notifyFlagsChanged(uint32_t flags) {
1496 void NuPlayer::Source::notifyVideoSizeChanged(int32_t width, int32_t height) {
1504 void NuPlayer::Source::notifyPrepared(status_t err) {
1511 void NuPlayer::Source::onMessageReceived(const sp<AMessage> &msg) {
1515 void NuPlayer::queueDecoderShutdown(
1523 new SimpleAction(&NuPlayer::performScanSources));