Searched refs:nativeWindow (Results 1 - 25 of 28) sorted by relevance

12

/frameworks/av/include/media/stagefright/
H A DSurfaceUtils.h30 * Configures |nativeWindow| for given |width|x|height|, pixel |format|, |rotation| and |usage|.
35 ANativeWindow *nativeWindow /* nonnull */,
38 ANativeWindow *nativeWindow /* nonnull */, HDRStaticInfo *info /* nonnull */);
39 status_t pushBlankBuffersToNativeWindow(ANativeWindow *nativeWindow /* nonnull */);
H A DSimpleDecodingSource.h42 // You can pass in a target |nativeWindow| to render video directly onto a surface. In this
49 const sp<ANativeWindow> &nativeWindow,
H A DMediaCodec.h94 const sp<Surface> &nativeWindow,
100 const sp<Surface> &nativeWindow,
178 status_t setSurface(const sp<Surface> &nativeWindow);
H A DACodec.h311 ANativeWindow *nativeWindow /* nonnull */, int *finalUsage /* nonnull */,
344 const sp<ANativeWindow> &nativeWindow);
/frameworks/av/media/libstagefright/include/media/stagefright/
H A DSurfaceUtils.h30 * Configures |nativeWindow| for given |width|x|height|, pixel |format|, |rotation| and |usage|.
35 ANativeWindow *nativeWindow /* nonnull */,
38 ANativeWindow *nativeWindow /* nonnull */, HDRStaticInfo *info /* nonnull */);
39 status_t pushBlankBuffersToNativeWindow(ANativeWindow *nativeWindow /* nonnull */);
H A DSimpleDecodingSource.h42 // You can pass in a target |nativeWindow| to render video directly onto a surface. In this
49 const sp<ANativeWindow> &nativeWindow,
H A DMediaCodec.h94 const sp<Surface> &nativeWindow,
100 const sp<Surface> &nativeWindow,
178 status_t setSurface(const sp<Surface> &nativeWindow);
H A DACodec.h311 ANativeWindow *nativeWindow /* nonnull */, int *finalUsage /* nonnull */,
344 const sp<ANativeWindow> &nativeWindow);
/frameworks/av/media/libstagefright/
H A DSurfaceUtils.cpp28 ANativeWindow *nativeWindow /* nonnull */,
34 err = nativeWindowDisconnect(nativeWindow, "setNativeWindowSizeFormatAndUsage");
40 err = nativeWindowConnect(nativeWindow, "setNativeWindowSizeFormatAndUsage");
47 err = native_window_set_buffers_dimensions(nativeWindow, width, height);
53 err = native_window_set_buffers_format(nativeWindow, format);
69 err = native_window_set_buffers_transform(nativeWindow, transform);
76 err = nativeWindow->query(nativeWindow, NATIVE_WINDOW_CONSUMER_USAGE_BITS, &consumerUsage);
87 err = nativeWindow->query(
88 nativeWindow, NATIVE_WINDOW_QUEUES_TO_WINDOW_COMPOSE
131 setNativeWindowHdrMetadata(ANativeWindow *nativeWindow, HDRStaticInfo *info) argument
[all...]
H A DMediaCodecListOverrides.cpp153 const sp<Surface> nativeWindow; local
157 err = codec->configure(format, nativeWindow, crypto, flags);
H A DSimpleDecodingSource.cpp49 const sp<MediaSource> &source, uint32_t flags, const sp<ANativeWindow> &nativeWindow,
51 sp<Surface> surface = static_cast<Surface*>(nativeWindow.get());
48 Create( const sp<MediaSource> &source, uint32_t flags, const sp<ANativeWindow> &nativeWindow, const char *desiredCodec, bool skipMediaCodecList) argument
H A DACodec.cpp726 ANativeWindow *nativeWindow = surface.get(); local
742 nativeWindow, &usageBits, !storingMetadataInDecodedBuffers());
757 err = nativeWindow->query(
758 nativeWindow, NATIVE_WINDOW_MIN_UNDEQUEUED_BUFFERS,
776 err = native_window_set_buffer_count(nativeWindow, buffers.size());
813 err = nativeWindow->cancelBuffer(
814 nativeWindow, info.mGraphicBuffer->getNativeBuffer(), info.mFenceFd);
833 mNativeWindow = nativeWindow;
1049 ANativeWindow *nativeWindow /* nonnull */, int *finalUsage /* nonnull */,
1072 if (nativeWindow
1881 sp<ANativeWindow> nativeWindow = local
3074 configureTunneledVideoPlayback( int32_t audioHwSync, const sp<ANativeWindow> &nativeWindow) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_view_TextureView.cpp51 jfieldID nativeWindow; member in struct:android::__anon921
122 SET_LONG(textureView, gTextureViewClassInfo.nativeWindow, jlong(window.get()));
127 ANativeWindow* nativeWindow = (ANativeWindow*) local
128 GET_LONG(textureView, gTextureViewClassInfo.nativeWindow);
130 if (nativeWindow) {
131 sp<ANativeWindow> window(nativeWindow);
133 SET_LONG(textureView, gTextureViewClassInfo.nativeWindow, 0);
138 jlong nativeWindow, jobject canvas, jobject dirtyRect) {
140 if (!nativeWindow) {
156 sp<ANativeWindow> window((ANativeWindow*) nativeWindow);
137 android_view_TextureView_lockCanvas(JNIEnv* env, jobject, jlong nativeWindow, jobject canvas, jobject dirtyRect) argument
184 android_view_TextureView_unlockCanvasAndPost(JNIEnv* env, jobject, jlong nativeWindow, jobject canvas) argument
[all...]
H A Dandroid_app_NativeActivity.cpp124 nativeWindow = NULL;
156 nativeWindow = android_view_Surface_getNativeWindow(env, _surface);
158 nativeWindow = NULL;
171 sp<ANativeWindow> nativeWindow; member in struct:android::NativeCode
543 if (code->nativeWindow != NULL && code->callbacks.onNativeWindowCreated != NULL) {
545 code->nativeWindow.get());
565 sp<ANativeWindow> oldNativeWindow = code->nativeWindow;
567 if (oldNativeWindow != code->nativeWindow) {
572 if (code->nativeWindow != NULL) {
575 code->nativeWindow
[all...]
/frameworks/wilhelm/src/android/
H A DMediaPlayer_to_android.h41 * nativeWindow can be NULL, but if NULL it is treated as an error
44 ANativeWindow *nativeWindow);
H A DMediaPlayer_to_android.cpp461 ANativeWindow *nativeWindow = (ANativeWindow *) local
464 assert(nativeWindow != NULL);
465 result = android_Player_setNativeWindow(mp, nativeWindow);
718 * nativeWindow can be NULL, but if NULL it is treated as an error
720 SLresult android_Player_setNativeWindow(CMediaPlayer *mp, ANativeWindow *nativeWindow) argument
724 if (nativeWindow == NULL) {
732 err = (*nativeWindow->query)(nativeWindow, NATIVE_WINDOW_CONCRETE_TYPE, &value);
735 "errno %d", nativeWindow, err);
742 static_cast<android::Surface *>(nativeWindow));
[all...]
/frameworks/av/media/libstagefright/include/
H A DSoftwareRenderer.h36 const sp<ANativeWindow> &nativeWindow, int32_t rotation = 0);
/frameworks/native/opengl/libagl/
H A Degl.cpp264 ANativeWindow* nativeWindow; member in struct:android::egl_window_surface_v2_t
366 nativeWindow(window), buffer(0), previousBuffer(0), bits(NULL)
372 nativeWindow->common.incRef(&nativeWindow->common);
373 nativeWindow->query(nativeWindow, NATIVE_WINDOW_WIDTH, &width);
374 nativeWindow->query(nativeWindow, NATIVE_WINDOW_HEIGHT, &height);
384 nativeWindow->common.decRef(&nativeWindow
[all...]
/frameworks/base/core/java/android/view/
H A DTextureView.java845 private static native boolean nLockCanvas(long nativeWindow, Canvas canvas, Rect dirty); argument
846 private static native void nUnlockCanvasAndPost(long nativeWindow, Canvas canvas); argument
/frameworks/native/services/surfaceflinger/tests/unittests/
H A DTestableSurfaceFlinger.h279 auto& setNativeWindow(const sp<ANativeWindow>& nativeWindow) { argument
280 mNativeWindow = nativeWindow;
H A DDisplayTransactionTest.cpp1711 auto nativeWindow = new mock::NativeWindow(); local
1715 display.setNativeWindow(nativeWindow);
1731 EXPECT_CALL(*renderSurface, setNativeWindow(nativeWindow)).Times(1);
1752 auto nativeWindow = new mock::NativeWindow(); local
1756 display.setNativeWindow(nativeWindow);
1772 EXPECT_CALL(*renderSurface, setNativeWindow(nativeWindow)).Times(1);
/frameworks/wilhelm/tests/sandbox/
H A Dxaplay.c372 ANativeWindow *nativeWindow; local
426 nativeWindow = getNativeWindow();
429 locND.hWindow = nativeWindow;
441 &audioSnk, nativeWindow != NULL ? &imageVideoSink : NULL, NULL, NULL, abq ? 4 : 3, ids,
852 if (nativeWindow != NULL) {
853 ANativeWindow_release(nativeWindow);
/frameworks/av/media/libstagefright/colorconversion/
H A DSoftwareRenderer.cpp40 const sp<ANativeWindow> &nativeWindow, int32_t rotation)
44 mNativeWindow(nativeWindow),
39 SoftwareRenderer( const sp<ANativeWindow> &nativeWindow, int32_t rotation) argument
/frameworks/native/services/surfaceflinger/
H A DDisplayDevice.h86 const sp<ANativeWindow>& nativeWindow,
/frameworks/base/opengl/java/android/opengl/
H A DGLSurfaceView.java823 Object nativeWindow);
830 EGLConfig config, Object nativeWindow) {
833 result = egl.eglCreateWindowSurface(display, config, nativeWindow, null);
822 createWindowSurface(EGL10 egl, EGLDisplay display, EGLConfig config, Object nativeWindow) argument
829 createWindowSurface(EGL10 egl, EGLDisplay display, EGLConfig config, Object nativeWindow) argument

Completed in 1690 milliseconds

12