Home
last modified time | relevance | path

Searched refs:vtable (Results 1 – 11 of 11) sorted by relevance

/hardware/intel/common/libva/va/drm/
Dva_drm_auth_x11.c56 DRMAuthX11VTable vtable; member
84 struct drm_auth_x11_vtable *vtable; in drm_auth_x11_init() local
101 vtable = &auth->vtable; in drm_auth_x11_init()
102 if (!get_symbol(RTLD_DEFAULT, &vtable->x11_open_display, "XOpenDisplay")) in drm_auth_x11_init()
104 if (!get_symbol(RTLD_DEFAULT, &vtable->x11_close_display, "XCloseDisplay")) in drm_auth_x11_init()
106 if (!get_symbol(auth->handle, &vtable->va_dri2_query_extension, in drm_auth_x11_init()
109 if (!get_symbol(auth->handle, &vtable->va_dri2_query_version, in drm_auth_x11_init()
112 if (!get_symbol(auth->handle, &vtable->va_dri2_authenticate, in drm_auth_x11_init()
116 auth->display = vtable->x11_open_display(NULL); in drm_auth_x11_init()
131 auth->vtable.x11_close_display(auth->display); in drm_auth_x11_terminate()
[all …]
/hardware/intel/common/libva/va/
Dva.c47 #define CHECK_VTABLE(s, ctx, func) if (!va_checkVtable(ctx->vtable->va##func, #func)) s = VA_STATUS…
272 struct VADriverVTable *vtable = ctx->vtable; in va_openDriver() local
276 if (!vtable) { in va_openDriver()
277 vtable = calloc(1, sizeof(*vtable)); in va_openDriver()
278 if (!vtable) in va_openDriver()
281 ctx->vtable = vtable; in va_openDriver()
509 vaStatus = old_ctx->vtable->vaTerminate(old_ctx); in vaTerminate()
513 free(old_ctx->vtable); in vaTerminate()
514 old_ctx->vtable = NULL; in vaTerminate()
594 return ctx->vtable->vaQueryConfigEntrypoints ( ctx, profile, entrypoints, num_entrypoints); in vaQueryConfigEntrypoints()
[all …]
Dva_backend.h433 struct VADriverVTable *vtable; member
/hardware/intel/common/libva/va/wayland/
Dva_wayland.c120 struct VADriverVTableWayland *vtable; in vaGetDisplayWl() local
140 vtable = calloc(1, sizeof(*vtable)); in vaGetDisplayWl()
141 if (!vtable) in vaGetDisplayWl()
143 pDriverContext->vtable_wayland = vtable; in vaGetDisplayWl()
145 vtable->version = VA_WAYLAND_API_VERSION; in vaGetDisplayWl()
/hardware/intel/common/libva/va/glx/
Dva_glx.c43 VADriverVTableGLXP vtable; \
44 vtable = &VA_DRIVER_CONTEXT_GLX(ctx)->vtable; \
45 if (!vtable->va##func##GLX) \
47 status = vtable->va##func##GLX args; \
Dva_glx_impl.c806 VADriverVTableGLXP vtable = (ctx)->vtable_glx; \
807 if (!vtable->va##func##GLX) \
810 VAStatus status = vtable->va##func##GLX args; \
946 status = ctx->vtable->vaPutSurface( in associate_surface()
971 return ctx->vtable->vaSyncSurface(ctx, pSurfaceGLX->surface); in sync_surface()
1061 VADriverVTableGLXP vtable = &glx_ctx->vtable; in va_glx_init_context() local
1068 vtable->vaCreateSurfaceGLX = vaCreateSurfaceGLX_impl_driver; in va_glx_init_context()
1069 vtable->vaDestroySurfaceGLX = vaDestroySurfaceGLX_impl_driver; in va_glx_init_context()
1070 vtable->vaCopySurfaceGLX = vaCopySurfaceGLX_impl_driver; in va_glx_init_context()
1073 vtable->vaCreateSurfaceGLX = vaCreateSurfaceGLX_impl_libva; in va_glx_init_context()
[all …]
Dva_glx_private.h81 struct VADriverVTableGLX vtable; member
/hardware/intel/img/psb_video/src/
Dpsb_drv_video.c3131 ctx->vtable->vaTerminate = psb_Terminate;
3132 ctx->vtable->vaQueryConfigEntrypoints = psb_QueryConfigEntrypoints;
3133 ctx->vtable->vaTerminate = psb_Terminate;
3134 ctx->vtable->vaQueryConfigProfiles = psb_QueryConfigProfiles;
3135 ctx->vtable->vaQueryConfigEntrypoints = psb_QueryConfigEntrypoints;
3136 ctx->vtable->vaQueryConfigAttributes = psb_QueryConfigAttributes;
3137 ctx->vtable->vaCreateConfig = psb_CreateConfig;
3138 ctx->vtable->vaDestroyConfig = psb_DestroyConfig;
3139 ctx->vtable->vaGetConfigAttributes = psb_GetConfigAttributes;
3140 ctx->vtable->vaCreateSurfaces2 = psb_CreateSurfaces2;
[all …]
Dtng_vld_dec.c486 struct format_vtable_s *vtable = &tng_yuv_processor_vtable; in vld_dec_yuv_rotate() local
502 vtable->createContext(obj_context, NULL); in vld_dec_yuv_rotate()
503 vtable->beginPicture(obj_context); in vld_dec_yuv_rotate()
504 vtable->renderPicture(obj_context, &buffer_p, 1); in vld_dec_yuv_rotate()
505 vtable->endPicture(obj_context); in vld_dec_yuv_rotate()
506 vtable->destroyContext(obj_context); in vld_dec_yuv_rotate()
/hardware/intel/common/libva/va/android/
Dva_android.cpp237 …return ctx->vtable->vaPutSurface( ctx, surface, static_cast<void*>(&draw), srcx, srcy, srcw, srch, in vaPutSurface()
/hardware/intel/common/libva/va/x11/
Dva_x11.c263 return ctx->vtable->vaPutSurface( ctx, surface, (void *)draw, srcx, srcy, srcw, srch, in vaPutSurface()