• Home
  • Raw
  • Download

Lines Matching refs:surface_priv

158    XvMCSurfacePrivate *surface_priv;  in XvMCCreateSurface()  local
173 surface_priv = CALLOC(1, sizeof(XvMCSurfacePrivate)); in XvMCCreateSurface()
174 if (!surface_priv) in XvMCCreateSurface()
196 surface_priv->video_buffer = pipe->create_video_buffer(pipe, &tmpl); in XvMCCreateSurface()
197 if (!surface_priv->video_buffer) { in XvMCCreateSurface()
198 FREE(surface_priv); in XvMCCreateSurface()
201 surface_priv->context = context; in XvMCCreateSurface()
208 surface->privData = surface_priv; in XvMCCreateSurface()
361 XvMCSurfacePrivate *surface_priv; in XvMCPutSurface() local
379 surface_priv = surface->privData; in XvMCPutSurface()
380 context = surface_priv->context; in XvMCPutSurface()
387 subpicture_priv = surface_priv->subpicture ? surface_priv->subpicture->privData : NULL; in XvMCPutSurface()
415 RecursiveEndFrame(surface_priv); in XvMCPutSurface()
420 vl_compositor_set_buffer_layer(cstate, compositor, 0, surface_priv->video_buffer, in XvMCPutSurface()
424 … XVMC_MSG(XVMC_TRACE, "[XvMC] Surface %p has subpicture %p.\n", surface, surface_priv->subpicture); in XvMCPutSurface()
435 surface_priv->subpicture = NULL; in XvMCPutSurface()
440 pipe->screen->fence_reference(pipe->screen, &surface_priv->fence, NULL); in XvMCPutSurface()
446 pipe->flush(pipe, &surface_priv->fence, 0); in XvMCPutSurface()
475 XvMCSurfacePrivate *surface_priv; in XvMCGetSurfaceStatus() local
485 surface_priv = surface->privData; in XvMCGetSurfaceStatus()
486 context_priv = surface_priv->context->privData; in XvMCGetSurfaceStatus()
491 if (surface_priv->fence) in XvMCGetSurfaceStatus()
492 if (!pipe->screen->fence_finish(pipe->screen, NULL, surface_priv->fence, 0)) in XvMCGetSurfaceStatus()
501 XvMCSurfacePrivate *surface_priv; in XvMCDestroySurface() local
511 surface_priv = surface->privData; in XvMCDestroySurface()
512 context_priv = surface_priv->context->privData; in XvMCDestroySurface()
514 if (surface_priv->picture_structure) { in XvMCDestroySurface()
516 GetPictureDescription(surface_priv, &desc); in XvMCDestroySurface()
517 … context_priv->decoder->end_frame(context_priv->decoder, surface_priv->video_buffer, &desc.base); in XvMCDestroySurface()
519 surface_priv->video_buffer->destroy(surface_priv->video_buffer); in XvMCDestroySurface()
520 FREE(surface_priv); in XvMCDestroySurface()