Home
last modified time | relevance | path

Searched refs:sampler_templ (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/gallium/state_trackers/xvmc/
Dsubpicture.c268 struct pipe_sampler_view sampler_templ; in XvMCCreateSubpicture() local
320 memset(&sampler_templ, 0, sizeof(sampler_templ)); in XvMCCreateSubpicture()
321 u_sampler_view_default_template(&sampler_templ, tex, tex->format); in XvMCCreateSubpicture()
323 subpicture_priv->sampler = pipe->create_sampler_view(pipe, tex, &sampler_templ); in XvMCCreateSubpicture()
351 memset(&sampler_templ, 0, sizeof(sampler_templ)); in XvMCCreateSubpicture()
352 u_sampler_view_default_template(&sampler_templ, tex, tex->format); in XvMCCreateSubpicture()
353 sampler_templ.swizzle_a = PIPE_SWIZZLE_1; in XvMCCreateSubpicture()
354 subpicture_priv->palette = pipe->create_sampler_view(pipe, tex, &sampler_templ); in XvMCCreateSubpicture()
/external/mesa3d/src/gallium/state_trackers/va/
Dsubpicture.c179 struct pipe_sampler_view sampler_templ; in vlVaAssociateSubpicture() local
228 memset(&sampler_templ, 0, sizeof(sampler_templ)); in vlVaAssociateSubpicture()
229 u_sampler_view_default_template(&sampler_templ, tex, tex->format); in vlVaAssociateSubpicture()
230 sub->sampler = drv->pipe->create_sampler_view(drv->pipe, tex, &sampler_templ); in vlVaAssociateSubpicture()