Home
last modified time | relevance | path

Searched refs:mNativeWindow (Results 1 – 21 of 21) sorted by relevance

/frameworks/av/media/libstagefright/colorconversion/
DSoftwareRenderer.cpp45 mNativeWindow(nativeWindow), in SoftwareRenderer()
130 CHECK(mNativeWindow != NULL); in resetFormatIfChanged()
137 mNativeWindow.get(), in resetFormatIfChanged()
143 mNativeWindow.get(), in resetFormatIfChanged()
148 mNativeWindow.get(), in resetFormatIfChanged()
152 mNativeWindow.get(), in resetFormatIfChanged()
164 CHECK_EQ(0, native_window_set_crop(mNativeWindow.get(), &crop)); in resetFormatIfChanged()
180 mNativeWindow.get(), transform)); in resetFormatIfChanged()
190 if ((err = native_window_dequeue_buffer_and_wait(mNativeWindow.get(), in render()
280 if ((err = native_window_set_buffers_timestamp(mNativeWindow.get(), in render()
[all …]
/frameworks/base/libs/hwui/renderthread/
DCanvasContext.h71 bool hasSurface() { return mNativeWindow.get(); } in hasSurface()
122 sp<ANativeWindow> mNativeWindow; variable
DCanvasContext.cpp76 mNativeWindow = window; in setSurface()
171 if (CC_UNLIKELY(!mNativeWindow.get())) { in prepareTree()
180 mNativeWindow->query(mNativeWindow.get(), in prepareTree()
/frameworks/av/media/libstagefright/
DACodec.cpp530 if (mNativeWindow != NULL && portIndex == kPortIndexOutput) { in allocateBuffersOnPort()
632 mNativeWindow.get(), in configureOutputBuffersFromNativeWindow()
655 mNativeWindow.get(), transform); in configureOutputBuffersFromNativeWindow()
684 err = mNativeWindow->query( in configureOutputBuffersFromNativeWindow()
685 mNativeWindow.get(), NATIVE_WINDOW_QUEUES_TO_WINDOW_COMPOSER, in configureOutputBuffersFromNativeWindow()
698 err = mNativeWindow->query( in configureOutputBuffersFromNativeWindow()
699 mNativeWindow.get(), NATIVE_WINDOW_CONSUMER_USAGE_BITS, in configureOutputBuffersFromNativeWindow()
710 mNativeWindow.get(), in configureOutputBuffersFromNativeWindow()
734 err = mNativeWindow->query( in configureOutputBuffersFromNativeWindow()
735 mNativeWindow.get(), NATIVE_WINDOW_MIN_UNDEQUEUED_BUFFERS, in configureOutputBuffersFromNativeWindow()
[all …]
DOMXCodec.cpp696 if (mNativeWindow != NULL in configureCodec()
1443 mNativeWindow( in OMXCodec()
1619 if (mNativeWindow != NULL && portIndex == kPortIndexOutput) { in allocateBuffersOnPort()
1803 mNativeWindow.get(), transform); in applyRotation()
1825 mNativeWindow.get(), in allocateOutputBuffersFromNativeWindow()
1859 err = mNativeWindow->query( in allocateOutputBuffersFromNativeWindow()
1860 mNativeWindow.get(), NATIVE_WINDOW_QUEUES_TO_WINDOW_COMPOSER, in allocateOutputBuffersFromNativeWindow()
1874 mNativeWindow.get(), usage | GRALLOC_USAGE_HW_TEXTURE | GRALLOC_USAGE_EXTERNAL_DISP); in allocateOutputBuffersFromNativeWindow()
1881 err = mNativeWindow->query(mNativeWindow.get(), in allocateOutputBuffersFromNativeWindow()
1926 mNativeWindow.get(), def.nBufferCountActual); in allocateOutputBuffersFromNativeWindow()
[all …]
DAwesomePlayer.cpp141 : mNativeWindow(nativeWindow) { in AwesomeNativeWindowRenderer()
149 native_window_set_buffers_timestamp(mNativeWindow.get(), timeUs * 1000); in render()
150 status_t err = mNativeWindow->queueBuffer( in render()
151 mNativeWindow.get(), buffer->graphicBuffer().get(), -1); in render()
166 sp<ANativeWindow> mNativeWindow; member
180 mNativeWindow.get(), transform)); in applyRotation()
1210 if (mNativeWindow == NULL) { in initRenderer_l()
1245 new AwesomeNativeWindowRenderer(mNativeWindow, rotationDegrees); in initRenderer_l()
1253 mVideoRenderer = new AwesomeLocalRenderer(mNativeWindow, format); in initRenderer_l()
1358 mNativeWindow = native; in setNativeWindow_l()
[all …]
DMediaCodec.cpp996 mNativeWindow != NULL && in onMessageReceived()
1002 mSoftRenderer = new SoftwareRenderer(mNativeWindow); in onMessageReceived()
2071 if (mNativeWindow != NULL) { in setNativeWindow()
2073 mNativeWindow.get(), NATIVE_WINDOW_API_MEDIA); in setNativeWindow()
2080 mNativeWindow.clear(); in setNativeWindow()
2094 mNativeWindow = surfaceTextureClient; in setNativeWindow()
/frameworks/native/services/surfaceflinger/
DDisplayDevice.cpp79 mNativeWindow = new Surface(producer, false); in DisplayDevice()
80 ANativeWindow* const window = mNativeWindow.get(); in DisplayDevice()
413 ANativeWindow* const window = mNativeWindow.get(); in setDisplaySize()
502 mLayerStack, mDisplayWidth, mDisplayHeight, mNativeWindow.get(), in dump()
DDisplayDevice.h183 sp<ANativeWindow> mNativeWindow; variable
/frameworks/base/core/java/android/view/
DTextureView.java126 private long mNativeWindow; field in TextureView
661 if (!nLockCanvas(mNativeWindow, mCanvas, dirty)) { in lockCanvas()
687 nUnlockCanvasAndPost(mNativeWindow, mCanvas); in unlockCanvasAndPost()
/frameworks/av/media/libstagefright/include/
DSoftwareRenderer.h47 sp<ANativeWindow> mNativeWindow; variable
DAwesomePlayer.h158 sp<ANativeWindow> mNativeWindow; member
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDecoder.cpp48 mNativeWindow(nativeWindow), in Decoder()
134 if (mNativeWindow != NULL) { in onConfigure()
135 surface = mNativeWindow->getSurfaceTextureClient(); in onConfigure()
165 if (mNativeWindow != NULL) { in onConfigure()
282 if (mNativeWindow != NULL) { in onShutdown()
286 mNativeWindow->getNativeWindow().get(), in onShutdown()
DNuPlayerDecoder.h56 sp<NativeWindowWrapper> mNativeWindow; member
DNuPlayer.cpp626 if (mNativeWindow != NULL) { in onMessageReceived()
674 || (mVideoDecoder == NULL && mNativeWindow != NULL)) { in onMessageReceived()
1015 if (mNativeWindow != NULL) { in onStart()
1233 notify, mSource, mRenderer, mNativeWindow, mCCDecoder); in instantiateDecoder()
1406 if (mNativeWindow != NULL) { in setVideoScalingMode()
1408 mNativeWindow->getNativeWindow().get(), mVideoScalingMode); in setVideoScalingMode()
1605 mNativeWindow = wrapper; in performSetSurface()
DNuPlayer.h129 sp<NativeWindowWrapper> mNativeWindow; member
/frameworks/av/cmds/stagefright/
DSimplePlayer.h87 sp<NativeWindowWrapper> mNativeWindow; member
DSimplePlayer.cpp137 mNativeWindow = static_cast<NativeWindowWrapper *>(obj.get()); in onMessageReceived()
327 isVideo ? mNativeWindow->getSurfaceTextureClient() : NULL, in onPrepare()
414 mNativeWindow.clear(); in onReset()
/frameworks/av/include/media/stagefright/
DMediaCodec.h228 sp<Surface> mNativeWindow; member
DOMXCodec.h219 sp<ANativeWindow> mNativeWindow; member
DACodec.h183 sp<ANativeWindow> mNativeWindow; member