Home
last modified time | relevance | path

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

/hardware/intel/common/libva/va/x11/
Dva_x11.c48 VADisplayContextP pDisplayContext in va_DisplayContextIsValid() argument
51 return (pDisplayContext != NULL && in va_DisplayContextIsValid()
52 pDisplayContext->pDriverContext != NULL); in va_DisplayContextIsValid()
56 VADisplayContextP pDisplayContext in va_DisplayContextDestroy() argument
62 if (pDisplayContext == NULL) in va_DisplayContextDestroy()
65 ctx = pDisplayContext->pDriverContext; in va_DisplayContextDestroy()
71 free(pDisplayContext->pDriverContext->drm_state); in va_DisplayContextDestroy()
72 free(pDisplayContext->pDriverContext); in va_DisplayContextDestroy()
73 free(pDisplayContext); in va_DisplayContextDestroy()
78 VADisplayContextP pDisplayContext, in va_DRI2GetDriverName() argument
[all …]
/hardware/intel/common/libva/va/drm/
Dva_drm.c34 va_DisplayContextIsValid(VADisplayContextP pDisplayContext) in va_DisplayContextIsValid() argument
36 VADriverContextP const pDriverContext = pDisplayContext->pDriverContext; in va_DisplayContextIsValid()
43 va_DisplayContextDestroy(VADisplayContextP pDisplayContext) in va_DisplayContextDestroy() argument
45 if (!pDisplayContext) in va_DisplayContextDestroy()
48 free(pDisplayContext->pDriverContext->drm_state); in va_DisplayContextDestroy()
49 free(pDisplayContext->pDriverContext); in va_DisplayContextDestroy()
50 free(pDisplayContext); in va_DisplayContextDestroy()
55 VADisplayContextP pDisplayContext, in va_DisplayContextGetDriverName() argument
60 VADriverContextP const ctx = pDisplayContext->pDriverContext; in va_DisplayContextGetDriverName()
89 VADisplayContextP pDisplayContext = NULL; in vaGetDisplayDRM() local
[all …]
/hardware/intel/common/libva/va/wayland/
Dva_wayland.c57 va_DisplayContextIsValid(VADisplayContextP pDisplayContext) in va_DisplayContextIsValid() argument
59 VADriverContextP const pDriverContext = pDisplayContext->pDriverContext; in va_DisplayContextIsValid()
66 va_DisplayContextDestroy(VADisplayContextP pDisplayContext) in va_DisplayContextDestroy() argument
71 if (!pDisplayContext) in va_DisplayContextDestroy()
74 pDisplayContextWl = pDisplayContext->opaque; in va_DisplayContextDestroy()
76 pDisplayContextWl->destroy(pDisplayContext); in va_DisplayContextDestroy()
78 pDriverContext = pDisplayContext->pDriverContext; in va_DisplayContextDestroy()
83 pDisplayContext->pDriverContext = NULL; in va_DisplayContextDestroy()
86 free(pDisplayContext->opaque); in va_DisplayContextDestroy()
87 pDisplayContext->opaque = NULL; in va_DisplayContextDestroy()
[all …]
Dva_wayland_drm.c55 VADisplayContextP const pDisplayContext = data; in drm_handle_device() local
56 VADriverContextP const ctx = pDisplayContext->pDriverContext; in drm_handle_device()
57 VADisplayContextWaylandDRM * const wl_drm_ctx = pDisplayContext->opaque; in drm_handle_device()
92 VADisplayContextP const pDisplayContext = data; in drm_handle_authenticated() local
93 VADriverContextP const ctx = pDisplayContext->pDriverContext; in drm_handle_authenticated()
94 VADisplayContextWaylandDRM * const wl_drm_ctx = pDisplayContext->opaque; in drm_handle_authenticated()
109 VADisplayContextP pDisplayContext, in va_DisplayContextGetDriverName() argument
113 VADriverContextP const ctx = pDisplayContext->pDriverContext; in va_DisplayContextGetDriverName()
119 va_wayland_drm_destroy(VADisplayContextP pDisplayContext) in va_wayland_drm_destroy() argument
121 VADriverContextP const ctx = pDisplayContext->pDriverContext; in va_wayland_drm_destroy()
[all …]
Dva_wayland_emgd.c54 VADisplayContextP pDisplayContext, in va_DisplayContextGetDriverName() argument
63 va_wayland_emgd_destroy(VADisplayContextP pDisplayContext) in va_wayland_emgd_destroy() argument
65 VADriverContextP const ctx = pDisplayContext->pDriverContext; in va_wayland_emgd_destroy()
66 VADisplayContextWaylandEMGD * const wl_emgd_ctx = pDisplayContext->opaque; in va_wayland_emgd_destroy()
113 va_wayland_emgd_create(VADisplayContextP pDisplayContext) in va_wayland_emgd_create() argument
115 VADriverContextP const ctx = pDisplayContext->pDriverContext; in va_wayland_emgd_create()
128 pDisplayContext->opaque = wl_emgd_ctx; in va_wayland_emgd_create()
129 pDisplayContext->vaGetDriverName = va_DisplayContextGetDriverName; in va_wayland_emgd_create()
Dva_wayland_emgd.h46 va_wayland_emgd_create(VADisplayContextP pDisplayContext);
50 va_wayland_emgd_destroy(VADisplayContextP pDisplayContext);
Dva_wayland_drm.h46 va_wayland_drm_create(VADisplayContextP pDisplayContext);
50 va_wayland_drm_destroy(VADisplayContextP pDisplayContext);
Dva_wayland_private.h32 typedef bool (*VADisplayContextCreateFunc)(VADisplayContextP pDisplayContext);
33 typedef void (*VADisplayContextDestroyFunc)(VADisplayContextP pDisplayContext);
/hardware/intel/common/libva/va/android/
Dva_android.cpp77 VADisplayContextP pDisplayContext in va_DisplayContextIsValid() argument
80 return (pDisplayContext != NULL && in va_DisplayContextIsValid()
81 pDisplayContext->pDriverContext != NULL); in va_DisplayContextIsValid()
85 VADisplayContextP pDisplayContext in va_DisplayContextDestroy() argument
90 if (pDisplayContext == NULL) in va_DisplayContextDestroy()
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()
99 free(pDisplayContext); in va_DisplayContextDestroy()
103 VADisplayContextP pDisplayContext, in va_DisplayContextGetDriverName() argument
[all …]
/hardware/intel/common/libva/va/glx/
Dva_glx.c52 static void va_DisplayContextDestroy(VADisplayContextP pDisplayContext) in va_DisplayContextDestroy() argument
58 if (!pDisplayContext) in va_DisplayContextDestroy()
61 pDriverContext = pDisplayContext->pDriverContext; in va_DisplayContextDestroy()
68 pDisplayContextGLX = pDisplayContext->opaque; in va_DisplayContextDestroy()
72 pDisplayContext->opaque = NULL; in va_DisplayContextDestroy()
74 vaDestroy(pDisplayContext); in va_DisplayContextDestroy()
82 VADisplayContextP pDisplayContext = NULL; in vaGetDisplayGLX() local
90 pDisplayContext = (VADisplayContextP)dpy; in vaGetDisplayGLX()
91 pDriverContext = pDisplayContext->pDriverContext; in vaGetDisplayGLX()
102 pDisplayContextGLX->vaDestroy = pDisplayContext->vaDestroy; in vaGetDisplayGLX()
[all …]
/hardware/intel/common/libva/va/
Dva.c102 VADisplayContextP pDisplayContext = (VADisplayContextP)dpy; in vaDisplayIsValid() local
103 …return pDisplayContext && (pDisplayContext->vadpy_magic == VA_DISPLAY_MAGIC) && pDisplayContext->v… in vaDisplayIsValid()
192 VADisplayContextP pDisplayContext = (VADisplayContextP)dpy; in va_getDriverName() local
194 return pDisplayContext->vaGetDriverName(pDisplayContext, driver_name); in va_getDriverName()
502 VADisplayContextP pDisplayContext = (VADisplayContextP)dpy; in vaTerminate() local
525 pDisplayContext->vaDestroy(pDisplayContext); in vaTerminate()