HomeSort by relevance Sort by last modified time
    Searched refs:anw (Results 1 - 25 of 34) sorted by null

1 2

  /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);
  /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,
  /frameworks/native/libs/gui/tests/
FillBuffer.h 39 void produceOneRGBA8Frame(const sp<ANativeWindow>& anw);
FillBuffer.cpp 92 void produceOneRGBA8Frame(const sp<ANativeWindow>& anw) {
94 ASSERT_EQ(NO_ERROR, native_window_dequeue_buffer_and_wait(anw.get(),
105 ASSERT_EQ(NO_ERROR, anw->queueBuffer(anw.get(), buf->getNativeBuffer(),
Surface_test.cpp 91 sp<ANativeWindow> anw(mSurface);
93 int err = anw->query(anw.get(), NATIVE_WINDOW_QUEUES_TO_WINDOW_COMPOSER,
104 sp<ANativeWindow> anw(mSurface);
106 int err = anw->query(anw.get(), NATIVE_WINDOW_QUEUES_TO_WINDOW_COMPOSER,
114 sp<ANativeWindow> anw(mSurface);
127 ASSERT_EQ(NO_ERROR, native_window_api_connect(anw.get(),
132 ASSERT_EQ(NO_ERROR, native_window_set_usage(anw.get(),
134 ASSERT_EQ(NO_ERROR, native_window_set_buffer_count(anw.get(), 3))
    [all...]
CpuConsumer_test.cpp 449 void configureANW(const sp<ANativeWindow>& anw,
453 err = native_window_api_connect(anw.get(), NATIVE_WINDOW_API_CPU);
456 err = native_window_set_buffers_dimensions(anw.get(),
460 err = native_window_set_buffers_format(anw.get(), params.format);
463 err = native_window_set_usage(anw.get(),
468 err = anw.get()->query(anw.get(),
475 err = native_window_set_buffer_count(anw.get(),
483 void produceOneFrame(const sp<ANativeWindow>& anw,
488 ALOGVV("Dequeue buffer from %p", anw.get())
    [all...]
SurfaceTextureGL_test.cpp 221 ProducerThread(const sp<ANativeWindow>& anw,
223 mANW(anw),
440 explicit ProducerThread(const sp<ANativeWindow>& anw):
441 mANW(anw) {
623 explicit ProducerThread(const sp<ANativeWindow>& anw):
624 mANW(anw),
  /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)
  /frameworks/native/opengl/tests/lib/
WindowSurface.cpp 83 sp<ANativeWindow> anw = mSurfaceControl->getSurface(); local
84 return (EGLNativeWindowType) anw.get();
  /packages/services/Car/evs/app/
WindowSurface.cpp 83 sp<ANativeWindow> anw = mSurfaceControl->getSurface(); local
84 return (EGLNativeWindowType) anw.get();
  /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/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...]
ACameraDevice.h 142 ANativeWindow* anw, sp<IGraphicBufferProducer>& out);
145 ANativeWindow* anw, sp<Surface>& out);
154 // stream id -> pair of (ANW* from application, OutputConfiguration used for camera service)
  /development/ndk/platforms/android-24/include/camera/
NdkCameraDevice.h 328 * @param anw the {@link ANativeWindow} to be associated with the {@link ACaptureSessionOutput}
335 * <li>{@link ACAMERA_ERROR_INVALID_PARAMETER} if anw or output is NULL.</li></ul>
340 ANativeWindow* anw, /*out*/ACaptureSessionOutput** output);
    [all...]
  /frameworks/av/camera/ndk/include/camera/
NdkCameraDevice.h 329 * @param anw the {@link ANativeWindow} to be associated with the {@link ACaptureSessionOutput}
336 * <li>{@link ACAMERA_ERROR_INVALID_PARAMETER} if anw or output is NULL.</li></ul>
341 ANativeWindow* anw, /*out*/ACaptureSessionOutput** output);
    [all...]
  /frameworks/av/cmds/screenrecord/
EglWindow.cpp 51 sp<ANativeWindow> anw = new Surface(surface); local
52 mEglSurface = eglCreateWindowSurface(mEglDisplay, mEglConfig, anw.get(),
  /frameworks/base/services/core/jni/
com_android_server_tv_TvInputHal.cpp 136 sp<ANativeWindow> anw(mSurface);
137 status_t err = native_window_set_usage(anw.get(), mStream.buffer_producer.usage);
142 anw.get(), mStream.buffer_producer.width, mStream.buffer_producer.height);
146 err = native_window_set_buffers_format(anw.get(), mStream.buffer_producer.format);
217 sp<ANativeWindow> anw(mSurface);
225 if (mBufferState == CAPTURED && anw != NULL) {
226 err = anw->queueBuffer(anw.get(), mBuffer.get(), -1);
234 if (mBuffer == NULL && !mShutdown && anw != NULL) {
236 err = native_window_dequeue_buffer_and_wait(anw.get(), &buffer)
    [all...]
  /frameworks/native/libs/nativewindow/include/system/
window.h 793 static inline int native_window_dequeue_buffer_and_wait(ANativeWindow *anw,
795 return anw->dequeueBuffer_DEPRECATED(anw, anb);
    [all...]
  /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/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...]
  /device/google/marlin/camera/QCamera2/HAL/
QCameraMem.h 252 void setNativeWindow(preview_stream_ops_t *anw);
  /device/huawei/angler/camera/QCamera2/HAL/
QCameraMem.h 228 void setNativeWindow(preview_stream_ops_t *anw);
  /device/lge/bullhead/camera/QCamera2/HAL/
QCameraMem.h 224 void setNativeWindow(preview_stream_ops_t *anw);

Completed in 416 milliseconds

1 2