HomeSort by relevance Sort by last modified time
    Searched defs:anw (Results 1 - 18 of 18) sorted by null

  /frameworks/native/opengl/tests/lib/
WindowSurface.cpp 83 sp<ANativeWindow> anw = mSurfaceControl->getSurface(); local
84 return (EGLNativeWindowType) anw.get();
  /hardware/intel/common/libva/test/common/
va_display_android.cpp 38 static sp<ANativeWindow> anw = NULL; variable
73 anw = surface_ctr->getSurface();
87 if (anw == NULL)
90 return vaPutSurface(va_dpy, surface, anw,
  /packages/services/Car/evs/app/
WindowSurface.cpp 83 sp<ANativeWindow> anw = mSurfaceControl->getSurface(); local
84 return (EGLNativeWindowType) anw.get();
  /frameworks/av/cmds/screenrecord/
EglWindow.cpp 51 sp<ANativeWindow> anw = new Surface(surface); local
52 mEglSurface = eglCreateWindowSurface(mEglDisplay, mEglConfig, anw.get(),
  /hardware/intel/img/hwcomposer/merrifield/test/
nv12_ved_test.cpp 89 sp < ANativeWindow > anw; local
104 anw = s.get();
105 if (native_window_set_buffers_geometry(anw.get(), 640, 480,
108 if (native_window_set_usage(anw.get(),
116 if (native_window_dequeue_buffer_and_wait(anw.get(), &anb))
121 //if (anw->lockBuffer(anw.get(), buf->getNativeBuffer()) != NO_ERROR)
132 if (anw->queueBuffer(anw.get(), buf->getNativeBuffer(), -1) != NO_ERROR)
  /cts/tests/tests/media/libmediandkjni/
native_media_encoder_jni.cpp 56 Status prepare(std::unique_ptr<RunConfig> config, std::shared_ptr<ANativeWindow> anw = nullptr);
132 ANativeWindow *anw; local
133 status = AMediaCodec_createInputSurface(mEnc.get(), &anw);
134 mLocalSurface = std::shared_ptr<ANativeWindow>(anw, deleter_ANativeWindow);
  /frameworks/native/cmds/flatland/
GLHelper.cpp 212 sp<ANativeWindow> anw = new Surface(producer); local
213 EGLSurface s = eglCreateWindowSurface(mDisplay, mConfig, anw.get(), NULL);
291 sp<ANativeWindow> anw = sc->getSurface(); local
292 EGLSurface s = eglCreateWindowSurface(mDisplay, mConfig, anw.get(), NULL);
  /frameworks/native/services/surfaceflinger/tests/
Transaction_test.cpp 1080 auto anw = static_cast<ANativeWindow*>(s.get()); local
    [all...]
  /frameworks/rs/cpp/
Allocation.cpp 504 ANativeWindow *anw = (ANativeWindow *)RS::dispatch->AllocationGetSurface(mRS->getContext(), local
506 sp<Surface> surface(static_cast<Surface*>(anw));
  /frameworks/base/core/jni/
android_hardware_camera2_legacy_LegacyCameraDevice.cpp 138 * anw - a surface to produce a frame in.
148 static status_t produceFrame(const sp<ANativeWindow>& anw,
158 __FUNCTION__, anw.get(), bufWidth, bufHeight, pixelFmt, bufSize);
160 if (anw == 0) {
161 ALOGE("%s: anw must not be NULL", __FUNCTION__);
182 err = native_window_dequeue_buffer_and_wait(anw.get(), &anb);
197 err = anw->query(anw.get(), NATIVE_WINDOW_FORMAT, &bufFmt);
233 ALOGV("%s: Lock buffer from %p for write", __FUNCTION__, anw.get());
261 ALOGV("%s: Lock buffer from %p for write", __FUNCTION__, anw.get())
354 sp<ANativeWindow> anw; local
372 sp<ANativeWindow> anw; local
413 sp<ANativeWindow> anw; local
430 sp<ANativeWindow> anw; local
459 sp<ANativeWindow> anw; local
485 sp<ANativeWindow> anw; local
524 sp<ANativeWindow> anw; local
570 sp<ANativeWindow> anw; local
604 sp<ANativeWindow> anw; local
620 sp<ANativeWindow> anw; local
664 sp<ANativeWindow> anw; local
700 sp<ANativeWindow> anw; local
720 sp<ANativeWindow> anw; local
    [all...]
android_view_Surface.cpp 282 ANativeWindow* anw = static_cast<ANativeWindow*>(sur.get()); local
283 anw->query(anw, NATIVE_WINDOW_CONSUMER_RUNNING_BEHIND, &value);
487 ANativeWindow* anw = static_cast<ANativeWindow*>(surface); local
489 anw->query(anw, NATIVE_WINDOW_WIDTH, &value);
495 ANativeWindow* anw = static_cast<ANativeWindow*>(surface); local
497 anw->query(anw, NATIVE_WINDOW_HEIGHT, &value);
  /frameworks/av/camera/ndk/impl/
ACameraDevice.cpp 45 const char* CameraDevice::kAnwKey = "Anw";
287 ANativeWindow* anw = outputTarget.mWindow; local
289 ret = getSurfaceFromANativeWindow(anw, surface);
307 ANativeWindow* anw = static_cast<ANativeWindow*>(req->mSurfaceList[i].get()); local
308 ACameraOutputTarget outputTarget(anw);
473 ANativeWindow* anw,
475 if (anw == nullptr) {
480 int err = (*anw->query)(anw, NATIVE_WINDOW_CONCRETE_TYPE, &value);
485 const sp<Surface> surface(static_cast<Surface*>(anw));
522 ANativeWindow* anw = outConfig.mWindow; local
719 ANativeWindow* anw = outputPairIt->second.first; local
1004 ANativeWindow* anw; local
    [all...]
  /frameworks/base/media/jni/
android_media_ImageWriter.cpp 256 sp<ANativeWindow> anw = producer; local
258 if ((res = anw->query(anw.get(), NATIVE_WINDOW_WIDTH, &width)) != OK) {
265 if ((res = anw->query(anw.get(), NATIVE_WINDOW_HEIGHT, &height)) != OK) {
275 if ((res = anw->query(anw.get(), NATIVE_WINDOW_FORMAT, &surfaceFormat)) != OK) {
288 res = native_window_set_usage(anw.get(), GRALLOC_USAGE_SW_WRITE_OFTEN);
299 res = anw->query(anw.get()
331 sp<ANativeWindow> anw = ctx->getProducer(); local
405 sp<ANativeWindow> anw = ctx->getProducer(); local
434 sp<ANativeWindow> anw = ctx->getProducer(); local
531 sp < ANativeWindow > anw = surface; local
    [all...]
  /frameworks/av/services/camera/libcameraservice/api1/
Camera2Client.cpp 2174 ANativeWindow *anw = window.get(); local
    [all...]
  /frameworks/av/services/camera/libcameraservice/api2/
CameraDeviceClient.cpp 792 ANativeWindow *anw = surface.get(); local
796 if ((err = anw->query(anw, NATIVE_WINDOW_WIDTH, &width)) != OK) {
802 if ((err = anw->query(anw, NATIVE_WINDOW_HEIGHT, &height)) != OK) {
808 if ((err = anw->query(anw, NATIVE_WINDOW_FORMAT, &format)) != OK) {
814 if ((err = anw->query(anw, NATIVE_WINDOW_DEFAULT_DATASPACE,
    [all...]
  /frameworks/av/media/libmediaplayerservice/
MediaPlayerService.cpp 940 sp<ANativeWindow> anw; local
942 anw = new Surface(bufferProducer, true /* controlledByApp */);
943 status_t err = nativeWindowConnect(anw.get(), "setVideoSurfaceTexture");
947 // Note that we must do the reset before disconnecting from the ANW.
949 // ANW, which may result in errors.
960 // on the disconnected ANW, which may result in errors.
965 mConnectedWindow = anw;
    [all...]
  /frameworks/native/opengl/libs/EGL/
eglApi.cpp 736 ANativeWindow* anw = reinterpret_cast<ANativeWindow*>(window); local
737 anw->setSwapInterval(anw, 1);
    [all...]
  /frameworks/base/rs/jni/
android_renderscript_RenderScript.cpp 1267 ANativeWindow *anw = (ANativeWindow *)rsAllocationGetSurface((RsContext)con, (RsAllocation)a); local
1284 ANativeWindow *anw = nullptr; local
    [all...]

Completed in 2494 milliseconds