Searched defs:anw (Results 1 - 8 of 8) sorted by relevance

/frameworks/av/libvideoeditor/lvpp/
H A DPreviewRenderer.cpp52 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 DNativeWindowRenderer.cpp380 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(), -1);
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 CHECK(NO_ERROR == native_window_dequeue_buffer_and_wait(anw, &anb));
411 CHECK(NO_ERROR == anw->queueBuffer(anw, bu
[all...]
/frameworks/native/libs/gui/tests/
H A DCpuConsumer_test.cpp270 void configureANW(const sp<ANativeWindow>& anw, argument
274 err = native_window_set_buffers_geometry(anw.get(),
278 err = native_window_set_usage(anw.get(),
283 err = anw.get()->query(anw.get(),
290 err = native_window_set_buffer_count(anw.get(),
298 void produceOneFrame(const sp<ANativeWindow>& anw, argument
303 ALOGVV("Dequeue buffer from %p", anw.get());
304 err = native_window_dequeue_buffer_and_wait(anw.get(), &anb);
314 ALOGVV("Lock buffer from %p for write", anw
[all...]
H A DSurfaceTexture_test.cpp673 void produceOneRGBA8Frame(const sp<ANativeWindow>& anw) {
675 ASSERT_EQ(NO_ERROR, native_window_dequeue_buffer_and_wait(anw.get(),
686 ASSERT_EQ(NO_ERROR, anw->queueBuffer(anw.get(), buf->getNativeBuffer(),
870 ProducerThread(const sp<ANativeWindow>& anw, argument
872 mANW(anw),
1081 ProducerThread(const sp<ANativeWindow>& anw): argument
1082 mANW(anw) {
1268 ProducerThread(const sp<ANativeWindow>& anw): argument
1269 mANW(anw),
[all...]
/frameworks/av/services/camera/libcameraservice/
H A DCameraHardwareInterface.h564 #define anw(n) __to_anw(((struct camera_preview_window *)n)->user) macro
570 ANativeWindow *a = anw(w);
589 ANativeWindow *a = anw(w);
596 ANativeWindow *a = anw(w);
604 ANativeWindow *a = anw(w);
611 ANativeWindow *a = anw(w);
618 ANativeWindow *a = anw(w);
626 ANativeWindow *a = anw(w);
637 ANativeWindow *a = anw(w);
643 ANativeWindow *a = anw(
[all...]
/frameworks/base/core/jni/
H A Dandroid_view_Surface.cpp356 ANativeWindow* anw = static_cast<ANativeWindow*>(surface.get()); local
357 anw->query(anw, NATIVE_WINDOW_CONSUMER_RUNNING_BEHIND, &value);
/frameworks/native/opengl/libs/EGL/
H A DeglApi.cpp317 ANativeWindow* anw = reinterpret_cast<ANativeWindow*>(window); local
318 anw->setSwapInterval(anw, 1);
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.cpp729 sp<ANativeWindow> anw; local
731 anw = new SurfaceTextureClient(surfaceTexture);
732 status_t err = native_window_api_connect(anw.get(),
755 mConnectedWindow = anw;

Completed in 372 milliseconds