Lines Matching refs:adapt
694 XF86VideoAdaptorPtr adapt;
697 adapt = calloc(1, sizeof(XF86VideoAdaptorRec) +
700 if (adapt == NULL) {
705 adapt->type = XvWindowMask | XvInputMask | XvImageMask;
706 adapt->flags = VIDEO_OVERLAID_IMAGES | VIDEO_CLIP_TO_VIEWPORT;
708 adapt->name = "AMD Geode LX";
709 adapt->nEncodings = 1;
710 adapt->pEncodings = DummyEncoding;
711 adapt->nFormats = ARRAY_SIZE(Formats);
712 adapt->pFormats = Formats;
713 adapt->nPorts = 1;
714 adapt->pPortPrivates = (DevUnion *) (&adapt[1]);
715 pPriv = (GeodePortPrivRec *) (&adapt->pPortPrivates[1]);
716 adapt->pPortPrivates[0].ptr = (pointer) (pPriv);
717 adapt->pAttributes = Attributes;
718 adapt->nImages = ARRAY_SIZE(Images);
719 adapt->nAttributes = ARRAY_SIZE(Attributes);
720 adapt->pImages = Images;
721 adapt->PutVideo = NULL;
722 adapt->PutStill = NULL;
723 adapt->GetVideo = NULL;
724 adapt->GetStill = NULL;
725 adapt->StopVideo = LXStopVideo;
726 adapt->SetPortAttribute = LXSetPortAttribute;
727 adapt->GetPortAttribute = LXGetPortAttribute;
728 adapt->QueryBestSize = LXQueryBestSize;
729 adapt->PutImage = LXPutImage;
732 adapt->QueryImageAttributes = GeodeQueryImageAttributes;
744 pGeode->adaptor = adapt;
755 return adapt;