Home | History | Annotate | Download | only in xorg

Lines Matching refs:adapt

663    XF86VideoAdaptorPtr adapt;
674 adapt = calloc(1, sizeof(XF86VideoAdaptorRec));
677 if (adapt == NULL || dev_unions == NULL || attrs == NULL) {
678 free(adapt);
684 adapt->type = XvWindowMask | XvInputMask | XvImageMask;
685 adapt->flags = 0;
686 adapt->name = "Gallium3D Textured Video";
687 adapt->nEncodings = 1;
688 adapt->pEncodings = DummyEncoding;
689 adapt->nFormats = NUM_FORMATS;
690 adapt->pFormats = Formats;
691 adapt->nPorts = 0;
692 adapt->pPortPrivates = dev_unions;
693 adapt->nAttributes = nattributes;
694 adapt->pAttributes = attrs;
696 adapt->nImages = NUM_IMAGES;
697 adapt->pImages = Images;
698 adapt->PutVideo = NULL;
699 adapt->PutStill = NULL;
700 adapt->GetVideo = NULL;
701 adapt->GetStill = NULL;
702 adapt->StopVideo = stop_video;
703 adapt->SetPortAttribute = set_port_attribute;
704 adapt->GetPortAttribute = get_port_attribute;
705 adapt->QueryBestSize = query_best_size;
706 adapt->PutImage = put_image;
707 adapt->QueryImageAttributes = query_image_attributes;
713 adapt->pPortPrivates[i].ptr = (pointer) (priv);
714 adapt->nPorts++;
717 return adapt;