Lines Matching defs:dpy
45 static Status Validate(Display *dpy, XvPortID port, int surface_type_id,
59 assert(dpy);
70 for (int i = 0; i < XScreenCount(dpy); ++i) {
71 ret = XvQueryAdaptors(dpy, XRootWindow(dpy, i), &num_adaptors, &adaptor_info);
84 surface_info = XvMCListSurfaceTypes(dpy, adaptor_info[j].base_id, &num_types);
181 Status XvMCCreateContext(Display *dpy, XvPortID port, int surface_type_id,
200 assert(dpy);
205 ret = Validate(dpy, port, surface_type_id, width, height, flags,
232 vscreen = vl_dri3_screen_create(dpy, scrn);
234 vscreen = vl_dri2_screen_create(dpy, scrn);
305 context->context_id = XAllocID(dpy);
321 Status XvMCDestroyContext(Display *dpy, XvMCContext *context)
327 assert(dpy);