Searched refs:vtable (Results 1 – 11 of 11) sorted by relevance
/hardware/intel/common/libva/va/drm/ |
D | va_drm_auth_x11.c | 56 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/ |
D | va.c | 47 #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 …]
|
D | va_backend.h | 433 struct VADriverVTable *vtable; member
|
/hardware/intel/common/libva/va/wayland/ |
D | va_wayland.c | 120 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/ |
D | va_glx.c | 43 VADriverVTableGLXP vtable; \ 44 vtable = &VA_DRIVER_CONTEXT_GLX(ctx)->vtable; \ 45 if (!vtable->va##func##GLX) \ 47 status = vtable->va##func##GLX args; \
|
D | va_glx_impl.c | 806 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 …]
|
D | va_glx_private.h | 81 struct VADriverVTableGLX vtable; member
|
/hardware/intel/img/psb_video/src/ |
D | psb_drv_video.c | 3131 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 …]
|
D | tng_vld_dec.c | 486 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/ |
D | va_android.cpp | 237 …return ctx->vtable->vaPutSurface( ctx, surface, static_cast<void*>(&draw), srcx, srcy, srcw, srch, in vaPutSurface()
|
/hardware/intel/common/libva/va/x11/ |
D | va_x11.c | 263 return ctx->vtable->vaPutSurface( ctx, surface, (void *)draw, srcx, srcy, srcw, srch, in vaPutSurface()
|