/frameworks/av/media/libstagefright/include/media/stagefright/ |
SurfaceUtils.h | 30 * 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 */);
|
SimpleDecodingSource.h | 42 // You can pass in a target |nativeWindow| to render video directly onto a surface. In this 49 const sp<ANativeWindow> &nativeWindow,
|
MediaCodec.h | 94 const sp<Surface> &nativeWindow, 100 const sp<Surface> &nativeWindow, 178 status_t setSurface(const sp<Surface> &nativeWindow);
|
/frameworks/av/media/libstagefright/ |
SurfaceUtils.cpp | 28 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_COMPOSER, &queuesToNativeWindow) [all...] |
/external/swiftshader/src/Main/ |
FrameBufferAndroid.cpp | 53 nativeWindow(window), buffer(nullptr) 55 nativeWindow->common.incRef(&nativeWindow->common); 56 native_window_set_usage(nativeWindow, GRALLOC_USAGE_SW_READ_OFTEN | GRALLOC_USAGE_SW_WRITE_OFTEN); 61 nativeWindow->common.decRef(&nativeWindow->common); 76 queueBuffer(nativeWindow, buffer, -1); 82 if(dequeueBuffer(nativeWindow, &buffer) != 0)
|
FrameBufferAndroid.hpp | 42 ANativeWindow *nativeWindow;
|
/frameworks/base/core/jni/ |
android_view_TextureView.cpp | 51 jfieldID nativeWindow; 122 SET_LONG(textureView, gTextureViewClassInfo.nativeWindow, jlong(window.get())); 127 ANativeWindow* nativeWindow = (ANativeWindow*) 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); [all...] |
android_app_NativeActivity.cpp | 124 nativeWindow = NULL; 156 nativeWindow = android_view_Surface_getNativeWindow(env, _surface); 158 nativeWindow = NULL; 171 sp<ANativeWindow> nativeWindow; 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.get()) [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
NdkInputSurface.java | 36 static private native long createEGLSurface(long eglDisplay, long eglConfig, long nativeWindow); 43 static private native void nativeRelease(long eglDisplay, long eglSurface, long eglContext, long nativeWindow); 45 public NdkInputSurface(long nativeWindow) { 47 mNativeWindow = nativeWindow;
|
/cts/tests/openglperf2/jni/reference/ |
GLReference.cpp | 35 ANativeWindow* nativeWindow = ANativeWindow_fromSurface(env, surface); 36 ReferenceRenderer* renderer = new ReferenceRenderer(nativeWindow); 62 ANativeWindow_release(nativeWindow);
|
/external/swiftshader/third_party/PowerVR_SDK/Examples/Beginner/01_HelloAPI/OGLES2/ |
OGLES2HelloAPI_LinuxX11.cpp | 144 @Output nativeWindow Native window type to create
148 bool CreateNativeWindow(Display* nativeDisplay, Window* nativeWindow)
181 *nativeWindow =XCreateWindow(nativeDisplay, // The display used to create the window
195 XMapWindow(nativeDisplay, *nativeWindow);
198 XStoreName(nativeDisplay, *nativeWindow, APPLICATION_NAME);
202 XSetWMProtocols(nativeDisplay, *nativeWindow, &windowManagerDelete , 1);
292 @Input nativeWindow A native window that's been created
299 bool CreateEGLSurface( Window nativeWindow, EGLDisplay eglDisplay, EGLConfig eglConfig, EGLSurface& eglSurface)
310 eglSurface = eglCreateWindowSurface(eglDisplay, eglConfig, (EGLNativeWindowType)nativeWindow, NULL);
325 @Input nativeWindow A native window, used to display error messages [all...] |
/external/deqp/external/vulkancts/framework/vulkan/ |
vkWsiUtil.cpp | 127 const Window& nativeWindow, 139 const XlibWindowInterface& xlibWindow = dynamic_cast<const XlibWindowInterface&>(nativeWindow); 155 const XcbWindowInterface& xcbWindow = dynamic_cast<const XcbWindowInterface&>(nativeWindow); 171 const WaylandWindowInterface& waylandWindow = dynamic_cast<const WaylandWindowInterface&>(nativeWindow); 187 const MirWindowInterface& mirWindow = dynamic_cast<const MirWindowInterface&>(nativeWindow); 202 const AndroidWindowInterface& androidWindow = dynamic_cast<const AndroidWindowInterface&>(nativeWindow); 217 const Win32WindowInterface& win32Window = dynamic_cast<const Win32WindowInterface&>(nativeWindow); 240 const Window& nativeWindow, 244 VK_CHECK(createSurface(vki, instance, wsiType, nativeDisplay, nativeWindow, pAllocator, &object));
|
vkWsiUtil.hpp | 69 const Window& nativeWindow, 77 const Window& nativeWindow,
|
/frameworks/wilhelm/src/android/ |
MediaPlayer_to_android.h | 41 * nativeWindow can be NULL, but if NULL it is treated as an error 44 ANativeWindow *nativeWindow);
|
MediaPlayer_to_android.cpp | 461 ANativeWindow *nativeWindow = (ANativeWindow *) 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) 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...] |
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/ |
EglBase10.java | 148 private void createSurfaceInternal(Object nativeWindow) { 149 if (!(nativeWindow instanceof SurfaceHolder) && !(nativeWindow instanceof SurfaceTexture)) { 157 eglSurface = egl.eglCreateWindowSurface(eglDisplay, eglConfig, nativeWindow, surfaceAttribs);
|
/frameworks/av/media/libstagefright/include/ |
SoftwareRenderer.h | 36 const sp<ANativeWindow> &nativeWindow, int32_t rotation = 0);
|
/device/generic/goldfish-opengl/system/egl/ |
egl.cpp | 363 ANativeWindow* nativeWindow; 372 nativeWindow(window), 377 nativeWindow->common.incRef(&nativeWindow->common); 383 if (nativeWindow->dequeueBuffer_DEPRECATED(nativeWindow, &buffer) != NO_ERROR) { 390 nativeWindow->query(nativeWindow, NATIVE_WINDOW_WIDTH, &nativeWidth); 391 nativeWindow->query(nativeWindow, NATIVE_WINDOW_HEIGHT, &nativeHeight) [all...] |
/external/deqp/modules/egl/ |
teglResizeTests.cpp | 78 using eglu::NativeWindow; 123 MovePtr<NativeWindow> m_nativeWindow; 170 MovePtr<NativeWindow> nativeWindow (windowFactory.createWindow(&nativeDisplay, 176 *nativeWindow, 192 m_nativeWindow = nativeWindow; 320 IVec2 getNativeSurfaceSize (const NativeWindow& nativeWindow, 323 if (hasBits(nativeWindow.getCapabilities(), NativeWindow::CAPABILITY_GET_SURFACE_SIZE) [all...] |
/hardware/interfaces/renderscript/1.0/vts/functional/ |
VtsMiscellaneousTests.cpp | 142 * NativeWindow (Surface) is retrieved from one allocation and set to the other. 174 NativeWindow nativeWindow = context->allocationGetNativeWindow(allocationRecv); 175 ASSERT_NE(NativeWindow(0), nativeWindow); 177 ((ANativeWindow *)nativeWindow)->incStrong(nullptr); 178 native_window_api_connect((ANativeWindow*)nativeWindow, 181 context->allocationSetNativeWindow(allocationSend, nativeWindow); 236 NativeWindow nativeWindow1 = context->allocationGetNativeWindow(allocationRecv1); 237 ASSERT_NE(NativeWindow(0), nativeWindow1) [all...] |
/frameworks/native/opengl/libagl/ |
egl.cpp | 264 ANativeWindow* nativeWindow; 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->common) [all...] |
/cts/tests/tests/media/libmediandkjni/ |
native-media-jni.cpp | [all...] |
/external/deqp/framework/egl/ |
egluGLContextFactory.cpp | 157 NativeWindow* m_window; 228 typedef std::pair<NativeWindow*, EGLSurface> WindowSurfacePair; 236 NativeWindow* nativeWindow = DE_NULL; 240 nativeWindow = windowFactory->createWindow(nativeDisplay, eglDisplay, eglConfig, &attribList[0], WindowParams(width, height, visibility)); 244 surface = eglu::createWindowSurface(*nativeDisplay, *nativeWindow, eglDisplay, eglConfig, attribList); 248 delete nativeWindow; 252 return WindowSurfacePair(nativeWindow, surface);
|
/hardware/intel/common/libmix/videodecoder/ |
VideoDecoderDefs.h | 157 void* nativeWindow;
|
/frameworks/base/core/java/android/view/ |
TextureView.java | 845 private static native boolean nLockCanvas(long nativeWindow, Canvas canvas, Rect dirty); 846 private static native void nUnlockCanvasAndPost(long nativeWindow, Canvas canvas);
|