/external/mesa3d/src/gallium/auxiliary/vl/ |
D | vl_video_buffer.c | 222 struct pipe_sampler_view sv_templ; in vl_video_buffer_sampler_view_planes() local 232 memset(&sv_templ, 0, sizeof(sv_templ)); in vl_video_buffer_sampler_view_planes() 233 u_sampler_view_default_template(&sv_templ, buf->resources[i], buf->resources[i]->format); in vl_video_buffer_sampler_view_planes() 236 …sv_templ.swizzle_r = sv_templ.swizzle_g = sv_templ.swizzle_b = sv_templ.swizzle_a = PIPE_SWIZZLE_X; in vl_video_buffer_sampler_view_planes() 238 … buf->sampler_view_planes[i] = pipe->create_sampler_view(pipe, buf->resources[i], &sv_templ); in vl_video_buffer_sampler_view_planes() 257 struct pipe_sampler_view sv_templ; in vl_video_buffer_sampler_view_components() local 281 memset(&sv_templ, 0, sizeof(sv_templ)); in vl_video_buffer_sampler_view_components() 282 u_sampler_view_default_template(&sv_templ, res, sampler_format[plane_order[i]]); in vl_video_buffer_sampler_view_components() 283 sv_templ.swizzle_r = sv_templ.swizzle_g = sv_templ.swizzle_b = PIPE_SWIZZLE_X + j; in vl_video_buffer_sampler_view_components() 284 sv_templ.swizzle_a = PIPE_SWIZZLE_1; in vl_video_buffer_sampler_view_components() [all …]
|
D | vl_idct.c | 682 struct pipe_sampler_view sv_templ, *sv; in vl_idct_upload_matrix() local 729 memset(&sv_templ, 0, sizeof(sv_templ)); in vl_idct_upload_matrix() 730 u_sampler_view_default_template(&sv_templ, matrix, matrix->format); in vl_idct_upload_matrix() 731 sv = pipe->create_sampler_view(pipe, matrix, &sv_templ); in vl_idct_upload_matrix()
|
D | vl_compositor.c | 717 struct pipe_sampler_view *sv, sv_templ; in vl_compositor_convert_rgb_to_yuv() local 722 memset(&sv_templ, 0, sizeof(sv_templ)); in vl_compositor_convert_rgb_to_yuv() 723 u_sampler_view_default_template(&sv_templ, src_res, src_res->format); in vl_compositor_convert_rgb_to_yuv() 724 sv = s->pipe->create_sampler_view(s->pipe, src_res, &sv_templ); in vl_compositor_convert_rgb_to_yuv()
|
/external/mesa3d/src/gallium/drivers/nouveau/ |
D | nouveau_vp3_video.c | 85 struct pipe_sampler_view sv_templ; in nouveau_vp3_video_buffer_create() local 132 memset(&sv_templ, 0, sizeof(sv_templ)); in nouveau_vp3_video_buffer_create() 137 u_sampler_view_default_template(&sv_templ, res, res->format); in nouveau_vp3_video_buffer_create() 138 buffer->sampler_view_planes[i] = pipe->create_sampler_view(pipe, res, &sv_templ); in nouveau_vp3_video_buffer_create() 143 sv_templ.swizzle_r = sv_templ.swizzle_g = sv_templ.swizzle_b = PIPE_SWIZZLE_X + j; in nouveau_vp3_video_buffer_create() 144 sv_templ.swizzle_a = PIPE_SWIZZLE_1; in nouveau_vp3_video_buffer_create() 146 … buffer->sampler_view_components[component] = pipe->create_sampler_view(pipe, res, &sv_templ); in nouveau_vp3_video_buffer_create()
|
D | nouveau_video.c | 646 struct pipe_sampler_view sv_templ; in nouveau_video_buffer_sampler_view_planes() local 656 memset(&sv_templ, 0, sizeof(sv_templ)); in nouveau_video_buffer_sampler_view_planes() 657 u_sampler_view_default_template(&sv_templ, buf->resources[i], buf->resources[i]->format); in nouveau_video_buffer_sampler_view_planes() 660 …sv_templ.swizzle_r = sv_templ.swizzle_g = sv_templ.swizzle_b = sv_templ.swizzle_a = PIPE_SWIZZLE_X; in nouveau_video_buffer_sampler_view_planes() 662 … buf->sampler_view_planes[i] = pipe->create_sampler_view(pipe, buf->resources[i], &sv_templ); in nouveau_video_buffer_sampler_view_planes() 681 struct pipe_sampler_view sv_templ; in nouveau_video_buffer_sampler_view_components() local 696 memset(&sv_templ, 0, sizeof(sv_templ)); in nouveau_video_buffer_sampler_view_components() 697 … u_sampler_view_default_template(&sv_templ, buf->resources[i], buf->resources[i]->format); in nouveau_video_buffer_sampler_view_components() 698 sv_templ.swizzle_r = sv_templ.swizzle_g = sv_templ.swizzle_b = PIPE_SWIZZLE_X + j; in nouveau_video_buffer_sampler_view_components() 699 sv_templ.swizzle_a = PIPE_SWIZZLE_1; in nouveau_video_buffer_sampler_view_components() [all …]
|
/external/mesa3d/src/gallium/frontends/vdpau/ |
D | bitmap.c | 47 struct pipe_sampler_view sv_templ; in vlVdpBitmapSurfaceCreate() local 95 vlVdpDefaultSamplerViewTemplate(&sv_templ, res); in vlVdpBitmapSurfaceCreate() 96 vlsurface->sampler_view = pipe->create_sampler_view(pipe, res, &sv_templ); in vlVdpBitmapSurfaceCreate()
|
D | mixer.c | 248 struct pipe_sampler_view *sampler_view, sv_templ; in vlVdpVideoMixerRender() local 368 vlVdpDefaultSamplerViewTemplate(&sv_templ, res); in vlVdpVideoMixerRender() 369 sampler_view = pipe->create_sampler_view(pipe, res, &sv_templ); in vlVdpVideoMixerRender() 412 … struct pipe_sampler_view *sampler_view_temp = pipe->create_sampler_view(pipe, res, &sv_templ); in vlVdpVideoMixerRender() 433 … struct pipe_sampler_view *sampler_view_temp = pipe->create_sampler_view(pipe, res, &sv_templ); in vlVdpVideoMixerRender()
|
D | output.c | 54 struct pipe_sampler_view sv_templ; in vlVdpOutputSurfaceCreate() local 105 vlVdpDefaultSamplerViewTemplate(&sv_templ, res); in vlVdpOutputSurfaceCreate() 106 vlsurface->sampler_view = pipe->create_sampler_view(pipe, res, &sv_templ); in vlVdpOutputSurfaceCreate()
|
/external/mesa3d/src/gallium/drivers/nouveau/nv50/ |
D | nv84_video.c | 608 struct pipe_sampler_view sv_templ; in nv84_video_buffer_create() local 694 memset(&sv_templ, 0, sizeof(sv_templ)); in nv84_video_buffer_create() 699 u_sampler_view_default_template(&sv_templ, res, res->format); in nv84_video_buffer_create() 701 pipe->create_sampler_view(pipe, res, &sv_templ); in nv84_video_buffer_create() 706 sv_templ.swizzle_r = sv_templ.swizzle_g = sv_templ.swizzle_b = in nv84_video_buffer_create() 708 sv_templ.swizzle_a = PIPE_SWIZZLE_1; in nv84_video_buffer_create() 711 pipe->create_sampler_view(pipe, res, &sv_templ); in nv84_video_buffer_create()
|