diff options
author | bunnei <bunneidev@gmail.com> | 2016-04-27 01:29:57 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2016-04-27 01:29:57 +0200 |
commit | 61992170ac0843da7683b302aa5d46e5ac0f7f1d (patch) | |
tree | bce27d93f99dba1099c3bd932de56de35a94e81b /src/core/hle/service/y2r_u.h | |
parent | Merge pull request #1720 from linkmauve/fix-qt (diff) | |
parent | Update the code of service y2r! (diff) | |
download | yuzu-61992170ac0843da7683b302aa5d46e5ac0f7f1d.tar yuzu-61992170ac0843da7683b302aa5d46e5ac0f7f1d.tar.gz yuzu-61992170ac0843da7683b302aa5d46e5ac0f7f1d.tar.bz2 yuzu-61992170ac0843da7683b302aa5d46e5ac0f7f1d.tar.lz yuzu-61992170ac0843da7683b302aa5d46e5ac0f7f1d.tar.xz yuzu-61992170ac0843da7683b302aa5d46e5ac0f7f1d.tar.zst yuzu-61992170ac0843da7683b302aa5d46e5ac0f7f1d.zip |
Diffstat (limited to 'src/core/hle/service/y2r_u.h')
-rw-r--r-- | src/core/hle/service/y2r_u.h | 20 |
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(); |