Home
last modified time | relevance | path

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

/hardware/intel/common/libva/va/wayland/
Dva_wayland.c41 return ((VADisplayContextP)dpy)->pDriverContext; in get_driver_context()
59 VADriverContextP const pDriverContext = pDisplayContext->pDriverContext; in va_DisplayContextIsValid() local
61 return (pDriverContext && in va_DisplayContextIsValid()
62 pDriverContext->display_type == VA_DISPLAY_WAYLAND); in va_DisplayContextIsValid()
68 VADriverContextP pDriverContext; in va_DisplayContextDestroy() local
78 pDriverContext = pDisplayContext->pDriverContext; in va_DisplayContextDestroy()
79 if (pDriverContext) { in va_DisplayContextDestroy()
80 free(pDriverContext->vtable_wayland); in va_DisplayContextDestroy()
81 pDriverContext->vtable_wayland = NULL; in va_DisplayContextDestroy()
82 free(pDriverContext); in va_DisplayContextDestroy()
[all …]
Dva_wayland_drm.c56 VADriverContextP const ctx = pDisplayContext->pDriverContext; in drm_handle_device()
93 VADriverContextP const ctx = pDisplayContext->pDriverContext; in drm_handle_authenticated()
113 VADriverContextP const ctx = pDisplayContext->pDriverContext; in va_DisplayContextGetDriverName()
121 VADriverContextP const ctx = pDisplayContext->pDriverContext; in va_wayland_drm_destroy()
171 VADriverContextP const ctx = pDisplayContext->pDriverContext; in va_wayland_drm_create()
Dva_wayland_emgd.c65 VADriverContextP const ctx = pDisplayContext->pDriverContext; in va_wayland_emgd_destroy()
115 VADriverContextP const ctx = pDisplayContext->pDriverContext; in va_wayland_emgd_create()
/hardware/intel/common/libva/va/drm/
Dva_drm.c36 VADriverContextP const pDriverContext = pDisplayContext->pDriverContext; in va_DisplayContextIsValid() local
38 return (pDriverContext && in va_DisplayContextIsValid()
39 pDriverContext->display_type == VA_DISPLAY_DRM); in va_DisplayContextIsValid()
48 free(pDisplayContext->pDriverContext->drm_state); in va_DisplayContextDestroy()
49 free(pDisplayContext->pDriverContext); in va_DisplayContextDestroy()
60 VADriverContextP const ctx = pDisplayContext->pDriverContext; in va_DisplayContextGetDriverName()
90 VADriverContextP pDriverContext = NULL; in vaGetDisplayDRM() local
103 pDriverContext = calloc(1, sizeof(*pDriverContext)); in vaGetDisplayDRM()
104 if (!pDriverContext) in vaGetDisplayDRM()
106 pDriverContext->native_dpy = NULL; in vaGetDisplayDRM()
[all …]
/hardware/intel/common/libva/va/x11/
Dva_x11.c52 pDisplayContext->pDriverContext != NULL); in va_DisplayContextIsValid()
65 ctx = pDisplayContext->pDriverContext; in va_DisplayContextDestroy()
71 free(pDisplayContext->pDriverContext->drm_state); in va_DisplayContextDestroy()
72 free(pDisplayContext->pDriverContext); in va_DisplayContextDestroy()
82 VADriverContextP ctx = pDisplayContext->pDriverContext; in va_DRI2GetDriverName()
95 VADriverContextP ctx = pDisplayContext->pDriverContext; in va_DRIGetDriverName()
108 VADriverContextP ctx = pDisplayContext->pDriverContext; in va_NVCTRL_GetDriverName()
131 VADriverContextP ctx = pDisplayContext->pDriverContext; in va_FGLRX_GetDriverName()
180 VADriverContextP pDriverContext; in vaGetDisplay() local
183 pDriverContext = calloc(1, sizeof(*pDriverContext)); in vaGetDisplay()
[all …]
/hardware/intel/common/libva/va/android/
Dva_android.cpp81 pDisplayContext->pDriverContext != NULL); in va_DisplayContextIsValid()
94 drm_state = (struct drm_state *)pDisplayContext->pDriverContext->drm_state; in va_DisplayContextDestroy()
97 free(pDisplayContext->pDriverContext->drm_state); in va_DisplayContextDestroy()
98 free(pDisplayContext->pDriverContext); in va_DisplayContextDestroy()
107 VADriverContextP const ctx = pDisplayContext->pDriverContext; in va_DisplayContextGetDriverName()
147 VADriverContextP pDriverContext = 0; in vaGetDisplay() local
150 pDriverContext = (VADriverContextP)calloc(1, sizeof(*pDriverContext)); in vaGetDisplay()
152 if (pDisplayContext && pDriverContext && drm_state) in vaGetDisplay()
156 pDriverContext->native_dpy = (void *)native_dpy; in vaGetDisplay()
157 pDriverContext->display_type = VA_DISPLAY_ANDROID; in vaGetDisplay()
[all …]
/hardware/intel/common/libva/va/glx/
Dva_glx.c33 ctx = ((VADisplayContextP)(dpy))->pDriverContext; \
55 VADriverContextP pDriverContext; in va_DisplayContextDestroy() local
61 pDriverContext = pDisplayContext->pDriverContext; in va_DisplayContextDestroy()
62 pDriverContextGLX = pDriverContext->glx; in va_DisplayContextDestroy()
65 pDriverContext->glx = NULL; in va_DisplayContextDestroy()
84 VADriverContextP pDriverContext; in vaGetDisplayGLX() local
91 pDriverContext = pDisplayContext->pDriverContext; in vaGetDisplayGLX()
101 pDriverContext->display_type = VA_DISPLAY_GLX; in vaGetDisplayGLX()
105 pDriverContext->glx = pDriverContextGLX; in vaGetDisplayGLX()
/hardware/intel/common/libva/va/egl/
Dva_egl.c61 #define CTX(dpy) (((VADisplayContextP)dpy)->pDriverContext)
/hardware/intel/common/libva/va/
Dva_tpi.c39 #define CTX(dpy) (((VADisplayContextP)dpy)->pDriverContext)
Dva_backend.h520 VADriverContextP pDriverContext; member
Dva.c43 #define CTX(dpy) (((VADisplayContextP)dpy)->pDriverContext)