Lines Matching refs:adapt
378 XF86VideoAdaptorPtr adapt;
381 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 = "Advanced Micro Devices";
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]);
394 pPriv = (GeodePortPrivRec *) (&adapt->pPortPrivates[1]);
395 adapt->pPortPrivates[0].ptr = (pointer) (pPriv);
396 adapt->pAttributes = Attributes;
397 adapt->nImages = NUM_IMAGES;
398 adapt->nAttributes = NUM_ATTRIBUTES;
399 adapt->pImages = Images;
400 adapt->PutVideo = NULL;
401 adapt->PutStill = NULL;
402 adapt->GetVideo = NULL;
403 adapt->GetStill = NULL;
404 adapt->StopVideo = GXStopVideo;
405 adapt->SetPortAttribute = GXSetPortAttribute;
406 adapt->GetPortAttribute = GXGetPortAttribute;
407 adapt->QueryBestSize = GXQueryBestSize;
408 adapt->PutImage = GXPutImage;
409 adapt->QueryImageAttributes = GeodeQueryImageAttributes;
427 pGeode->adaptor = adapt;
441 return adapt;