summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/vdpau/vdpau_private.h
diff options
context:
space:
mode:
authorNayan Deshmukh <[email protected]>2016-06-08 15:06:25 +0530
committerChristian König <[email protected]>2016-06-09 14:23:24 +0200
commit2d140ae70ac6ad69f39d427d95bd622d5640a1b7 (patch)
treeb2c767979a0fd54f08b0ca2ba5f682046f4e5844 /src/gallium/state_trackers/vdpau/vdpau_private.h
parentf24eb5a17830b8137045a626dbd55e75ed5e708d (diff)
st/vdpau: implement luma keying
Signed-off-by: Nayan Deshmukh <[email protected]> Reviewed-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/vdpau/vdpau_private.h')
-rw-r--r--src/gallium/state_trackers/vdpau/vdpau_private.h6
1 files changed, 5 insertions, 1 deletions
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
@@ -363,6 +363,11 @@ typedef struct
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;
} deint;
@@ -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;