Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/state_trackers/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.c303 struct pipe_sampler_view sv_tmpl; in vlVdpOutputSurfacePutBitsIndexed() local
365 memset(&sv_tmpl, 0, sizeof(sv_tmpl)); in vlVdpOutputSurfacePutBitsIndexed()
366 u_sampler_view_default_template(&sv_tmpl, res, res->format); in vlVdpOutputSurfacePutBitsIndexed()
368 sv_idx = context->create_sampler_view(context, res, &sv_tmpl); in vlVdpOutputSurfacePutBitsIndexed()
397 memset(&sv_tmpl, 0, sizeof(sv_tmpl)); in vlVdpOutputSurfacePutBitsIndexed()
398 u_sampler_view_default_template(&sv_tmpl, res, res->format); in vlVdpOutputSurfacePutBitsIndexed()
400 sv_tbl = context->create_sampler_view(context, res, &sv_tmpl); in vlVdpOutputSurfacePutBitsIndexed()
/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_zscan.c378 struct pipe_sampler_view sv_tmpl, *sv; in vl_zscan_layout() local
431 memset(&sv_tmpl, 0, sizeof(sv_tmpl)); in vl_zscan_layout()
432 u_sampler_view_default_template(&sv_tmpl, res, res->format); in vl_zscan_layout()
433 sv = pipe->create_sampler_view(pipe, res, &sv_tmpl); in vl_zscan_layout()
487 struct pipe_sampler_view sv_tmpl; in vl_zscan_init_buffer() local
521 memset(&sv_tmpl, 0, sizeof(sv_tmpl)); in vl_zscan_init_buffer()
522 u_sampler_view_default_template(&sv_tmpl, res, res->format); in vl_zscan_init_buffer()
523 sv_tmpl.swizzle_r = sv_tmpl.swizzle_g = sv_tmpl.swizzle_b = sv_tmpl.swizzle_a = TGSI_SWIZZLE_X; in vl_zscan_init_buffer()
524 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()