Home
last modified time | relevance | path

Searched refs:sv_tmpl (Results 1 – 4 of 4) sorted by relevance

/third_party/mesa3d/src/gallium/frontends/vdpau/
Ddevice.c46 struct pipe_sampler_view sv_tmpl; in vdp_imp_device_create_x11() local
108 memset(&sv_tmpl, 0, sizeof(sv_tmpl)); in vdp_imp_device_create_x11()
109 u_sampler_view_default_template(&sv_tmpl, res, res->format); in vdp_imp_device_create_x11()
111 sv_tmpl.swizzle_r = PIPE_SWIZZLE_1; in vdp_imp_device_create_x11()
112 sv_tmpl.swizzle_g = PIPE_SWIZZLE_1; in vdp_imp_device_create_x11()
113 sv_tmpl.swizzle_b = PIPE_SWIZZLE_1; in vdp_imp_device_create_x11()
114 sv_tmpl.swizzle_a = PIPE_SWIZZLE_1; in vdp_imp_device_create_x11()
116 dev->dummy_sv = dev->context->create_sampler_view(dev->context, res, &sv_tmpl); in vdp_imp_device_create_x11()
Doutput.c304 struct pipe_sampler_view sv_tmpl; in vlVdpOutputSurfacePutBitsIndexed() local
369 memset(&sv_tmpl, 0, sizeof(sv_tmpl)); in vlVdpOutputSurfacePutBitsIndexed()
370 u_sampler_view_default_template(&sv_tmpl, res, res->format); in vlVdpOutputSurfacePutBitsIndexed()
372 sv_idx = context->create_sampler_view(context, res, &sv_tmpl); in vlVdpOutputSurfacePutBitsIndexed()
401 memset(&sv_tmpl, 0, sizeof(sv_tmpl)); in vlVdpOutputSurfacePutBitsIndexed()
402 u_sampler_view_default_template(&sv_tmpl, res, res->format); in vlVdpOutputSurfacePutBitsIndexed()
404 sv_tbl = context->create_sampler_view(context, res, &sv_tmpl); in vlVdpOutputSurfacePutBitsIndexed()
/third_party/mesa3d/src/gallium/auxiliary/vl/
Dvl_zscan.c380 struct pipe_sampler_view sv_tmpl, *sv; in vl_zscan_layout() local
433 memset(&sv_tmpl, 0, sizeof(sv_tmpl)); in vl_zscan_layout()
434 u_sampler_view_default_template(&sv_tmpl, res, res->format); in vl_zscan_layout()
435 sv = pipe->create_sampler_view(pipe, res, &sv_tmpl); in vl_zscan_layout()
489 struct pipe_sampler_view sv_tmpl; in vl_zscan_init_buffer() local
527 memset(&sv_tmpl, 0, sizeof(sv_tmpl)); in vl_zscan_init_buffer()
528 u_sampler_view_default_template(&sv_tmpl, res, res->format); in vl_zscan_init_buffer()
529 sv_tmpl.swizzle_r = sv_tmpl.swizzle_g = sv_tmpl.swizzle_b = sv_tmpl.swizzle_a = TGSI_SWIZZLE_X; in vl_zscan_init_buffer()
530 buffer->quant = zscan->pipe->create_sampler_view(zscan->pipe, res, &sv_tmpl); in vl_zscan_init_buffer()
Dvl_mpeg12_decoder.c168 struct pipe_sampler_view sv_tmpl; in init_zscan_buffer() local
190 memset(&sv_tmpl, 0, sizeof(sv_tmpl)); in init_zscan_buffer()
191 u_sampler_view_default_template(&sv_tmpl, res, res->format); in init_zscan_buffer()
192 sv_tmpl.swizzle_r = sv_tmpl.swizzle_g = sv_tmpl.swizzle_b = sv_tmpl.swizzle_a = PIPE_SWIZZLE_X; in init_zscan_buffer()
193 buffer->zscan_source = dec->context->create_sampler_view(dec->context, res, &sv_tmpl); in init_zscan_buffer()