Lines Matching refs:adapt
820 XF86VideoAdaptorPtr adapt;
824 adapt = calloc(1, sizeof(XF86VideoAdaptorRec) + num_texture_ports *
826 if (adapt == NULL)
839 adapt->type = XvWindowMask | XvInputMask | XvImageMask;
840 adapt->flags = 0;
841 adapt->name = "Radeon Textured Video";
842 adapt->nEncodings = 1;
844 adapt->pEncodings = DummyEncodingEG;
846 adapt->pEncodings = DummyEncodingR600;
848 adapt->pEncodings = DummyEncodingR500;
850 adapt->pEncodings = DummyEncoding;
851 adapt->nFormats = NUM_FORMATS;
852 adapt->pFormats = Formats;
853 adapt->nPorts = num_texture_ports;
854 adapt->pPortPrivates = (DevUnion*)(&adapt[1]);
857 (RADEONPortPrivPtr)(&adapt->pPortPrivates[num_texture_ports]);
860 adapt->pAttributes = Attributes_eg;
861 adapt->nAttributes = NUM_ATTRIBUTES_R600;
864 adapt->pAttributes = Attributes_r600;
865 adapt->nAttributes = NUM_ATTRIBUTES_R600;
868 adapt->pAttributes = Attributes_r500;
869 adapt->nAttributes = NUM_ATTRIBUTES_R500;
872 adapt->pAttributes = Attributes_r300;
873 adapt->nAttributes = NUM_ATTRIBUTES_R300;
876 adapt->pAttributes = Attributes_r200;
877 adapt->nAttributes = NUM_ATTRIBUTES_R200;
880 adapt->pAttributes = Attributes;
881 adapt->nAttributes = NUM_ATTRIBUTES;
883 adapt->pImages = Images;
884 adapt->nImages = NUM_IMAGES;
885 adapt->PutVideo = NULL;
886 adapt->PutStill = NULL;
887 adapt->GetVideo = NULL;
888 adapt->GetStill = NULL;
889 adapt->StopVideo = RADEONStopVideo;
890 adapt->SetPortAttribute = RADEONSetTexPortAttribute;
891 adapt->GetPortAttribute = RADEONGetTexPortAttribute;
892 adapt->QueryBestSize = RADEONQueryBestSize;
893 adapt->PutImage = RADEONPutImageTextured;
894 adapt->ReputImage = NULL;
895 adapt->QueryImageAttributes = RADEONQueryImageAttributes;
916 adapt->pPortPrivates[i].ptr = (pointer) (pPriv);
922 info->xv_max_width = adapt->pEncodings->width;
923 info->xv_max_height = adapt->pEncodings->height;
925 return adapt;