Searched refs:sv_tmpl (Results 1 – 4 of 4) sorted by relevance
/external/mesa3d/src/gallium/frontends/vdpau/ |
D | device.c | 46 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()
|
D | output.c | 304 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/ |
D | vl_zscan.c | 380 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()
|
D | vl_mpeg12_decoder.c | 168 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()
|