From 2d140ae70ac6ad69f39d427d95bd622d5640a1b7 Mon Sep 17 00:00:00 2001 From: Nayan Deshmukh Date: Wed, 8 Jun 2016 15:06:25 +0530 Subject: st/vdpau: implement luma keying MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Nayan Deshmukh Reviewed-by: Christian König --- src/gallium/state_trackers/vdpau/vdpau_private.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/gallium/state_trackers/vdpau/vdpau_private.h') diff --git a/src/gallium/state_trackers/vdpau/vdpau_private.h b/src/gallium/state_trackers/vdpau/vdpau_private.h index 3b6647e9975..8673c6ac932 100644 --- a/src/gallium/state_trackers/vdpau/vdpau_private.h +++ b/src/gallium/state_trackers/vdpau/vdpau_private.h @@ -362,6 +362,11 @@ typedef struct vlVdpDevice *device; struct vl_compositor_state cstate; + struct { + bool supported, enabled; + float luma_min, luma_max; + } luma_key; + struct { bool supported, enabled, spatial; struct vl_deint_filter *filter; @@ -382,7 +387,6 @@ typedef struct unsigned video_width, video_height; enum pipe_video_chroma_format chroma_format; unsigned max_layers, skip_chroma_deint; - float luma_key_min, luma_key_max; bool custom_csc; vl_csc_matrix csc; -- cgit v1.2.3