Searched refs:sv_templ (Results 1 – 7 of 7) sorted by relevance
/external/mesa3d/src/gallium/auxiliary/vl/ |
D | vl_video_buffer.c | 267 struct pipe_sampler_view sv_templ; in vl_video_buffer_sampler_view_planes() local 277 memset(&sv_templ, 0, sizeof(sv_templ)); in vl_video_buffer_sampler_view_planes() 278 u_sampler_view_default_template(&sv_templ, buf->resources[i], buf->resources[i]->format); in vl_video_buffer_sampler_view_planes() 281 …sv_templ.swizzle_r = sv_templ.swizzle_g = sv_templ.swizzle_b = sv_templ.swizzle_a = PIPE_SWIZZLE_R… in vl_video_buffer_sampler_view_planes() 283 … buf->sampler_view_planes[i] = pipe->create_sampler_view(pipe, buf->resources[i], &sv_templ); in vl_video_buffer_sampler_view_planes() 302 struct pipe_sampler_view sv_templ; in vl_video_buffer_sampler_view_components() local 326 memset(&sv_templ, 0, sizeof(sv_templ)); in vl_video_buffer_sampler_view_components() 327 u_sampler_view_default_template(&sv_templ, res, sampler_format[plane_order[i]]); in vl_video_buffer_sampler_view_components() 328 sv_templ.swizzle_r = sv_templ.swizzle_g = sv_templ.swizzle_b = PIPE_SWIZZLE_RED + j; in vl_video_buffer_sampler_view_components() 329 sv_templ.swizzle_a = PIPE_SWIZZLE_ONE; in vl_video_buffer_sampler_view_components() [all …]
|
D | vl_idct.c | 685 struct pipe_sampler_view sv_templ, *sv; in vl_idct_upload_matrix() local 739 memset(&sv_templ, 0, sizeof(sv_templ)); in vl_idct_upload_matrix() 740 u_sampler_view_default_template(&sv_templ, matrix, matrix->format); in vl_idct_upload_matrix() 741 sv = pipe->create_sampler_view(pipe, matrix, &sv_templ); in vl_idct_upload_matrix()
|
/external/mesa3d/src/gallium/drivers/nouveau/ |
D | nouveau_video.c | 661 struct pipe_sampler_view sv_templ; in nouveau_video_buffer_sampler_view_planes() local 671 memset(&sv_templ, 0, sizeof(sv_templ)); in nouveau_video_buffer_sampler_view_planes() 672 u_sampler_view_default_template(&sv_templ, buf->resources[i], buf->resources[i]->format); in nouveau_video_buffer_sampler_view_planes() 675 …sv_templ.swizzle_r = sv_templ.swizzle_g = sv_templ.swizzle_b = sv_templ.swizzle_a = PIPE_SWIZZLE_R… in nouveau_video_buffer_sampler_view_planes() 677 … buf->sampler_view_planes[i] = pipe->create_sampler_view(pipe, buf->resources[i], &sv_templ); in nouveau_video_buffer_sampler_view_planes() 696 struct pipe_sampler_view sv_templ; in nouveau_video_buffer_sampler_view_components() local 711 memset(&sv_templ, 0, sizeof(sv_templ)); in nouveau_video_buffer_sampler_view_components() 712 … u_sampler_view_default_template(&sv_templ, buf->resources[i], buf->resources[i]->format); in nouveau_video_buffer_sampler_view_components() 713 sv_templ.swizzle_r = sv_templ.swizzle_g = sv_templ.swizzle_b = PIPE_SWIZZLE_RED + j; in nouveau_video_buffer_sampler_view_components() 714 sv_templ.swizzle_a = PIPE_SWIZZLE_ONE; in nouveau_video_buffer_sampler_view_components() [all …]
|
/external/mesa3d/src/gallium/state_trackers/vdpau/ |
D | bitmap.c | 47 struct pipe_sampler_view sv_templ; in vlVdpBitmapSurfaceCreate() local 89 vlVdpDefaultSamplerViewTemplate(&sv_templ, res); in vlVdpBitmapSurfaceCreate() 90 vlsurface->sampler_view = pipe->create_sampler_view(pipe, res, &sv_templ); in vlVdpBitmapSurfaceCreate()
|
D | device.c | 290 struct pipe_sampler_view sv_templ; in vlVdpResolveDelayedRendering() local 292 vlVdpDefaultSamplerViewTemplate(&sv_templ, res); in vlVdpResolveDelayedRendering() 294 vlsurface->sampler_view = dev->context->create_sampler_view(dev->context, res, &sv_templ); in vlVdpResolveDelayedRendering()
|
D | output.c | 51 struct pipe_sampler_view sv_templ; in vlVdpOutputSurfaceCreate() local 92 vlVdpDefaultSamplerViewTemplate(&sv_templ, res); in vlVdpOutputSurfaceCreate() 93 vlsurface->sampler_view = pipe->create_sampler_view(pipe, res, &sv_templ); in vlVdpOutputSurfaceCreate()
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_blit.c | 441 struct pipe_sampler_view sv_templ; in util_blit_pixels() local 545 struct pipe_sampler_view sv_templ; in util_blit_pixels() local 604 u_sampler_view_default_template(&sv_templ, tex, tex->format); in util_blit_pixels() 607 sv_templ.format = util_format_stencil_only(tex->format); in util_blit_pixels() 608 assert(sv_templ.format != PIPE_FORMAT_NONE); in util_blit_pixels() 610 sampler_view = pipe->create_sampler_view(pipe, tex, &sv_templ); in util_blit_pixels() 620 u_sampler_view_default_template(&sv_templ, src_tex, src_format); in util_blit_pixels() 623 sv_templ.format = util_format_stencil_only(src_format); in util_blit_pixels() 624 assert(sv_templ.format != PIPE_FORMAT_NONE); in util_blit_pixels() 626 sampler_view = pipe->create_sampler_view(pipe, src_tex, &sv_templ); in util_blit_pixels()
|