Lines Matching refs:adapt
205 XF86VideoAdaptorPtr adapt;
209 if(!(adapt = xf86XVAllocateVideoAdaptorRec(pScrn)))
215 free(adapt);
219 adapt->pPortPrivates = (DevUnion*)(&pPriv[1]);
222 adapt->pPortPrivates[i].val = i;
231 pS3->adaptor = adapt;
234 return adapt;
242 XF86VideoAdaptorPtr adapt;
244 adapt = S3AllocAdaptor(pScrn);
245 if (adapt == NULL)
248 adapt->type = XvWindowMask | XvInputMask | XvImageMask;
249 adapt->flags = VIDEO_OVERLAID_IMAGES | VIDEO_CLIP_TO_VIEWPORT;
250 adapt->name = "S3 Backend Scaler";
251 adapt->nEncodings = 1;
252 adapt->pEncodings = &DummyEncoding[0];
253 adapt->nFormats = NUM_FORMATS_OVERLAY;
254 adapt->pFormats = Formats;
255 adapt->nPorts = 1;
256 adapt->pAttributes = NULL /*Attributes*/;
257 adapt->nImages = 3;
258 adapt->nAttributes = 0;
260 adapt->pImages = Images;
261 adapt->PutVideo = NULL;
262 adapt->PutStill = NULL;
263 adapt->GetVideo = NULL;
264 adapt->GetStill = NULL;
265 adapt->StopVideo = S3StopVideo;
267 adapt->SetPortAttribute = S3SetPortAttributeOverlay;
268 adapt->GetPortAttribute = S3GetPortAttributeOverlay;
269 adapt->QueryBestSize = S3QueryBestSize;
270 adapt->PutImage = S3PutImage;
271 adapt->QueryImageAttributes = S3QueryImageAttributes;
278 return adapt;