summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/vl
diff options
context:
space:
mode:
authorLeo Liu <[email protected]>2017-09-19 11:08:54 -0400
committerLeo Liu <[email protected]>2017-09-25 09:42:13 -0400
commit9484852cdb8d73c91830f7361ddcd19b638ba08e (patch)
tree86a122cb14579efc1b217072cd48ff98735c012d /src/gallium/auxiliary/vl
parent3ad8687295449154a91464b7990963fd88cf3cd1 (diff)
vl/compositor: remove vl_compositor_yuv_deint() function
No longer used. Acked-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/vl')
-rw-r--r--src/gallium/auxiliary/vl/vl_compositor.c31
-rw-r--r--src/gallium/auxiliary/vl/vl_compositor.h9
2 files changed, 0 insertions, 40 deletions
diff --git a/src/gallium/auxiliary/vl/vl_compositor.c b/src/gallium/auxiliary/vl/vl_compositor.c
index 37a784742db..f758f0822bc 100644
--- a/src/gallium/auxiliary/vl/vl_compositor.c
+++ b/src/gallium/auxiliary/vl/vl_compositor.c
@@ -1254,37 +1254,6 @@ vl_compositor_render(struct vl_compositor_state *s,
draw_layers(c, s, dirty_area);
}
-void
-vl_compositor_yuv_deint(struct vl_compositor_state *s,
- struct vl_compositor *c,
- struct pipe_video_buffer *src,
- struct pipe_video_buffer *dst)
-{
- struct pipe_surface **dst_surfaces;
- struct u_rect dst_rect;
-
- dst_surfaces = dst->get_surfaces(dst);
- vl_compositor_clear_layers(s);
-
- dst_rect.x0 = 0;
- dst_rect.x1 = src->width;
- dst_rect.y0 = 0;
- dst_rect.y1 = src->height;
-
- set_yuv_layer(s, c, 0, src, NULL, NULL, true);
- vl_compositor_set_layer_dst_area(s, 0, &dst_rect);
- vl_compositor_render(s, c, dst_surfaces[0], NULL, false);
-
- dst_rect.x1 /= 2;
- dst_rect.y1 /= 2;
-
- set_yuv_layer(s, c, 0, src, NULL, NULL, false);
- vl_compositor_set_layer_dst_area(s, 0, &dst_rect);
- vl_compositor_render(s, c, dst_surfaces[1], NULL, false);
-
- s->pipe->flush(s->pipe, NULL, 0);
-}
-
bool
vl_compositor_init(struct vl_compositor *c, struct pipe_context *pipe)
{
diff --git a/src/gallium/auxiliary/vl/vl_compositor.h b/src/gallium/auxiliary/vl/vl_compositor.h
index 2fb5a3c53eb..1930f93e290 100644
--- a/src/gallium/auxiliary/vl/vl_compositor.h
+++ b/src/gallium/auxiliary/vl/vl_compositor.h
@@ -282,13 +282,4 @@ vl_compositor_cleanup(struct vl_compositor *compositor);
void
vl_compositor_cleanup_state(struct vl_compositor_state *state);
-/**
- * deinterlace yuv buffer
- */
-void
-vl_compositor_yuv_deint(struct vl_compositor_state *state,
- struct vl_compositor *compositor,
- struct pipe_video_buffer *src,
- struct pipe_video_buffer *dst);
-
#endif /* vl_compositor_h */