Skip to content
Snippets Groups Projects
Commit 61992170 authored by bunnei's avatar bunnei
Browse files

Merge pull request #1447 from JamePeng/update-y2r-service

Update the code of service y2r!
parents dc421758 854912ca
No related branches found
No related tags found
No related merge requests found
This diff is collapsed.
...@@ -97,6 +97,7 @@ struct ConversionConfiguration { ...@@ -97,6 +97,7 @@ struct ConversionConfiguration {
u16 input_line_width; u16 input_line_width;
u16 input_lines; u16 input_lines;
CoefficientSet coefficients; CoefficientSet coefficients;
u8 padding;
u16 alpha; u16 alpha;
/// Input parameters for the Y (luma) plane /// Input parameters for the Y (luma) plane
...@@ -109,6 +110,25 @@ struct ConversionConfiguration { ...@@ -109,6 +110,25 @@ struct ConversionConfiguration {
ResultCode SetStandardCoefficient(StandardCoefficient standard_coefficient); 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 { class Interface : public Service::Interface {
public: public:
Interface(); Interface();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment