/frameworks/av/include/media/stagefright/ |
SurfaceUtils.h | 28 * Configures |nativeWindow| for given |width|x|height|, pixel |format|, |rotation| and |usage|. 33 ANativeWindow *nativeWindow /* nonnull */, 35 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 = NULL,
|
/frameworks/av/media/libstagefright/ |
SurfaceUtils.cpp | 28 ANativeWindow *nativeWindow /* nonnull */, 34 err = native_window_api_disconnect(nativeWindow, NATIVE_WINDOW_API_MEDIA); 40 err = native_window_api_connect(nativeWindow, NATIVE_WINDOW_API_MEDIA); 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...] |
SimpleDecodingSource.cpp | 38 const sp<IMediaSource> &source, uint32_t flags, const sp<ANativeWindow> &nativeWindow, 40 sp<Surface> surface = static_cast<Surface*>(nativeWindow.get());
|
/external/skia/include/gpu/gl/command_buffer/ |
SkCommandBufferGLContext.h | 36 static SkCommandBufferGLContext* Create(void* nativeWindow, int msaaSampleCount) { 37 SkCommandBufferGLContext* ctx = new SkCommandBufferGLContext(nativeWindow, 58 SkCommandBufferGLContext(void* nativeWindow, int msaaSampleCount); 59 void initializeGLContext(ContextVersion minContextVersion, void* nativeWindow,
|
/frameworks/base/core/jni/ |
android_view_TextureView.cpp | 51 jfieldID nativeWindow; 117 SET_LONG(textureView, gTextureViewClassInfo.nativeWindow, jlong(window.get())); 122 ANativeWindow* nativeWindow = (ANativeWindow*) 123 GET_LONG(textureView, gTextureViewClassInfo.nativeWindow); 125 if (nativeWindow) { 126 sp<ANativeWindow> window(nativeWindow); 128 SET_LONG(textureView, gTextureViewClassInfo.nativeWindow, 0); 133 jlong nativeWindow, jobject canvas, jobject dirtyRect) { 135 if (!nativeWindow) { 151 sp<ANativeWindow> window((ANativeWindow*) nativeWindow); [all...] |
android_app_NativeActivity.cpp | 122 nativeWindow = NULL; 149 nativeWindow = android_view_Surface_getNativeWindow(env, _surface); 151 nativeWindow = NULL; 164 sp<ANativeWindow> nativeWindow; 519 if (code->nativeWindow != NULL && code->callbacks.onNativeWindowCreated != NULL) { 521 code->nativeWindow.get()); 541 sp<ANativeWindow> oldNativeWindow = code->nativeWindow; 543 if (oldNativeWindow != code->nativeWindow) { 548 if (code->nativeWindow != NULL) { 551 code->nativeWindow.get()) [all...] |
/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/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/av/media/libstagefright/include/ |
SoftwareRenderer.h | 35 const sp<ANativeWindow> &nativeWindow, int32_t rotation = 0);
|
/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);
|
/external/skia/src/gpu/gl/command_buffer/ |
SkCommandBufferGLContext.cpp | 171 SkCommandBufferGLContext::SkCommandBufferGLContext(void* nativeWindow, int msaaSampleCount) { 191 initializeGLContext(kGLES2_ContextVersion, nativeWindow, configAttribs, surfaceAttribs); 195 void* nativeWindow, const int* configAttribs, 225 if (nativeWindow) { 228 (EGLNativeWindowType)nativeWindow,
|
/device/generic/goldfish-opengl/system/egl/ |
egl.cpp | 305 ANativeWindow* nativeWindow; 313 nativeWindow(window), 317 nativeWindow->common.incRef(&nativeWindow->common); 323 if (nativeWindow->dequeueBuffer_DEPRECATED(nativeWindow, &buffer) != NO_ERROR) { 330 nativeWindow->query(nativeWindow, NATIVE_WINDOW_WIDTH, &nativeWidth); 331 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...] |
teglNativeCoordMappingTests.cpp | 364 bool testNativeWindow (TestLog& log, eglu::NativeDisplay& nativeDisplay, eglu::NativeWindow& nativeWindow, EGLDisplay display, EGLContext context, EGLConfig config, const glw::Functions& gl, bool renderColor, int waitFrames) 372 const tcu::IVec2 screenSize = nativeWindow.getScreenSize(); 373 eglu::UniqueSurface surface (egl, display, eglu::createWindowSurface(nativeDisplay, nativeWindow, display, config, DE_NULL)); 396 nativeWindow.readScreenPixels(&result); 520 if ((windowFactory->getCapabilities() & eglu::NativeWindow::CAPABILITY_READ_SCREEN_PIXELS) == 0) 567 de::UniquePtr<eglu::NativeWindow> nativeWindow (windowFactory->createWindow(&m_eglTestCtx.getNativeDisplay(), display, config, DE_NULL, eglu::WindowParams(width, height, eglu::WindowParams::VISIBILITY_VISIBLE))); 569 if (!testNativeWindow(m_testCtx.getLog(), m_eglTestCtx.getNativeDisplay(), *nativeWindow, display, *context, config, gl, m_render, waitFrames))
|
teglNativeColorMappingTests.cpp | 323 bool testNativeWindow (TestLog& log, eglu::NativeDisplay& nativeDisplay, eglu::NativeWindow& nativeWindow, EGLDisplay display, EGLContext context, EGLConfig config, const glw::Functions& gl, bool renderColor, int waitFrames, size_t colorCount, const tcu::Vec4* colors) 326 eglu::UniqueSurface surface (egl, display, eglu::createWindowSurface(nativeDisplay, nativeWindow, display, config, DE_NULL)); 348 nativeWindow.readScreenPixels(&result); 487 if ((windowFactory->getCapabilities() & eglu::NativeWindow::CAPABILITY_READ_SCREEN_PIXELS) == 0) 534 de::UniquePtr<eglu::NativeWindow> nativeWindow (windowFactory->createWindow(&m_eglTestCtx.getNativeDisplay(), display, config, DE_NULL, eglu::WindowParams(width, height, eglu::WindowParams::VISIBILITY_VISIBLE))); 536 if (!testNativeWindow(m_testCtx.getLog(), m_eglTestCtx.getNativeDisplay(), *nativeWindow, display, *context, config, gl, m_render, waitFrames, DE_LENGTH_OF_ARRAY(colors), colors))
|
/frameworks/native/opengl/libagl/ |
egl.cpp | 243 ANativeWindow* nativeWindow; 345 nativeWindow(window), buffer(0), previousBuffer(0), bits(NULL) 351 nativeWindow->common.incRef(&nativeWindow->common); 352 nativeWindow->query(nativeWindow, NATIVE_WINDOW_WIDTH, &width); 353 nativeWindow->query(nativeWindow, NATIVE_WINDOW_HEIGHT, &height); 363 nativeWindow->common.decRef(&nativeWindow->common) [all...] |
/external/deqp/framework/egl/ |
egluGLContextFactory.cpp | 149 NativeWindow* m_window; 220 typedef std::pair<NativeWindow*, EGLSurface> WindowSurfacePair; 228 NativeWindow* nativeWindow = DE_NULL; 232 nativeWindow = windowFactory->createWindow(nativeDisplay, eglDisplay, eglConfig, &attribList[0], WindowParams(width, height, visibility)); 236 surface = eglu::createWindowSurface(*nativeDisplay, *nativeWindow, eglDisplay, eglConfig, attribList); 240 delete nativeWindow; 244 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);
|
/frameworks/wilhelm/tests/sandbox/ |
xaplay.c | 30 #include "nativewindow.h" 372 ANativeWindow *nativeWindow; 426 nativeWindow = getNativeWindow(); 429 locND.hWindow = nativeWindow; 441 &audioSnk, nativeWindow != NULL ? &imageVideoSink : NULL, NULL, NULL, abq ? 4 : 3, ids, [all...] |
/external/deqp/external/vulkancts/modules/vulkan/wsi/ |
vktWsiSurfaceTests.cpp | 532 const UniquePtr<Window> nativeWindow (createWindow(*nativeDisplay, tcu::just(testSize))); 533 const Unique<VkSurfaceKHR> surface (createSurface(instHelper.vki, *instHelper.instance, wsiType, *nativeDisplay, *nativeWindow)); 562 UniquePtr<Window> nativeWindow (createWindow(*nativeDisplay, tcu::nothing<UVec2>())); 565 const Unique<VkSurfaceKHR> surface (createSurface(instHelper.vki, *instHelper.instance, wsiType, *nativeDisplay, *nativeWindow)); 582 nativeWindow->resize(testSize);
|