Lines Matching refs:CTX
107 VADriverContextP const ctx = pDisplayContext->pDriverContext;
108 struct drm_state * drm_state = (struct drm_state *)ctx->drm_state;
122 if (strncmp((char *)ctx->native_dpy, "libva_driver_name=", 18) == 0) {
123 *driver_name = strdup((char *)ctx->native_dpy + 18);
129 return VA_DRM_GetDriverName(ctx, driver_name);
179 #define CTX(dpy) (((VADisplayContextP)dpy)->pDriverContext)
222 VADriverContextP ctx;
231 ctx = CTX(dpy);
237 return ctx->vtable->vaPutSurface( ctx, surface, static_cast<void*>(&draw), srcx, srcy, srcw, srch,