Lines Matching refs:adapt
185 XF86VideoAdaptorPtr adapt;
189 if(!(adapt = xf86XVAllocateVideoAdaptorRec(pScrn)))
194 free(adapt);
198 adapt->pPortPrivates = (DevUnion*)(&pPriv[1]);
199 adapt->pPortPrivates[0].ptr = (pointer)pPriv;
214 return adapt;
223 XF86VideoAdaptorPtr adapt;
225 if(!(adapt = R128AllocAdaptor(pScrn)))
228 adapt->type = XvWindowMask | XvInputMask | XvImageMask;
229 adapt->flags = VIDEO_OVERLAID_IMAGES /*| VIDEO_CLIP_TO_VIEWPORT*/;
230 adapt->name = "ATI Rage128 Video Overlay";
231 adapt->nEncodings = 1;
232 adapt->pEncodings = &DummyEncoding;
233 adapt->nFormats = NUM_FORMATS;
234 adapt->pFormats = Formats;
235 adapt->nPorts = 1;
236 adapt->nAttributes = NUM_ATTRIBUTES;
237 adapt->pAttributes = Attributes;
238 adapt->nImages = NUM_IMAGES;
239 adapt->pImages = Images;
240 adapt->PutVideo = NULL;
241 adapt->PutStill = NULL;
242 adapt->GetVideo = NULL;
243 adapt->GetStill = NULL;
244 adapt->StopVideo = R128StopVideo;
245 adapt->SetPortAttribute = R128SetPortAttribute;
246 adapt->GetPortAttribute = R128GetPortAttribute;
247 adapt->QueryBestSize = R128QueryBestSize;
248 adapt->PutImage = R128PutImage;
249 adapt->QueryImageAttributes = R128QueryImageAttributes;
251 info->adaptor = adapt;
253 pPriv = (R128PortPrivPtr)(adapt->pPortPrivates[0].ptr);
258 return adapt;