Lines Matching refs:adapt
144 XF86VideoAdaptorPtr adapt;
146 if (!(adapt = calloc(1, sizeof(XF86VideoAdaptorRec))))
149 adapt->type = XvWindowMask | XvInputMask | XvImageMask;
150 adapt->flags = VIDEO_OVERLAID_IMAGES | VIDEO_CLIP_TO_VIEWPORT;
151 adapt->name = PROJECT_NAME " Video Overlay";
152 adapt->nEncodings = 1;
153 adapt->pEncodings = DummyEncoding;
154 adapt->nFormats = NUM_FORMATS;
155 adapt->pFormats = Formats;
156 adapt->nPorts = 1;
157 adapt->pPortPrivates = NULL;
159 adapt->pPortPrivates[0].ptr = NULL;
160 adapt->pAttributes = Attributes;
161 adapt->nImages = NUM_IMAGES;
162 adapt->nAttributes = NUM_ATTRIBUTES;
163 adapt->pImages = Images;
164 adapt->PutVideo = NULL;
165 adapt->PutStill = NULL;
166 adapt->GetVideo = NULL;
167 adapt->GetStill = NULL;
169 adapt->StopVideo = I810StopVideo;
170 adapt->SetPortAttribute = I810SetPortAttribute;
171 adapt->GetPortAttribute = I810GetPortAttribute;
172 adapt->QueryBestSize = I810QueryBestSize;
173 adapt->PutImage = I810PutImage;
174 adapt->QueryImageAttributes = I810QueryImageAttributes;
192 pI810->adaptor = adapt;
208 return adapt;