Lines Matching refs:adapt
377 XF86VideoAdaptorPtr adapt;
380 if(!(adapt = calloc(1, sizeof(XF86VideoAdaptorRec) +
385 adapt->type = XvWindowMask | XvInputMask | XvImageMask;
386 adapt->flags = VIDEO_OVERLAID_IMAGES | VIDEO_CLIP_TO_VIEWPORT;
387 adapt->name = "I810 Video Overlay";
388 adapt->nEncodings = 1;
389 adapt->pEncodings = DummyEncoding;
390 adapt->nFormats = NUM_FORMATS;
391 adapt->pFormats = Formats;
392 adapt->nPorts = 1;
393 adapt->pPortPrivates = (DevUnion*)(&adapt[1]);
395 pPriv = (I810PortPrivPtr)(&adapt->pPortPrivates[1]);
397 adapt->pPortPrivates[0].ptr = (pointer)(pPriv);
398 adapt->pAttributes = Attributes;
399 adapt->nImages = NUM_IMAGES;
400 adapt->nAttributes = NUM_ATTRIBUTES;
401 adapt->pImages = Images;
402 adapt->PutVideo = NULL;
403 adapt->PutStill = NULL;
404 adapt->GetVideo = NULL;
405 adapt->GetStill = NULL;
406 adapt->StopVideo = I810StopVideo;
407 adapt->SetPortAttribute = I810SetPortAttribute;
408 adapt->GetPortAttribute = I810GetPortAttribute;
409 adapt->QueryBestSize = I810QueryBestSize;
410 adapt->PutImage = I810PutImage;
411 adapt->QueryImageAttributes = I810QueryImageAttributes;
423 pI810->adaptor = adapt;
440 return adapt;