Lines Matching refs:adapt

223     XF86VideoAdaptorPtr adapt;
228 if(!(adapt = xf86XVAllocateVideoAdaptorRec(pScrn)))
234 free(adapt);
238 adapt->pPortPrivates = (DevUnion*)(&pPriv[1]);
241 adapt->pPortPrivates[i].val = i;
256 pMga->adaptor = adapt;
259 return adapt;
267 XF86VideoAdaptorPtr adapt;
269 adapt = MGAAllocAdaptor(pScrn, TRUE);
270 if (adapt == NULL)
273 adapt->type = XvWindowMask | XvInputMask | XvImageMask;
274 adapt->flags = VIDEO_OVERLAID_IMAGES | VIDEO_CLIP_TO_VIEWPORT;
275 adapt->name = "Matrox G-Series Backend Scaler";
276 adapt->nEncodings = 1;
277 adapt->pEncodings = &DummyEncoding[0];
278 adapt->nFormats = NUM_FORMATS;
279 adapt->pFormats = Formats;
280 adapt->nPorts = 1;
281 adapt->pAttributes = Attributes;
284 adapt->nImages = 4;
285 adapt->nAttributes = 4;
287 adapt->nImages = 3;
288 adapt->nAttributes = 1;
290 adapt->pImages = Images;
291 adapt->PutVideo = NULL;
292 adapt->PutStill = NULL;
293 adapt->GetVideo = NULL;
294 adapt->GetStill = NULL;
295 adapt->StopVideo = MGAStopVideo;
296 adapt->SetPortAttribute = MGASetPortAttributeOverlay;
297 adapt->GetPortAttribute = MGAGetPortAttributeOverlay;
298 adapt->QueryBestSize = MGAQueryBestSize;
299 adapt->PutImage = MGAPutImage;
300 adapt->QueryImageAttributes = MGAQueryImageAttributes;
307 return adapt;
315 XF86VideoAdaptorPtr adapt;
318 adapt = MGAAllocAdaptor(pScrn, FALSE);
319 if (adapt == NULL)
322 adapt->type = XvWindowMask | XvInputMask | XvImageMask;
323 adapt->flags = 0;
324 adapt->name = "Matrox G-Series Texture Engine";
325 adapt->nEncodings = 1;
326 adapt->pEncodings = &DummyEncoding[1];
327 adapt->nFormats = NUM_FORMATS;
328 adapt->pFormats = Formats;
329 adapt->nPorts = MGA_MAX_PORTS;
330 adapt->pAttributes = NULL;
331 adapt->nAttributes = 0;
332 adapt->pImages = Images;
335 adapt->nImages = 4;
337 adapt->nImages = 3;
338 adapt->PutVideo = NULL;
339 adapt->PutStill = NULL;
340 adapt->GetVideo = NULL;
341 adapt->GetStill = NULL;
342 adapt->StopVideo = MGAStopVideo;
343 adapt->SetPortAttribute = MGASetPortAttributeTexture;
344 adapt->GetPortAttribute = MGAGetPortAttributeTexture;
345 adapt->QueryBestSize = MGAQueryBestSize;
346 adapt->PutImage = MGAPutImage;
347 adapt->QueryImageAttributes = MGAQueryImageAttributes;
349 return adapt;
1305 XF86VideoAdaptorPtr adapt;
1308 adapt = MGAAllocAdaptor(pScrn, FALSE);
1309 if (adapt == NULL)
1312 adapt->type = XvWindowMask | XvInputMask | XvImageMask;
1313 adapt->flags = 0;
1314 adapt->name = "Matrox Millennium II ILOAD Video Engine";
1315 adapt->nEncodings = 1;
1316 adapt->pEncodings = &DummyEncoding[1];
1317 adapt->nFormats = NUM_FORMATS;
1318 adapt->pFormats = Formats;
1319 adapt->nPorts = MGA_MAX_PORTS;
1320 adapt->pAttributes = NULL;
1321 adapt->nAttributes = 0;
1324 adapt->pImages = Images;
1325 adapt->nImages = 4;
1327 adapt->PutVideo = NULL;
1328 adapt->PutStill = NULL;
1329 adapt->GetVideo = NULL;
1330 adapt->GetStill = NULL;
1331 adapt->StopVideo = MGAStopVideo;
1333 adapt->SetPortAttribute = MGASetPortAttributeTexture;
1334 adapt->GetPortAttribute = MGAGetPortAttributeTexture;
1335 adapt->QueryBestSize = MGAQueryBestSize;
1336 adapt->PutImage = MGAPutImageILOAD;
1337 adapt->QueryImageAttributes = MGAQueryImageAttributes;
1341 return adapt;