Home
last modified time | relevance | path

Searched refs:surface (Results 1 – 25 of 112) sorted by relevance

12345

/hardware/intel/common/libva/test/common/
Dva_display_wayland.c40 struct wl_surface *surface; member
110 if (d->surface) { in va_close_display_wayland()
111 wl_surface_destroy(d->surface); in va_close_display_wayland()
112 d->surface = NULL; in va_close_display_wayland()
143 if (!d->surface) { in ensure_window()
144 d->surface = wl_compositor_create_surface(d->compositor); in ensure_window()
145 if (!d->surface) in ensure_window()
150 d->shell_surface = wl_shell_get_shell_surface(d->shell, d->surface); in ensure_window()
161 VASurfaceID surface, in va_put_surface_wayland() argument
173 va_status = vaGetSurfaceBufferWl(va_dpy, surface, VA_FRAME_PICTURE, &buffer); in va_put_surface_wayland()
[all …]
Dva_display.h38 VAStatus (*put_surface) (VADisplay va_dpy, VASurfaceID surface,
55 VASurfaceID surface,
Dva_display_x11.c107 VASurfaceID surface, in va_put_surface_x11() argument
116 if (surface == VA_INVALID_SURFACE) in va_put_surface_x11()
125 return vaPutSurface(va_dpy, surface, x11_window, in va_put_surface_x11()
Dva_display_android.cpp82 VASurfaceID surface, in va_put_surface_android() argument
90 return vaPutSurface(va_dpy, surface, anw, in va_put_surface_android()
/hardware/libhardware/tests/hwc/
Dutil.c175 EGLSurface surface; in egl_create() local
200 surface = eglCreateWindowSurface(display, config, window, NULL); in egl_create()
201 if (surface == EGL_NO_SURFACE) in egl_create()
208 if (!(res = eglMakeCurrent(display, surface, surface, context))) in egl_create()
211 eglQuerySurface(display, surface, EGL_WIDTH, &w); in egl_create()
212 eglQuerySurface(display, surface, EGL_HEIGHT, &h); in egl_create()
217 *_surface = surface; in egl_create()
229 void egl_destroy(EGLDisplay display, EGLSurface surface) { in egl_destroy() argument
231 eglDestroySurface(display, surface); in egl_destroy()
/hardware/intel/common/libva/test/putsurface/
Dputsurface_wayland.c69 VASurfaceID surface, in vaPutSurface() argument
95 return va_put_surface(dpy, wl_drawable, surface, &src_rect, &dst_rect, in vaPutSurface()
111 struct wl_surface *surface; member
163 wl_surface_attach(wl_drawable->surface, buffer, 0, 0); in va_put_surface()
165 wl_drawable->surface, in va_put_surface()
171 callback = wl_surface_frame(wl_drawable->surface); in va_put_surface()
172 wl_surface_commit(wl_drawable->surface); in va_put_surface()
259 drawable1->surface = surface1; in create_window()
274 drawable1->surface = surface2; in create_window()
/hardware/intel/common/libva/va/
Dva_tpi.c73 VASurfaceID surface, in vaPutSurfaceBuf() argument
96 return tpi->vaPutSurfaceBuf( ctx, surface, data, data_len, srcx, srcy, srcw, srch, in vaPutSurfaceBuf()
104 VASurfaceID surface, in vaSetTimestampForSurface() argument
115 return tpi->vaSetTimestampForSurface(ctx, surface, timestamp); in vaSetTimestampForSurface()
Dva_backend_tpi.h50 VASurfaceID surface,
68 VASurfaceID surface,
Dva_tpi.h74 VASurfaceID surface,
92 VASurfaceID surface,
Dva_backend.h203 VASurfaceID surface,
234 VASurfaceID surface,
256 VASurfaceID surface,
266 VASurfaceID surface,
373 VASurfaceID surface,
391 VASurfaceID surface
/hardware/intel/img/psb_video/src/
Dpsb_output.h191 VASurfaceID surface,
209 VASurfaceID surface,
215 VASurfaceID surface,
246 VASurfaceID surface,
268 VASurfaceID surface,
278 VASurfaceID surface,
/hardware/google/interfaces/media/c2/1.0/
DIInputSurface.hal26 * Input surface that can be configured for the IComponent.
31 * Connects this input surface to a component.
40 * - DUPLICATE - The surface is already connected to a component.
54 * Returns the Codec 2.0 configuration object for this surface.
56 * @return configurable The configuration object for this surface.
DIComponent.hal113 * Starts using a surface for output.
116 * output surface.
117 * @param surface A surface to use for codec output.
120 * - CANNOT_DO - The component does not support an output surface.
121 * - REFUSED - The output surface cannot be accessed.
129 IGraphicBufferProducer surface
135 * Starts using a persistent OMX input surface for a component.
139 * @param producer Producer component of an OMX persistent input surface.
140 * @param source Source component of an OMX persistent input surface.
143 * - CANNOT_DO - The component does not support an input surface.
[all …]
/hardware/intel/img/psb_video/src/android/
Dpsb_android_glue.h35 unsigned char* psb_android_registerBuffers(void** surface, int pid, int width, int height);
41 …int psb_android_surfaceflinger_status(void** surface, int *sf_compostion, int *rotation, int *widi…
Dpsb_output_android.c150 VASurfaceID surface, in psb_putsurface_ctexture() argument
170 obj_surface = SURFACE(surface); in psb_putsurface_ctexture()
176 psb_putsurface_textureblit(ctx, data, surface, srcx, srcy, srcw, srch, in psb_putsurface_ctexture()
191 VASurfaceID surface,
233 ctx, surface, srcx, srcy, srcw, srch,
280 VASurfaceID surface,
316 obj_surface = SURFACE(surface);
460 VASurfaceID surface, in psb_PutSurface() argument
484 obj_surface = SURFACE(surface); in psb_PutSurface()
533 vaStatus = psb_putsurface_overlay(ctx, surface, in psb_PutSurface()
/hardware/intel/common/libva/va/egl/
Dva_egl.c66 VASurfaceID surface, in vaGetEGLClientBufferFromSurface() argument
77 return va_egl->vaGetEGLClientBufferFromSurface(ctx, surface, buffer); in vaGetEGLClientBufferFromSurface()
/hardware/intel/img/psb_video/src/x11/
Dpsb_x11.h111 VASurfaceID surface,
129 VASurfaceID surface,
146 VASurfaceID surface,
Dpsb_ctexture.c221 VASurfaceID surface, in psb_putsurface_ctexture() argument
242 object_surface_p obj_surface = SURFACE(surface); in psb_putsurface_ctexture()
251 obj_surface = SURFACE(surface); in psb_putsurface_ctexture()
253 drv_debug_msg(VIDEO_DEBUG_ERROR, "%s: Invalid surface ID 0x%08x.\n", __func__, surface); in psb_putsurface_ctexture()
409 …xture_priv->extend_blt_meminfo[texture_priv->extend_current_blt_buffer], surface, srcx, srcy, srcw… in psb_putsurface_ctexture()
415 …xture_priv->extend_blt_meminfo[texture_priv->extend_current_blt_buffer], surface, srcx, srcy, srcw… in psb_putsurface_ctexture()
468 …face_textureblit(ctx, (unsigned char *)texture_priv->blt_meminfo_pixmap, surface, srcx, srcy, srcw… in psb_putsurface_ctexture()
473 …face_textureblit(ctx, (unsigned char *)texture_priv->blt_meminfo_pixmap, surface, srcx, srcy, srcw… in psb_putsurface_ctexture()
487 …gned char *)texture_priv->blt_meminfo[texture_priv->current_blt_buffer], surface, srcx, srcy, srcw… in psb_putsurface_ctexture()
492 …gned char *)texture_priv->blt_meminfo[texture_priv->current_blt_buffer], surface, srcx, srcy, srcw… in psb_putsurface_ctexture()
[all …]
Dpsb_x11.c106 VASurfaceID surface, in psb_putsurface_x11() argument
149 object_surface_p obj_surface = SURFACE(surface); in psb_putsurface_x11()
457 VASurfaceID surface, in psb_PutSurface() argument
476 obj_surface = SURFACE(surface); in psb_PutSurface()
490 psb_putsurface_x11(ctx, surface, draw, srcx, srcy, srcw, srch, in psb_PutSurface()
509 psb_putsurface_ctexture(ctx, surface, draw, in psb_PutSurface()
525 ctx, surface, draw, in psb_PutSurface()
531 ctx, surface, draw, in psb_PutSurface()
/hardware/intel/common/libva/va/glx/
Dva_glx_impl.c448 VASurfaceID surface; ///< Associated VA surface member
752 pSurfaceGLX->surface = VA_INVALID_SURFACE; in create_surface()
838 VASurfaceID surface, in vaCopySurfaceGLX_impl_driver() argument
842 INVOKE(ctx, CopySurface, (ctx, gl_surface, surface, flags)); in vaCopySurfaceGLX_impl_driver()
853 #define INIT_SURFACE(surface, surface_arg) do { \ argument
854 surface = (VASurfaceGLXP)(surface_arg); \
855 if (!check_surface(surface)) \
925 pSurfaceGLX->surface = VA_INVALID_SURFACE; in deassociate_surface()
933 VASurfaceID surface, in associate_surface() argument
948 surface, in associate_surface()
[all …]
/hardware/google/av/media/sfplugin/
DCCodec.h55 virtual void initiateSetInputSurface(const sp<PersistentSurface> &surface) override;
59 virtual status_t setSurface(const sp<Surface> &surface) override;
92 void setInputSurface(const sp<PersistentSurface> &surface);
93 status_t setupInputSurface(const std::shared_ptr<InputSurfaceWrapper> &surface);
DCCodec.cpp134 const std::shared_ptr<Codec2Client::InputSurface> &surface) : in C2InputSurfaceWrapper() argument
135 mSurface(surface) { in C2InputSurfaceWrapper()
658 sp<Surface> surface; in configure() local
660 surface = static_cast<Surface *>(obj.get()); in configure()
661 setSurface(surface); in configure()
718 format = (surface == nullptr) ? COLOR_FormatYUV420Planar : COLOR_FormatSurface; in configure()
855 std::shared_ptr<Codec2Client::InputSurface> surface; in createInputSurface() local
857 err = static_cast<status_t>(mClient->createInputSurface(&surface)); in createInputSurface()
863 if (!surface) { in createInputSurface()
868 bufferProducer = surface->getGraphicBufferProducer(); in createInputSurface()
[all …]
/hardware/intel/common/libva/va/android/
Dva_android.cpp190 VASurfaceID surface,
208 VASurfaceID surface, in vaPutSurface() argument
234 … VA_TRACE_LOG(va_TracePutSurface, dpy, surface, static_cast<void*>(&draw), srcx, srcy, srcw, srch, in vaPutSurface()
238 …return ctx->vtable->vaPutSurface( ctx, surface, static_cast<void*>(&draw), srcx, srcy, srcw, srch, in vaPutSurface()
/hardware/intel/common/libva/va/x11/
Dva_x11.c218 VASurfaceID surface,
236 VASurfaceID surface, in vaPutSurface() argument
259 VA_TRACE_LOG(va_TracePutSurface, dpy, surface, (void *)draw, srcx, srcy, srcw, srch, in vaPutSurface()
263 return ctx->vtable->vaPutSurface( ctx, surface, (void *)draw, srcx, srcy, srcw, srch, in vaPutSurface()
/hardware/intel/common/libmix/videoencoder/
DVideoEncoderUtils.h42 void setVASurface(VASurfaceID surface) {mVASurface = surface;} in setVASurface() argument

12345