Home
last modified time | relevance | path

Searched refs:nww (Results 1 – 11 of 11) sorted by relevance

/frameworks/av/media/libmediaplayer2/nuplayer2/
DNuPlayer2Decoder.cpp65 const sp<ANativeWindowWrapper> &nww, in Decoder() argument
68 mNativeWindow(nww), in Decoder()
113 status_t NuPlayer2::Decoder::setVideoSurface(const sp<ANativeWindowWrapper> &nww) { in setVideoSurface() argument
114 if (nww == NULL || nww->getANativeWindow() == NULL in setVideoSurface()
121 msg->setObject("surface", nww); in setVideoSurface()
231 sp<ANativeWindowWrapper> nww = in onMessageReceived() local
233 if (nww == NULL || nww->getANativeWindow() == NULL) { in onMessageReceived()
246 err = native_window_api_disconnect(nww->getANativeWindow(), in onMessageReceived()
249 err = mCodec->setOutputSurface(nww); in onMessageReceived()
257 mNativeWindow = nww; in onMessageReceived()
[all …]
DNuPlayer2Decoder.h37 const sp<ANativeWindowWrapper> &nww = NULL,
43 virtual status_t setVideoSurface(const sp<ANativeWindowWrapper> &nww);
DNuPlayer2.cpp144 explicit SetSurfaceAction(const sp<ANativeWindowWrapper> &nww) in SetSurfaceAction()
145 : mNativeWindow(nww) { in SetSurfaceAction()
465 void NuPlayer2::setVideoSurfaceTextureAsync(const sp<ANativeWindowWrapper> &nww) { in setVideoSurfaceTextureAsync() argument
468 if (nww == NULL || nww->getANativeWindow() == NULL) { in setVideoSurfaceTextureAsync()
471 msg->setObject("surface", nww); in setVideoSurfaceTextureAsync()
900 sp<ANativeWindowWrapper> nww = static_cast<ANativeWindowWrapper *>(obj.get()); in onMessageReceived() local
903 (nww == NULL ? NULL : nww->getANativeWindow()), in onMessageReceived()
912 || (mVideoDecoder != NULL && mVideoDecoder->setVideoSurface(nww) == OK)) { in onMessageReceived()
913 performSetSurface(nww); in onMessageReceived()
922 mDeferredActions.push_back(new SetSurfaceAction(nww)); in onMessageReceived()
[all …]
DNuPlayer2Driver.h37 virtual status_t setVideoSurfaceTexture(const sp<ANativeWindowWrapper> &nww) override;
DNuPlayer2.h54 void setVideoSurfaceTextureAsync(const sp<ANativeWindowWrapper> &nww);
DNuPlayer2Driver.cpp214 status_t NuPlayer2Driver::setVideoSurfaceTexture(const sp<ANativeWindowWrapper> &nww) { in setVideoSurfaceTexture() argument
233 mPlayer->setVideoSurfaceTextureAsync(nww); in setVideoSurfaceTexture()
/frameworks/av/media/libmedia/
DNdkWrapper.cpp908 const sp<ANativeWindowWrapper> &nww, in configure() argument
918 (nww == NULL ? NULL : nww->getANativeWindow()), in configure()
1039 status_t AMediaCodecWrapper::setOutputSurface(const sp<ANativeWindowWrapper> &nww) { in setOutputSurface() argument
1045 (nww == NULL ? NULL : nww->getANativeWindow()))); in setOutputSurface()
/frameworks/av/media/libmedia/include/media/
DNdkWrapper.h230 const sp<ANativeWindowWrapper> &nww,
264 status_t setOutputSurface(const sp<ANativeWindowWrapper> &nww);
/frameworks/av/media/libmediaplayer2/
Dmediaplayer2.cpp654 status_t MediaPlayer2::setVideoSurfaceTexture(const sp<ANativeWindowWrapper>& nww) { in setVideoSurfaceTexture() argument
655 ANativeWindow *anw = (nww == NULL ? NULL : nww->getANativeWindow()); in setVideoSurfaceTexture()
683 status_t err = mPlayer->setVideoSurfaceTexture(nww); in setVideoSurfaceTexture()
688 mConnectedWindow = nww; in setVideoSurfaceTexture()
/frameworks/av/media/libmediaplayer2/include/mediaplayer2/
Dmediaplayer2.h62 status_t setVideoSurfaceTexture(const sp<ANativeWindowWrapper>& nww);
DMediaPlayer2Interface.h162 virtual status_t setVideoSurfaceTexture(const sp<ANativeWindowWrapper>& nww) = 0;