HomeSort by relevance Sort by last modified time
    Searched refs:nativeWindow (Results 1 - 25 of 30) sorted by null

1 2

  /frameworks/av/include/media/stagefright/
SurfaceUtils.h 28 ANativeWindow *nativeWindow /* nonnull */,
30 status_t pushBlankBuffersToNativeWindow(ANativeWindow *nativeWindow /* nonnull */);
MediaCodec.h 78 const sp<Surface> &nativeWindow,
154 status_t setSurface(const sp<Surface> &nativeWindow);
OMXCodec.h 70 const sp<ANativeWindow> &nativeWindow = NULL);
238 const sp<ANativeWindow> &nativeWindow);
ACodec.h 278 ANativeWindow *nativeWindow /* nonnull */, int *finalUsage /* nonnull */);
307 const sp<ANativeWindow> &nativeWindow);
  /frameworks/av/media/libstagefright/
SurfaceUtils.cpp 28 ANativeWindow *nativeWindow /* nonnull */,
30 status_t err = native_window_set_buffers_dimensions(nativeWindow, width, height);
36 err = native_window_set_buffers_format(nativeWindow, format);
52 err = native_window_set_buffers_transform(nativeWindow, transform);
64 err = nativeWindow->query(
65 nativeWindow, NATIVE_WINDOW_QUEUES_TO_WINDOW_COMPOSER, &queuesToNativeWindow);
77 err = nativeWindow->query(nativeWindow, NATIVE_WINDOW_CONSUMER_USAGE_BITS, &consumerUsage);
85 err = native_window_set_usage(nativeWindow, finalUsage);
92 nativeWindow, NATIVE_WINDOW_SCALING_MODE_SCALE_TO_WINDOW)
    [all...]
MediaCodecListOverrides.cpp 210 const sp<Surface> nativeWindow;
214 err = codec->configure(format, nativeWindow, crypto, flags);
  /frameworks/base/core/jni/
android_view_TextureView.cpp 51 jfieldID nativeWindow;
121 SET_LONG(textureView, gTextureViewClassInfo.nativeWindow, jlong(window.get()));
126 ANativeWindow* nativeWindow = (ANativeWindow*)
127 GET_LONG(textureView, gTextureViewClassInfo.nativeWindow);
129 if (nativeWindow) {
130 sp<ANativeWindow> window(nativeWindow);
132 SET_LONG(textureView, gTextureViewClassInfo.nativeWindow, 0);
137 jlong nativeWindow, jobject canvas, jobject dirtyRect) {
139 if (!nativeWindow) {
155 sp<ANativeWindow> window((ANativeWindow*) nativeWindow);
    [all...]
android_app_NativeActivity.cpp 119 nativeWindow = NULL;
146 nativeWindow = android_view_Surface_getNativeWindow(env, _surface);
148 nativeWindow = NULL;
161 sp<ANativeWindow> nativeWindow;
517 if (code->nativeWindow != NULL && code->callbacks.onNativeWindowCreated != NULL) {
519 code->nativeWindow.get());
539 sp<ANativeWindow> oldNativeWindow = code->nativeWindow;
541 if (oldNativeWindow != code->nativeWindow) {
546 if (code->nativeWindow != NULL) {
549 code->nativeWindow.get())
    [all...]
  /cts/suite/cts/deviceTests/opengl/jni/reference/
GLReference.cpp 35 ANativeWindow* nativeWindow = ANativeWindow_fromSurface(env, surface);
36 ReferenceRenderer* renderer = new ReferenceRenderer(nativeWindow);
62 ANativeWindow_release(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 463 ANativeWindow *nativeWindow = (ANativeWindow *)
466 assert(nativeWindow != NULL);
467 result = android_Player_setNativeWindow(mp, nativeWindow);
720 * nativeWindow can be NULL, but if NULL it is treated as an error
722 SLresult android_Player_setNativeWindow(CMediaPlayer *mp, ANativeWindow *nativeWindow)
726 if (nativeWindow == NULL) {
734 err = (*nativeWindow->query)(nativeWindow, NATIVE_WINDOW_CONCRETE_TYPE, &value);
737 "errno %d", nativeWindow, err);
744 static_cast<android::Surface *>(nativeWindow));
    [all...]
  /device/generic/goldfish/opengl/system/egl/
egl.cpp 247 ANativeWindow* nativeWindow;
255 nativeWindow(window),
259 nativeWindow->common.incRef(&nativeWindow->common);
261 nativeWindow->query(nativeWindow, NATIVE_WINDOW_WIDTH, &w);
263 nativeWindow->query(nativeWindow, NATIVE_WINDOW_HEIGHT, &h);
269 if (nativeWindow->dequeueBuffer_DEPRECATED(nativeWindow, &buffer) != NO_ERROR)
    [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 242 ANativeWindow* nativeWindow;
345 nativeWindow(window), buffer(0), previousBuffer(0), module(0),
355 nativeWindow->common.incRef(&nativeWindow->common);
356 nativeWindow->query(nativeWindow, NATIVE_WINDOW_WIDTH, &width);
357 nativeWindow->query(nativeWindow, NATIVE_WINDOW_HEIGHT, &height);
367 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 156 void* nativeWindow;
  /frameworks/base/core/java/android/view/
TextureView.java 824 private static native boolean nLockCanvas(long nativeWindow, Canvas canvas, Rect dirty);
825 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...]
  /frameworks/av/media/libstagefright/colorconversion/
SoftwareRenderer.cpp 42 const sp<ANativeWindow> &nativeWindow, int32_t rotation)
46 mNativeWindow(nativeWindow),
  /cts/tests/tests/openglperf/src/android/openglperf/cts/
GLSurfaceViewCustom.java 808 Object nativeWindow);
815 EGLConfig config, Object nativeWindow) {
818 result = egl.eglCreateWindowSurface(display, config, nativeWindow, null);
    [all...]
  /external/replicaisland/src/com/replica/replicaisland/
GLSurfaceView.java 730 Object nativeWindow);
737 EGLConfig config, Object nativeWindow) {
738 return egl.eglCreateWindowSurface(display, config, nativeWindow, null);
    [all...]
  /frameworks/base/opengl/java/android/opengl/
GLSurfaceView.java 794 Object nativeWindow);
801 EGLConfig config, Object nativeWindow) {
804 result = egl.eglCreateWindowSurface(display, config, nativeWindow, null);
    [all...]

Completed in 6015 milliseconds

1 2