Lines Matching refs:pDisplayContext
77 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
107 VADriverContextP const ctx = pDisplayContext->pDriverContext; in va_DisplayContextGetDriverName()
139 VADisplayContextP pDisplayContext; in vaGetDisplay() local
149 pDisplayContext = (VADisplayContextP)calloc(1, sizeof(*pDisplayContext)); in vaGetDisplay()
152 if (pDisplayContext && pDriverContext && drm_state) in vaGetDisplay()
154 pDisplayContext->vadpy_magic = VA_DISPLAY_MAGIC; in vaGetDisplay()
158 pDisplayContext->pDriverContext = pDriverContext; in vaGetDisplay()
159 pDisplayContext->vaIsValid = va_DisplayContextIsValid; in vaGetDisplay()
160 pDisplayContext->vaDestroy = va_DisplayContextDestroy; in vaGetDisplay()
161 pDisplayContext->vaGetDriverName = va_DisplayContextGetDriverName; in vaGetDisplay()
163 dpy = (VADisplay)pDisplayContext; in vaGetDisplay()
167 if (pDisplayContext) in vaGetDisplay()
168 free(pDisplayContext); in vaGetDisplay()