/frameworks/av/media/libstagefright/colorconversion/ |
D | SoftwareRenderer.cpp | 45 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/ |
D | CanvasContext.h | 71 bool hasSurface() { return mNativeWindow.get(); } in hasSurface() 122 sp<ANativeWindow> mNativeWindow; variable
|
D | CanvasContext.cpp | 76 mNativeWindow = window; in setSurface() 171 if (CC_UNLIKELY(!mNativeWindow.get())) { in prepareTree() 180 mNativeWindow->query(mNativeWindow.get(), in prepareTree()
|
/frameworks/av/media/libstagefright/ |
D | ACodec.cpp | 530 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 …]
|
D | OMXCodec.cpp | 696 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 …]
|
D | AwesomePlayer.cpp | 141 : 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 …]
|
D | MediaCodec.cpp | 996 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/ |
D | DisplayDevice.cpp | 79 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()
|
D | DisplayDevice.h | 183 sp<ANativeWindow> mNativeWindow; variable
|
/frameworks/base/core/java/android/view/ |
D | TextureView.java | 126 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/ |
D | SoftwareRenderer.h | 47 sp<ANativeWindow> mNativeWindow; variable
|
D | AwesomePlayer.h | 158 sp<ANativeWindow> mNativeWindow; member
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerDecoder.cpp | 48 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()
|
D | NuPlayerDecoder.h | 56 sp<NativeWindowWrapper> mNativeWindow; member
|
D | NuPlayer.cpp | 626 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()
|
D | NuPlayer.h | 129 sp<NativeWindowWrapper> mNativeWindow; member
|
/frameworks/av/cmds/stagefright/ |
D | SimplePlayer.h | 87 sp<NativeWindowWrapper> mNativeWindow; member
|
D | SimplePlayer.cpp | 137 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/ |
D | MediaCodec.h | 228 sp<Surface> mNativeWindow; member
|
D | OMXCodec.h | 219 sp<ANativeWindow> mNativeWindow; member
|
D | ACodec.h | 183 sp<ANativeWindow> mNativeWindow; member
|