Home
last modified time | relevance | path

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

/external/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
366 memset(&sv_tmpl, 0, sizeof(sv_tmpl)); in vlVdpOutputSurfacePutBitsIndexed()
367 u_sampler_view_default_template(&sv_tmpl, res, res->format); in vlVdpOutputSurfacePutBitsIndexed()
369 sv_idx = context->create_sampler_view(context, res, &sv_tmpl); in vlVdpOutputSurfacePutBitsIndexed()
398 memset(&sv_tmpl, 0, sizeof(sv_tmpl)); in vlVdpOutputSurfacePutBitsIndexed()
399 u_sampler_view_default_template(&sv_tmpl, res, res->format); in vlVdpOutputSurfacePutBitsIndexed()
401 sv_tbl = context->create_sampler_view(context, res, &sv_tmpl); in vlVdpOutputSurfacePutBitsIndexed()
/external/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
523 memset(&sv_tmpl, 0, sizeof(sv_tmpl)); in vl_zscan_init_buffer()
524 u_sampler_view_default_template(&sv_tmpl, res, res->format); in vl_zscan_init_buffer()
525 sv_tmpl.swizzle_r = sv_tmpl.swizzle_g = sv_tmpl.swizzle_b = sv_tmpl.swizzle_a = TGSI_SWIZZLE_X; in vl_zscan_init_buffer()
526 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()