Lines Matching refs:xvmc
47 #include <X11/extensions/XvMC.h>
178 * Init and clean up the screen private parts of XvMC.
180 static void initI915XvMC(I915XvMCPtr xvmc)
185 xvmc->contexts[i] = 0;
186 xvmc->ctxprivs[i] = NULL;
190 xvmc->surfaces[i] = 0;
191 xvmc->sfprivs[i] = NULL;
193 xvmc->ncontexts = 0;
194 xvmc->nsurfaces = 0;
197 static void cleanupI915XvMC(I915XvMCPtr xvmc)
202 xvmc->contexts[i] = 0;
203 if (xvmc->ctxprivs[i]) {
204 xfree(xvmc->ctxprivs[i]);
205 xvmc->ctxprivs[i] = NULL;
210 xvmc->surfaces[i] = 0;
211 if (xvmc->sfprivs[i]) {
212 xfree(xvmc->sfprivs[i]);
213 xvmc->sfprivs[i] = NULL;
325 if (!i830_allocate_xvmc_buffer(pScrn, "[XvMC]Static Indirect State",
331 if (!i830_allocate_xvmc_buffer(pScrn, "[XvMC]Sampler State",
337 if (!i830_allocate_xvmc_buffer(pScrn, "[XvMC]Map State",
343 if (!i830_allocate_xvmc_buffer(pScrn, "[XvMC]Pixel Shader Program",
349 if (!i830_allocate_xvmc_buffer(pScrn, "[XvMC]Pixel Shader Constants",
355 if (!i830_allocate_xvmc_buffer(pScrn, "[XvMC]Correction Data Buffer",
428 "[XvMC] i915: XvMC disabled!\n");
440 "[XvMC] i915: Out of contexts.\n");
460 "[XvMC] i915: Unable to allocate memory!\n");
544 "[XvMCXvMC disabled!\n");
559 "[XvMC] i915: Too many surfaces !\n");
568 "[XvMC] i915:Unable to allocate surface priv ret memory!\n");
577 "[XvMC] i915: Unable to allocate surface priv memory!\n");
587 if (!i830_allocate_xvmc_buffer(pScrn, "XvMC surface",
591 "[XvMC] i915 : Failed to allocate XvMC surface space!\n");
650 "[XvMC] i915: Too many surfaces !\n");
659 "[XvMC] i915: Unable to allocate memory!\n");
668 "[XvMC] i915: Unable to allocate memory!\n");
678 if (!i830_allocate_xvmc_buffer(pScrn, "XvMC surface",
682 "[XvMC] I915XvMCCreateSurface: Failed to allocate XvMC surface space!\n");
799 "[XvMC] i915 put image: Invalid parameters!\n");
824 "[XvMC] alloc driver private failed!\n");
830 "[XvMC] fail to init batch buffer\n");
877 /* new xvmc driver interface */