/external/mesa3d/src/gallium/auxiliary/vl/ |
D | vl_video_buffer.c | 298 struct pipe_sampler_view sv_templ; in vl_video_buffer_sampler_view_planes() local 308 memset(&sv_templ, 0, sizeof(sv_templ)); in vl_video_buffer_sampler_view_planes() 309 u_sampler_view_default_template(&sv_templ, buf->resources[i], buf->resources[i]->format); in vl_video_buffer_sampler_view_planes() 312 …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() 314 … buf->sampler_view_planes[i] = pipe->create_sampler_view(pipe, buf->resources[i], &sv_templ); in vl_video_buffer_sampler_view_planes() 333 struct pipe_sampler_view sv_templ; in vl_video_buffer_sampler_view_components() local 357 memset(&sv_templ, 0, sizeof(sv_templ)); in vl_video_buffer_sampler_view_components() 358 u_sampler_view_default_template(&sv_templ, res, sampler_format[plane_order[i]]); in vl_video_buffer_sampler_view_components() 359 sv_templ.swizzle_r = sv_templ.swizzle_g = sv_templ.swizzle_b = PIPE_SWIZZLE_X + j; in vl_video_buffer_sampler_view_components() 360 sv_templ.swizzle_a = PIPE_SWIZZLE_1; in vl_video_buffer_sampler_view_components() [all …]
|
D | vl_idct.c | 680 struct pipe_sampler_view sv_templ, *sv; in vl_idct_upload_matrix() local 727 memset(&sv_templ, 0, sizeof(sv_templ)); in vl_idct_upload_matrix() 728 u_sampler_view_default_template(&sv_templ, matrix, matrix->format); in vl_idct_upload_matrix() 729 sv = pipe->create_sampler_view(pipe, matrix, &sv_templ); in vl_idct_upload_matrix()
|
D | vl_compositor.c | 1323 struct pipe_sampler_view *sv, sv_templ; in vl_compositor_convert_rgb_to_yuv() local 1328 memset(&sv_templ, 0, sizeof(sv_templ)); in vl_compositor_convert_rgb_to_yuv() 1329 u_sampler_view_default_template(&sv_templ, src_res, src_res->format); in vl_compositor_convert_rgb_to_yuv() 1330 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 133 memset(&sv_templ, 0, sizeof(sv_templ)); in nouveau_vp3_video_buffer_create() 138 u_sampler_view_default_template(&sv_templ, res, res->format); in nouveau_vp3_video_buffer_create() 139 buffer->sampler_view_planes[i] = pipe->create_sampler_view(pipe, res, &sv_templ); in nouveau_vp3_video_buffer_create() 144 sv_templ.swizzle_r = sv_templ.swizzle_g = sv_templ.swizzle_b = PIPE_SWIZZLE_X + j; in nouveau_vp3_video_buffer_create() 145 sv_templ.swizzle_a = PIPE_SWIZZLE_1; in nouveau_vp3_video_buffer_create() 147 … 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/state_trackers/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 | 250 struct pipe_sampler_view *sampler_view, sv_templ; in vlVdpVideoMixerRender() local 367 vlVdpDefaultSamplerViewTemplate(&sv_templ, res); in vlVdpVideoMixerRender() 368 sampler_view = pipe->create_sampler_view(pipe, res, &sv_templ); in vlVdpVideoMixerRender() 411 … struct pipe_sampler_view *sampler_view_temp = pipe->create_sampler_view(pipe, res, &sv_templ); in vlVdpVideoMixerRender() 432 … 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 104 vlVdpDefaultSamplerViewTemplate(&sv_templ, res); in vlVdpOutputSurfaceCreate() 105 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 695 memset(&sv_templ, 0, sizeof(sv_templ)); in nv84_video_buffer_create() 700 u_sampler_view_default_template(&sv_templ, res, res->format); in nv84_video_buffer_create() 702 pipe->create_sampler_view(pipe, res, &sv_templ); in nv84_video_buffer_create() 707 sv_templ.swizzle_r = sv_templ.swizzle_g = sv_templ.swizzle_b = in nv84_video_buffer_create() 709 sv_templ.swizzle_a = PIPE_SWIZZLE_1; in nv84_video_buffer_create() 712 pipe->create_sampler_view(pipe, res, &sv_templ); in nv84_video_buffer_create()
|