Searched defs:anw (Results 1 - 7 of 7) sorted by relevance
/frameworks/av/libvideoeditor/lvpp/ |
H A D | PreviewRenderer.cpp | 52 ANativeWindow* anw = mSurface.get(); local 54 err = native_window_api_connect(anw, NATIVE_WINDOW_API_CPU); 58 anw, GRALLOC_USAGE_SW_READ_NEVER | GRALLOC_USAGE_SW_WRITE_OFTEN); 61 err = native_window_set_buffer_count(anw, 3); 65 anw, NATIVE_WINDOW_SCALING_MODE_SCALE_TO_WINDOW); 69 anw, mWidth, mHeight, HAL_PIXEL_FORMAT_YV12); 72 err = native_window_set_buffers_transform(anw, 0);
|
H A D | NativeWindowRenderer.cpp | 380 void NativeWindowRenderer::queueInternalBuffer(ANativeWindow *anw, argument 384 native_window_set_buffers_timestamp(anw, timeUs * 1000); 385 status_t err = anw->queueBuffer(anw, buffer->graphicBuffer().get()); 395 void NativeWindowRenderer::queueExternalBuffer(ANativeWindow* anw, argument 397 native_window_set_buffers_geometry(anw, width, height, 399 native_window_set_usage(anw, GRALLOC_USAGE_SW_WRITE_OFTEN); 402 anw->dequeueBuffer(anw, &anb); 406 CHECK(NO_ERROR == anw [all...] |
/frameworks/av/services/camera/libcameraservice/ |
H A D | CameraHardwareInterface.h | 564 #define anw(n) __to_anw(((struct camera_preview_window *)n)->user) macro 570 ANativeWindow *a = anw(w); 589 ANativeWindow *a = anw(w); 597 ANativeWindow *a = anw(w); 605 ANativeWindow *a = anw(w); 612 ANativeWindow *a = anw(w); 619 ANativeWindow *a = anw(w); 627 ANativeWindow *a = anw(w); 638 ANativeWindow *a = anw(w); 644 ANativeWindow *a = anw( [all...] |
/frameworks/base/core/jni/ |
H A D | android_view_Surface.cpp | 327 ANativeWindow* anw = static_cast<ANativeWindow *>(surface.get()); local 328 anw->query(anw, NATIVE_WINDOW_CONSUMER_RUNNING_BEHIND, &value);
|
/frameworks/native/opengl/libs/EGL/ |
H A D | eglApi.cpp | 264 ANativeWindow* anw = reinterpret_cast<ANativeWindow*>(window); local 265 anw->setSwapInterval(anw, 1);
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | MediaPlayerService.cpp | 902 sp<ANativeWindow> anw; local 904 anw = new SurfaceTextureClient(surfaceTexture); 905 status_t err = native_window_api_connect(anw.get(), 928 mConnectedWindow = anw;
|
/frameworks/native/libs/gui/tests/ |
H A D | SurfaceTexture_test.cpp | 673 void produceOneRGBA8Frame(const sp<ANativeWindow>& anw) { 675 ASSERT_EQ(NO_ERROR, anw->dequeueBuffer(anw.get(), &anb)); 679 ASSERT_EQ(NO_ERROR, anw->lockBuffer(anw.get(), buf->getNativeBuffer())); 686 ASSERT_EQ(NO_ERROR, anw->queueBuffer(anw.get(), buf->getNativeBuffer())); 868 ProducerThread(const sp<ANativeWindow>& anw, argument 870 mANW(anw), 1082 ProducerThread(const sp<ANativeWindow>& anw) argument 1268 ProducerThread(const sp<ANativeWindow>& anw) argument [all...] |
Completed in 132 milliseconds