Searched refs:subpicture_priv (Results 1 – 2 of 2) sorted by relevance
/external/mesa3d/src/gallium/state_trackers/xvmc/ |
D | subpicture.c | 265 XvMCSubpicturePrivate *subpicture_priv; in XvMCCreateSubpicture() local 293 subpicture_priv = CALLOC(1, sizeof(XvMCSubpicturePrivate)); in XvMCCreateSubpicture() 294 if (!subpicture_priv) in XvMCCreateSubpicture() 323 subpicture_priv->sampler = pipe->create_sampler_view(pipe, tex, &sampler_templ); in XvMCCreateSubpicture() 325 if (!subpicture_priv->sampler) { in XvMCCreateSubpicture() 326 FREE(subpicture_priv); in XvMCCreateSubpicture() 330 subpicture_priv->context = context; in XvMCCreateSubpicture() 340 subpicture->privData = subpicture_priv; in XvMCCreateSubpicture() 354 subpicture_priv->palette = pipe->create_sampler_view(pipe, tex, &sampler_templ); in XvMCCreateSubpicture() 356 if (!subpicture_priv->sampler) { in XvMCCreateSubpicture() [all …]
|
D | surface.c | 363 XvMCSubpicturePrivate *subpicture_priv; in XvMCPutSurface() local 387 subpicture_priv = surface_priv->subpicture ? surface_priv->subpicture->privData : NULL; in XvMCPutSurface() 423 if (subpicture_priv) { in XvMCPutSurface() 426 assert(subpicture_priv->surface == surface); in XvMCPutSurface() 428 if (subpicture_priv->palette) in XvMCPutSurface() 429 …vl_compositor_set_palette_layer(cstate, compositor, 1, subpicture_priv->sampler, subpicture_priv->… in XvMCPutSurface() 430 … &subpicture_priv->src_rect, &subpicture_priv->dst_rect, true); in XvMCPutSurface() 432 vl_compositor_set_rgba_layer(cstate, compositor, 1, subpicture_priv->sampler, in XvMCPutSurface() 433 &subpicture_priv->src_rect, &subpicture_priv->dst_rect, NULL); in XvMCPutSurface() 436 subpicture_priv->surface = NULL; in XvMCPutSurface()
|