Lines Matching refs:pDriverContext
82 pDisplayContext->pDriverContext != NULL); in va_DisplayContextIsValid()
95 drm_state = (struct drm_state *)pDisplayContext->pDriverContext->drm_state; in va_DisplayContextDestroy()
98 free(pDisplayContext->pDriverContext->drm_state); in va_DisplayContextDestroy()
99 free(pDisplayContext->pDriverContext); in va_DisplayContextDestroy()
108 VADriverContextP const ctx = pDisplayContext->pDriverContext; in va_DisplayContextGetDriverName()
148 VADriverContextP pDriverContext = 0; in vaGetDisplay() local
151 pDriverContext = (VADriverContextP)calloc(1, sizeof(*pDriverContext)); in vaGetDisplay()
153 if (pDisplayContext && pDriverContext && drm_state) in vaGetDisplay()
157 pDriverContext->native_dpy = (void *)native_dpy; in vaGetDisplay()
158 pDriverContext->display_type = VA_DISPLAY_ANDROID; in vaGetDisplay()
159 pDisplayContext->pDriverContext = pDriverContext; in vaGetDisplay()
163 pDriverContext->drm_state = drm_state; in vaGetDisplay()
170 if (pDriverContext) in vaGetDisplay()
171 free(pDriverContext); in vaGetDisplay()
180 #define CTX(dpy) (((VADisplayContextP)dpy)->pDriverContext)