/frameworks/av/media/libstagefright/ |
D | SurfaceUtils.cpp | 28 ANativeWindow *nativeWindow /* nonnull */, in setNativeWindowSizeFormatAndUsage() argument 34 err = native_window_api_disconnect(nativeWindow, NATIVE_WINDOW_API_MEDIA); in setNativeWindowSizeFormatAndUsage() 40 err = native_window_api_connect(nativeWindow, NATIVE_WINDOW_API_MEDIA); in setNativeWindowSizeFormatAndUsage() 47 err = native_window_set_buffers_dimensions(nativeWindow, width, height); in setNativeWindowSizeFormatAndUsage() 53 err = native_window_set_buffers_format(nativeWindow, format); in setNativeWindowSizeFormatAndUsage() 69 err = native_window_set_buffers_transform(nativeWindow, transform); in setNativeWindowSizeFormatAndUsage() 76 err = nativeWindow->query(nativeWindow, NATIVE_WINDOW_CONSUMER_USAGE_BITS, &consumerUsage); in setNativeWindowSizeFormatAndUsage() 87 err = nativeWindow->query( in setNativeWindowSizeFormatAndUsage() 88 nativeWindow, NATIVE_WINDOW_QUEUES_TO_WINDOW_COMPOSER, &queuesToNativeWindow); in setNativeWindowSizeFormatAndUsage() 103 err = native_window_set_usage(nativeWindow, finalUsage); in setNativeWindowSizeFormatAndUsage() [all …]
|
D | SimpleDecodingSource.cpp | 39 const sp<IMediaSource> &source, uint32_t flags, const sp<ANativeWindow> &nativeWindow, in Create() argument 41 sp<Surface> surface = static_cast<Surface*>(nativeWindow.get()); in Create()
|
D | MediaCodecListOverrides.cpp | 210 const sp<Surface> nativeWindow; in doProfileCodecs() local 214 err = codec->configure(format, nativeWindow, crypto, flags); in doProfileCodecs()
|
D | ACodec.cpp | 663 ANativeWindow *nativeWindow = surface.get(); in handleSetSurface() local 679 nativeWindow, &usageBits, in handleSetSurface() 695 err = nativeWindow->query( in handleSetSurface() 696 nativeWindow, NATIVE_WINDOW_MIN_UNDEQUEUED_BUFFERS, in handleSetSurface() 714 err = native_window_set_buffer_count(nativeWindow, buffers.size()); in handleSetSurface() 752 err = nativeWindow->cancelBuffer( in handleSetSurface() 753 nativeWindow, info.mGraphicBuffer->getNativeBuffer(), info.mFenceFd); in handleSetSurface() 772 mNativeWindow = nativeWindow; in handleSetSurface() 954 ANativeWindow *nativeWindow /* nonnull */, int *finalUsage /* nonnull */, in setupNativeWindowSizeFormatAndUsage() argument 988 nativeWindow, in setupNativeWindowSizeFormatAndUsage() [all …]
|
/frameworks/base/core/jni/ |
D | android_view_TextureView.cpp | 51 jfieldID nativeWindow; member 117 SET_LONG(textureView, gTextureViewClassInfo.nativeWindow, jlong(window.get())); in android_view_TextureView_createNativeWindow() 122 ANativeWindow* nativeWindow = (ANativeWindow*) in android_view_TextureView_destroyNativeWindow() local 123 GET_LONG(textureView, gTextureViewClassInfo.nativeWindow); in android_view_TextureView_destroyNativeWindow() 125 if (nativeWindow) { in android_view_TextureView_destroyNativeWindow() 126 sp<ANativeWindow> window(nativeWindow); in android_view_TextureView_destroyNativeWindow() 128 SET_LONG(textureView, gTextureViewClassInfo.nativeWindow, 0); in android_view_TextureView_destroyNativeWindow() 133 jlong nativeWindow, jobject canvas, jobject dirtyRect) { in android_view_TextureView_lockCanvas() argument 135 if (!nativeWindow) { in android_view_TextureView_lockCanvas() 151 sp<ANativeWindow> window((ANativeWindow*) nativeWindow); in android_view_TextureView_lockCanvas() [all …]
|
D | android_app_NativeActivity.cpp | 122 nativeWindow = NULL; in NativeCode() 149 nativeWindow = android_view_Surface_getNativeWindow(env, _surface); in setSurface() 151 nativeWindow = NULL; in setSurface() 164 sp<ANativeWindow> nativeWindow; member 519 if (code->nativeWindow != NULL && code->callbacks.onNativeWindowCreated != NULL) { in onSurfaceCreated_native() 521 code->nativeWindow.get()); in onSurfaceCreated_native() 541 sp<ANativeWindow> oldNativeWindow = code->nativeWindow; in onSurfaceChanged_native() 543 if (oldNativeWindow != code->nativeWindow) { in onSurfaceChanged_native() 548 if (code->nativeWindow != NULL) { in onSurfaceChanged_native() 551 code->nativeWindow.get()); in onSurfaceChanged_native() [all …]
|
/frameworks/av/include/media/stagefright/ |
D | SurfaceUtils.h | 33 ANativeWindow *nativeWindow /* nonnull */, 35 status_t pushBlankBuffersToNativeWindow(ANativeWindow *nativeWindow /* nonnull */);
|
D | SimpleDecodingSource.h | 49 const sp<ANativeWindow> &nativeWindow = NULL,
|
D | MediaCodec.h | 84 const sp<Surface> &nativeWindow, 161 status_t setSurface(const sp<Surface> &nativeWindow);
|
D | ACodec.h | 317 ANativeWindow *nativeWindow /* nonnull */, int *finalUsage /* nonnull */, 351 const sp<ANativeWindow> &nativeWindow);
|
/frameworks/wilhelm/src/android/ |
D | MediaPlayer_to_android.cpp | 461 ANativeWindow *nativeWindow = (ANativeWindow *) in android_Player_realize() local 464 assert(nativeWindow != NULL); in android_Player_realize() 465 result = android_Player_setNativeWindow(mp, nativeWindow); in android_Player_realize() 720 SLresult android_Player_setNativeWindow(CMediaPlayer *mp, ANativeWindow *nativeWindow) in android_Player_setNativeWindow() argument 724 if (nativeWindow == NULL) { in android_Player_setNativeWindow() 732 err = (*nativeWindow->query)(nativeWindow, NATIVE_WINDOW_CONCRETE_TYPE, &value); in android_Player_setNativeWindow() 735 "errno %d", nativeWindow, err); in android_Player_setNativeWindow() 742 static_cast<android::Surface *>(nativeWindow)); in android_Player_setNativeWindow() 752 nativeWindow, value); in android_Player_setNativeWindow()
|
D | MediaPlayer_to_android.h | 44 ANativeWindow *nativeWindow);
|
/frameworks/native/opengl/libagl/ |
D | egl.cpp | 243 ANativeWindow* nativeWindow; member 345 nativeWindow(window), buffer(0), previousBuffer(0), bits(NULL) in egl_window_surface_v2_t() 351 nativeWindow->common.incRef(&nativeWindow->common); in egl_window_surface_v2_t() 352 nativeWindow->query(nativeWindow, NATIVE_WINDOW_WIDTH, &width); in egl_window_surface_v2_t() 353 nativeWindow->query(nativeWindow, NATIVE_WINDOW_HEIGHT, &height); in egl_window_surface_v2_t() 363 nativeWindow->common.decRef(&nativeWindow->common); in ~egl_window_surface_v2_t() 369 native_window_set_usage(nativeWindow, in connect() 374 if (nativeWindow->dequeueBuffer(nativeWindow, &buffer, in connect() 382 nativeWindow->cancelBuffer(nativeWindow, buffer, fenceFd); in connect() 426 nativeWindow->cancelBuffer(nativeWindow, buffer, -1); in disconnect() [all …]
|
/frameworks/wilhelm/tests/sandbox/ |
D | xaplay.c | 372 ANativeWindow *nativeWindow; in main() local 426 nativeWindow = getNativeWindow(); in main() 429 locND.hWindow = nativeWindow; in main() 441 &audioSnk, nativeWindow != NULL ? &imageVideoSink : NULL, NULL, NULL, abq ? 4 : 3, ids, in main() 852 if (nativeWindow != NULL) { in main() 853 ANativeWindow_release(nativeWindow); in main()
|
/frameworks/av/media/libstagefright/include/ |
D | SoftwareRenderer.h | 35 const sp<ANativeWindow> &nativeWindow, int32_t rotation = 0);
|
/frameworks/base/core/java/android/view/ |
D | TextureView.java | 845 private static native boolean nLockCanvas(long nativeWindow, Canvas canvas, Rect dirty); in nLockCanvas() argument 846 private static native void nUnlockCanvasAndPost(long nativeWindow, Canvas canvas); in nUnlockCanvasAndPost() argument
|
/frameworks/av/media/libstagefright/colorconversion/ |
D | SoftwareRenderer.cpp | 42 const sp<ANativeWindow> &nativeWindow, int32_t rotation) in SoftwareRenderer() argument 46 mNativeWindow(nativeWindow), in SoftwareRenderer()
|
/frameworks/base/opengl/java/android/opengl/ |
D | GLSurfaceView.java | 812 Object nativeWindow); in createWindowSurface() argument 819 EGLConfig config, Object nativeWindow) { in createWindowSurface() argument 822 result = egl.eglCreateWindowSurface(display, config, nativeWindow, null); in createWindowSurface()
|