Lines Matching refs:pAdapt
195 static XF86MCAdaptorRec *pAdapt;
215 pAdapt = calloc(1, sizeof(XF86MCAdaptorRec));
216 if (!pAdapt) {
221 pAdapt->name = "Intel(R) Textured Video";
222 pAdapt->num_subpictures = 0;
223 pAdapt->subpictures = NULL;
224 pAdapt->CreateContext = create_context;
225 pAdapt->DestroyContext = destroy_context;
226 pAdapt->CreateSurface = create_surface;
227 pAdapt->DestroySurface = destroy_surface;
228 pAdapt->CreateSubpicture = create_subpicture;
229 pAdapt->DestroySubpicture = destroy_subpicture;
233 pAdapt->num_surfaces = ARRAY_SIZE(surface_info_i915);
234 pAdapt->surfaces = surface_info_i915;
237 pAdapt->num_surfaces = ARRAY_SIZE(surface_info_vld);
238 pAdapt->surfaces = surface_info_vld;
241 pAdapt->num_surfaces = ARRAY_SIZE(surface_info_i965);
242 pAdapt->surfaces = surface_info_i965;
245 if (xf86XvMCScreenInit(pScreen, 1, &pAdapt)) {