/frameworks/native/opengl/tests/lib/ |
WindowSurface.cpp | 74 sp<ANativeWindow> anw = mSurfaceControl->getSurface(); local 75 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 | 74 sp<ANativeWindow> anw = mSurfaceControl->getSurface(); local 75 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); 277 sp<ANativeWindow> anw = sc->getSurface(); local 278 EGLSurface s = eglCreateWindowSurface(mDisplay, mConfig, anw.get(), NULL);
|
/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 | 157 * anw - a surface to produce a frame in. 167 static status_t produceFrame(const sp<ANativeWindow>& anw, 177 __FUNCTION__, anw.get(), bufWidth, bufHeight, pixelFmt, bufSize); 179 if (anw == 0) { 180 ALOGE("%s: anw must not be NULL", __FUNCTION__); 201 err = native_window_dequeue_buffer_and_wait(anw.get(), &anb); 221 err = anw->query(anw.get(), NATIVE_WINDOW_FORMAT, &bufFmt); 258 ALOGV("%s: Lock buffer from %p for write", __FUNCTION__, anw.get()); 286 ALOGV("%s: Lock buffer from %p for write", __FUNCTION__, anw.get()) 380 sp<ANativeWindow> anw; local 398 sp<ANativeWindow> anw; local 439 sp<ANativeWindow> anw; local 457 sp<ANativeWindow> anw; local 487 sp<ANativeWindow> anw; local 515 sp<ANativeWindow> anw; local 556 sp<ANativeWindow> anw; local 605 sp<ANativeWindow> anw; local 639 sp<ANativeWindow> anw; local 656 sp<ANativeWindow> anw; local 701 sp<ANativeWindow> anw; local 737 sp<ANativeWindow> anw; local 757 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); 527 ANativeWindow* anw = static_cast<ANativeWindow*>(surface) local 534 ANativeWindow* anw = static_cast<ANativeWindow*>(surface); local [all...] |
/frameworks/base/media/jni/ |
android_media_ImageWriter.cpp | 266 sp<ANativeWindow> anw = producer; local 268 if ((res = anw->query(anw.get(), NATIVE_WINDOW_WIDTH, &width)) != OK) { 275 if ((res = anw->query(anw.get(), NATIVE_WINDOW_HEIGHT, &height)) != OK) { 285 if ((res = anw->query(anw.get(), NATIVE_WINDOW_FORMAT, &surfaceFormat)) != OK) { 298 res = native_window_set_usage(anw.get(), GRALLOC_USAGE_SW_WRITE_OFTEN); 309 res = anw->query(anw.get() 341 sp<ANativeWindow> anw = ctx->getProducer(); local 415 sp<ANativeWindow> anw = ctx->getProducer(); local 445 sp<ANativeWindow> anw = ctx->getProducer(); local 554 sp < ANativeWindow > anw = surface; local [all...] |
android_media_MediaPlayer2.cpp | 459 ANativeWindow* anw = NULL; local 461 anw = ANativeWindow_fromSurface(env, jsurface); 462 if (anw == NULL) { 469 env->SetLongField(thiz, fields.surface_texture, (jlong)anw); 475 mp->setVideoSurfaceTexture(new ANativeWindowWrapper(anw)); [all...] |
/frameworks/native/services/surfaceflinger/tests/fakehwc/ |
SFFakeHwc_test.cpp | 1168 auto anw = static_cast<ANativeWindow*>(s.get()); local [all...] |
/frameworks/av/camera/ndk/impl/ |
ACameraDevice.cpp | 45 const char* CameraDevice::kAnwKey = "Anw"; 331 for (auto& anw : output->mSharedWindows) { 332 ret = getIGBPfromAnw(anw, iGBP); 382 ANativeWindow* anw = outputTarget.mWindow; local 384 ret = getSurfaceFromANativeWindow(anw, surface); 410 ALOGE("Unconfigured output target %p in capture request!", anw); 426 ANativeWindow* anw = static_cast<ANativeWindow*>(req->mSurfaceList[i].get()); local 427 ACameraOutputTarget outputTarget(anw); 593 ANativeWindow* anw, 596 camera_status_t ret = getSurfaceFromANativeWindow(anw, surface) 637 ANativeWindow* anw = outConfig.mWindow; local 844 ANativeWindow* anw = static_cast<ANativeWindow*>(surface.get()); local 1135 ANativeWindow* anw; local [all...] |
/frameworks/av/media/libmediaplayer2/ |
mediaplayer2.cpp | 655 ANativeWindow *anw = (nww == NULL ? NULL : nww->getANativeWindow()); local 656 ALOGV("setVideoSurfaceTexture(%p)", anw); 662 if (anw != NULL) { 664 && mConnectedWindow->getANativeWindow() == anw) { 667 status_t err = native_window_api_connect(anw, NATIVE_WINDOW_API_MEDIA); 671 // Note that we must do the reset before disconnecting from the ANW. 673 // ANW, which may result in errors. 682 // on the disconnected ANW, which may result in errors. 690 } else if (anw != NULL) { 692 status_t err = native_window_api_disconnect(anw, NATIVE_WINDOW_API_MEDIA) [all...] |
/frameworks/av/services/camera/libcameraservice/api1/ |
Camera2Client.cpp | 2209 ANativeWindow *anw = window.get(); local [all...] |
/frameworks/av/services/camera/libcameraservice/api2/ |
CameraDeviceClient.cpp | 1059 ANativeWindow *anw = surface.get(); local [all...] |
/frameworks/native/services/surfaceflinger/tests/ |
Transaction_test.cpp | 2143 auto anw = static_cast<ANativeWindow*>(s.get()); local [all...] |
/frameworks/av/media/libmediaplayerservice/ |
MediaPlayerService.cpp | 928 sp<ANativeWindow> anw; local 930 anw = new Surface(bufferProducer, true /* controlledByApp */); 931 status_t err = nativeWindowConnect(anw.get(), "setVideoSurfaceTexture"); 935 // Note that we must do the reset before disconnecting from the ANW. 937 // ANW, which may result in errors. 949 // on the disconnected ANW, which may result in errors. 956 mConnectedWindow = anw; 962 anw.get(), "disconnectNativeWindow"); [all...] |
/frameworks/native/opengl/libs/EGL/ |
eglApi.cpp | 760 ANativeWindow* anw = reinterpret_cast<ANativeWindow*>(window); local 761 anw->setSwapInterval(anw, 1); [all...] |
/frameworks/base/rs/jni/ |
android_renderscript_RenderScript.cpp | 1268 ANativeWindow *anw = (ANativeWindow *)rsAllocationGetSurface((RsContext)con, (RsAllocation)a); local 1285 ANativeWindow *anw = nullptr; local [all...] |