Lines Matching refs:adaptorPtr

366   XF86VideoAdaptorPtr adaptorPtr;
392 for(pa = pAdaptor, na = 0, numAdaptor = 0; na < number; na++, adaptorPtr++) {
393 adaptorPtr = infoPtr[na];
395 if(!adaptorPtr->StopVideo || !adaptorPtr->SetPortAttribute ||
396 !adaptorPtr->GetPortAttribute || !adaptorPtr->QueryBestSize)
400 if(!adaptorPtr->nEncodings || !adaptorPtr->pEncodings)
403 pa->type = adaptorPtr->type;
405 if(!adaptorPtr->PutVideo && !adaptorPtr->GetVideo)
408 if(!adaptorPtr->PutStill && !adaptorPtr->GetStill)
411 if(!adaptorPtr->PutImage || !adaptorPtr->QueryImageAttributes)
414 if(!adaptorPtr->PutVideo && !adaptorPtr->PutImage &&
415 !adaptorPtr->PutStill)
418 if(!adaptorPtr->GetVideo && !adaptorPtr->GetStill)
421 if(!(adaptorPtr->type & (XvPixmapMask | XvWindowMask)))
423 if(!(adaptorPtr->type & (XvImageMask | XvVideoMask | XvStillMask)))
439 pa->name = strdup(adaptorPtr->name);
441 if(adaptorPtr->nEncodings &&
442 (pEncode = calloc(adaptorPtr->nEncodings, sizeof(XvEncodingRec)))) {
444 for(pe = pEncode, encodingPtr = adaptorPtr->pEncodings, i = 0;
445 i < adaptorPtr->nEncodings; pe++, i++, encodingPtr++)
455 pa->nEncodings = adaptorPtr->nEncodings;
459 if(adaptorPtr->nImages &&
460 (pImage = calloc(adaptorPtr->nImages, sizeof(XvImageRec)))) {
462 for(i = 0, pi = pImage, imagePtr = adaptorPtr->pImages;
463 i < adaptorPtr->nImages; i++, pi++, imagePtr++)
488 pa->nImages = adaptorPtr->nImages;
492 if(adaptorPtr->nAttributes &&
493 (pAttribute = calloc(adaptorPtr->nAttributes, sizeof(XvAttributeRec))))
495 for(pat = pAttribute, attributePtr = adaptorPtr->pAttributes, i = 0;
496 i < adaptorPtr->nAttributes; pat++, i++, attributePtr++)
503 pa->nAttributes = adaptorPtr->nAttributes;
508 totFormat = adaptorPtr->nFormats;
514 for(pf = pFormat, i = 0, numFormat = 0, formatPtr = adaptorPtr->pFormats;
515 i < adaptorPtr->nFormats; i++, formatPtr++)
555 adaptorPriv->flags = adaptorPtr->flags;
556 adaptorPriv->PutVideo = adaptorPtr->PutVideo;
557 adaptorPriv->PutStill = adaptorPtr->PutStill;
558 adaptorPriv->GetVideo = adaptorPtr->GetVideo;
559 adaptorPriv->GetStill = adaptorPtr->GetStill;
560 adaptorPriv->StopVideo = adaptorPtr->StopVideo;
561 adaptorPriv->SetPortAttribute = adaptorPtr->SetPortAttribute;
562 adaptorPriv->GetPortAttribute = adaptorPtr->GetPortAttribute;
563 adaptorPriv->QueryBestSize = adaptorPtr->QueryBestSize;
564 adaptorPriv->QueryImageAttributes = adaptorPtr->QueryImageAttributes;
565 adaptorPriv->PutImage = adaptorPtr->PutImage;
566 adaptorPriv->ReputImage = adaptorPtr->ReputImage; /* image/still */
570 if(!(pPort = calloc(adaptorPtr->nPorts, sizeof(XvPortRec)))) {
575 i < adaptorPtr->nPorts; i++) {
598 portPriv->DevPriv.ptr = adaptorPtr->pPortPrivates[i].ptr;