diff options
author | Leo Liu <[email protected]> | 2017-08-28 20:58:48 -0400 |
---|---|---|
committer | Leo Liu <[email protected]> | 2017-09-07 13:32:36 -0400 |
commit | a6da7e6c3a405633b8e31b1185c3e7447b06ca89 (patch) | |
tree | 6bcc6f6ed7865e968ffa063db82c55c9e7c1261c /src/gallium/auxiliary/vl/vl_compositor.h | |
parent | 4bd2bdbb3c1df08c185b7461474ce9b323fc1b7d (diff) |
vl/compositor: make a helper function for YUV deinterlacing
The similar function is in OMX, and only used by OMX. Now have it
moved to vl/compositor for other state tracker to use later.
Signed-off-by: Leo Liu <[email protected]>
Reviewed-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/vl/vl_compositor.h')
-rw-r--r-- | src/gallium/auxiliary/vl/vl_compositor.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/vl/vl_compositor.h b/src/gallium/auxiliary/vl/vl_compositor.h index 535abb75cd1..88a54efdb82 100644 --- a/src/gallium/auxiliary/vl/vl_compositor.h +++ b/src/gallium/auxiliary/vl/vl_compositor.h @@ -276,4 +276,13 @@ 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 */ |