Home | History | Annotate | Download | only in src

Lines Matching refs:adapt

826     XF86VideoAdaptorPtr adapt;
830 adapt = calloc(1, sizeof(XF86VideoAdaptorRec) + num_texture_ports *
832 if (!adapt)
845 adapt->type = XvWindowMask | XvInputMask | XvImageMask;
846 adapt->flags = 0;
847 adapt->name = "Radeon Textured Video";
848 adapt->nEncodings = 1;
850 adapt->pEncodings = DummyEncodingEG;
852 adapt->pEncodings = DummyEncodingR600;
854 adapt->pEncodings = DummyEncodingR500;
856 adapt->pEncodings = DummyEncoding;
857 adapt->nFormats = NUM_FORMATS;
858 adapt->pFormats = Formats;
859 adapt->nPorts = num_texture_ports;
860 adapt->pPortPrivates = (DevUnion*)(&adapt[1]);
863 (RADEONPortPrivPtr)(&adapt->pPortPrivates[num_texture_ports]);
866 adapt->pAttributes = Attributes_eg;
867 adapt->nAttributes = NUM_ATTRIBUTES_R600;
870 adapt->pAttributes = Attributes_r600;
871 adapt->nAttributes = NUM_ATTRIBUTES_R600;
874 adapt->pAttributes = Attributes_r500;
875 adapt->nAttributes = NUM_ATTRIBUTES_R500;
878 adapt->pAttributes = Attributes_r300;
879 adapt->nAttributes = NUM_ATTRIBUTES_R300;
882 adapt->pAttributes = Attributes_r200;
883 adapt->nAttributes = NUM_ATTRIBUTES_R200;
886 adapt->pAttributes = Attributes;
887 adapt->nAttributes = NUM_ATTRIBUTES;
889 adapt->pImages = Images;
890 adapt->nImages = NUM_IMAGES;
891 adapt->PutVideo = NULL;
892 adapt->PutStill = NULL;
893 adapt->GetVideo = NULL;
894 adapt->GetStill = NULL;
895 adapt->StopVideo = RADEONStopVideo;
896 adapt->SetPortAttribute = RADEONSetTexPortAttribute;
897 adapt->GetPortAttribute = RADEONGetTexPortAttribute;
898 adapt->QueryBestSize = RADEONQueryBestSize;
899 adapt->PutImage = RADEONPutImageTextured;
900 adapt->ReputImage = NULL;
901 adapt->QueryImageAttributes = RADEONQueryImageAttributes;
919 adapt->pPortPrivates[i].ptr = (pointer) (pPriv);
925 info->xv_max_width = adapt->pEncodings->width;
926 info->xv_max_height = adapt->pEncodings->height;
928 return adapt;