summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/y2r_u.h
diff options
context:
space:
mode:
authorJamePeng <jame_peng@sina.com>2016-04-20 12:38:01 +0200
committerJamePeng <jame_peng@sina.com>2016-04-20 12:38:01 +0200
commit854912ca5d166cab47f7a2a41f563135889e3c1a (patch)
tree3ad857a84f5a13a584230885a8bf23ae89dd68c8 /src/core/hle/service/y2r_u.h
parentMerge pull request #1672 from wwylele/win-driver-fix (diff)
downloadyuzu-854912ca5d166cab47f7a2a41f563135889e3c1a.tar
yuzu-854912ca5d166cab47f7a2a41f563135889e3c1a.tar.gz
yuzu-854912ca5d166cab47f7a2a41f563135889e3c1a.tar.bz2
yuzu-854912ca5d166cab47f7a2a41f563135889e3c1a.tar.lz
yuzu-854912ca5d166cab47f7a2a41f563135889e3c1a.tar.xz
yuzu-854912ca5d166cab47f7a2a41f563135889e3c1a.tar.zst
yuzu-854912ca5d166cab47f7a2a41f563135889e3c1a.zip
Diffstat (limited to 'src/core/hle/service/y2r_u.h')
-rw-r--r--src/core/hle/service/y2r_u.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/core/hle/service/y2r_u.h b/src/core/hle/service/y2r_u.h
index 3965a5545..95fa2fdb7 100644
--- a/src/core/hle/service/y2r_u.h
+++ b/src/core/hle/service/y2r_u.h
@@ -97,6 +97,7 @@ struct ConversionConfiguration {
u16 input_line_width;
u16 input_lines;
CoefficientSet coefficients;
+ u8 padding;
u16 alpha;
/// Input parameters for the Y (luma) plane
@@ -109,6 +110,25 @@ struct ConversionConfiguration {
ResultCode SetStandardCoefficient(StandardCoefficient standard_coefficient);
};
+struct DitheringWeightParams {
+ u16 w0_xEven_yEven;
+ u16 w0_xOdd_yEven;
+ u16 w0_xEven_yOdd;
+ u16 w0_xOdd_yOdd;
+ u16 w1_xEven_yEven;
+ u16 w1_xOdd_yEven;
+ u16 w1_xEven_yOdd;
+ u16 w1_xOdd_yOdd;
+ u16 w2_xEven_yEven;
+ u16 w2_xOdd_yEven;
+ u16 w2_xEven_yOdd;
+ u16 w2_xOdd_yOdd;
+ u16 w3_xEven_yEven;
+ u16 w3_xOdd_yEven;
+ u16 w3_xEven_yOdd;
+ u16 w3_xOdd_yOdd;
+};
+
class Interface : public Service::Interface {
public:
Interface();