mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-20 17:37:49 +00:00
Update the code of service y2r!
This commit is contained in:
parent
af0f444b5a
commit
a69007f498
2 changed files with 357 additions and 32 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue