Searched refs:sv_tmpl (Results 1 – 4 of 4) sorted by relevance
/external/mesa3d/src/gallium/state_trackers/vdpau/ |
D | device.c | 46 struct pipe_sampler_view sv_tmpl; in vdp_imp_device_create_x11() local 110 memset(&sv_tmpl, 0, sizeof(sv_tmpl)); in vdp_imp_device_create_x11() 111 u_sampler_view_default_template(&sv_tmpl, res, res->format); in vdp_imp_device_create_x11() 113 sv_tmpl.swizzle_r = PIPE_SWIZZLE_1; in vdp_imp_device_create_x11() 114 sv_tmpl.swizzle_g = PIPE_SWIZZLE_1; in vdp_imp_device_create_x11() 115 sv_tmpl.swizzle_b = PIPE_SWIZZLE_1; in vdp_imp_device_create_x11() 116 sv_tmpl.swizzle_a = PIPE_SWIZZLE_1; in vdp_imp_device_create_x11() 118 dev->dummy_sv = dev->context->create_sampler_view(dev->context, res, &sv_tmpl); in vdp_imp_device_create_x11()
|
D | output.c | 296 struct pipe_sampler_view sv_tmpl; in vlVdpOutputSurfacePutBitsIndexed() local 358 memset(&sv_tmpl, 0, sizeof(sv_tmpl)); in vlVdpOutputSurfacePutBitsIndexed() 359 u_sampler_view_default_template(&sv_tmpl, res, res->format); in vlVdpOutputSurfacePutBitsIndexed() 361 sv_idx = context->create_sampler_view(context, res, &sv_tmpl); in vlVdpOutputSurfacePutBitsIndexed() 390 memset(&sv_tmpl, 0, sizeof(sv_tmpl)); in vlVdpOutputSurfacePutBitsIndexed() 391 u_sampler_view_default_template(&sv_tmpl, res, res->format); in vlVdpOutputSurfacePutBitsIndexed() 393 sv_tbl = context->create_sampler_view(context, res, &sv_tmpl); in vlVdpOutputSurfacePutBitsIndexed()
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
D | vl_zscan.c | 357 struct pipe_sampler_view sv_tmpl, *sv; in vl_zscan_layout() local 410 memset(&sv_tmpl, 0, sizeof(sv_tmpl)); in vl_zscan_layout() 411 u_sampler_view_default_template(&sv_tmpl, res, res->format); in vl_zscan_layout() 412 sv = pipe->create_sampler_view(pipe, res, &sv_tmpl); in vl_zscan_layout() 466 struct pipe_sampler_view sv_tmpl; in vl_zscan_init_buffer() local 500 memset(&sv_tmpl, 0, sizeof(sv_tmpl)); in vl_zscan_init_buffer() 501 u_sampler_view_default_template(&sv_tmpl, res, res->format); in vl_zscan_init_buffer() 502 sv_tmpl.swizzle_r = sv_tmpl.swizzle_g = sv_tmpl.swizzle_b = sv_tmpl.swizzle_a = TGSI_SWIZZLE_X; in vl_zscan_init_buffer() 503 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()
|