/frameworks/av/libvideoeditor/lvpp/ |
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);
|
/frameworks/av/services/camera/libcameraservice/api2/ |
CameraDeviceClient.cpp | 311 sp<ANativeWindow> anw; local 314 anw = new Surface(bufferProducer, useAsync); 319 if ((res = anw->query(anw.get(), NATIVE_WINDOW_WIDTH, &width)) != OK) { 324 if ((res = anw->query(anw.get(), NATIVE_WINDOW_HEIGHT, &height)) != OK) { 329 if ((res = anw->query(anw.get(), NATIVE_WINDOW_FORMAT, &format)) != OK) { 359 res = mDevice->createStream(anw, width, height, format, maxJpegSize, 363 res = mDevice->createStream(anw, width, height, format, /*size*/0 [all...] |
/frameworks/base/core/jni/ |
android_view_Surface.cpp | 173 ANativeWindow* anw = static_cast<ANativeWindow*>(sur.get()); local 174 anw->query(anw, NATIVE_WINDOW_CONSUMER_RUNNING_BEHIND, &value);
|
/frameworks/native/cmds/flatland/ |
GLHelper.cpp | 211 sp<ANativeWindow> anw = new Surface(bq); local 212 EGLSurface s = eglCreateWindowSurface(mDisplay, mConfig, anw.get(), NULL); 290 sp<ANativeWindow> anw = sc->getSurface(); local 291 EGLSurface s = eglCreateWindowSurface(mDisplay, mConfig, anw.get(), NULL);
|
/frameworks/av/services/camera/libcameraservice/device1/ |
CameraHardwareInterface.h | 559 #define anw(n) __to_anw(((struct camera_preview_window *)n)->user) macro 565 ANativeWindow *a = anw(w); 584 ANativeWindow *a = anw(w); 592 ANativeWindow *a = anw(w); 600 ANativeWindow *a = anw(w); 607 ANativeWindow *a = anw(w); 614 ANativeWindow *a = anw(w); 622 ANativeWindow *a = anw(w); 633 ANativeWindow *a = anw(w); 639 ANativeWindow *a = anw(w) [all...] |
/frameworks/av/media/libmediaplayerservice/ |
MediaPlayerService.cpp | 745 sp<ANativeWindow> anw; local 747 anw = new Surface(bufferProducer, true /* controlledByApp */); 748 status_t err = native_window_api_connect(anw.get(), 753 // Note that we must do the reset before disconnecting from the ANW. 755 // ANW, which may result in errors. 766 // on the disconnected ANW, which may result in errors. 771 mConnectedWindow = anw; [all...] |
/frameworks/native/opengl/libs/EGL/ |
eglApi.cpp | 504 ANativeWindow* anw = reinterpret_cast<ANativeWindow*>(window); local 505 anw->setSwapInterval(anw, 1); [all...] |