mirror of
https://gitlab.com/suyu-emu/suyu.git
synced 2024-03-15 23:15:44 +00:00
Merge pull request #2722 from wwylele/cam-ipc-helper
CAM: use IPCHelper
This commit is contained in:
commit
4857eb441b
File diff suppressed because it is too large
Load diff
|
@ -184,9 +184,10 @@ struct PackageParameterWithoutContext {
|
||||||
s16 auto_white_balance_window_y;
|
s16 auto_white_balance_window_y;
|
||||||
s16 auto_white_balance_window_width;
|
s16 auto_white_balance_window_width;
|
||||||
s16 auto_white_balance_window_height;
|
s16 auto_white_balance_window_height;
|
||||||
|
INSERT_PADDING_WORDS(4);
|
||||||
};
|
};
|
||||||
|
|
||||||
static_assert(sizeof(PackageParameterWithoutContext) == 28,
|
static_assert(sizeof(PackageParameterWithoutContext) == 44,
|
||||||
"PackageParameterCameraWithoutContext structure size is wrong");
|
"PackageParameterCameraWithoutContext structure size is wrong");
|
||||||
|
|
||||||
struct PackageParameterWithContext {
|
struct PackageParameterWithContext {
|
||||||
|
@ -196,11 +197,12 @@ struct PackageParameterWithContext {
|
||||||
Effect effect;
|
Effect effect;
|
||||||
Size size;
|
Size size;
|
||||||
INSERT_PADDING_BYTES(3);
|
INSERT_PADDING_BYTES(3);
|
||||||
|
INSERT_PADDING_WORDS(3);
|
||||||
|
|
||||||
Resolution GetResolution();
|
Resolution GetResolution() const;
|
||||||
};
|
};
|
||||||
|
|
||||||
static_assert(sizeof(PackageParameterWithContext) == 8,
|
static_assert(sizeof(PackageParameterWithContext) == 20,
|
||||||
"PackageParameterWithContext structure size is wrong");
|
"PackageParameterWithContext structure size is wrong");
|
||||||
|
|
||||||
struct PackageParameterWithContextDetail {
|
struct PackageParameterWithContextDetail {
|
||||||
|
@ -209,13 +211,14 @@ struct PackageParameterWithContextDetail {
|
||||||
Flip flip;
|
Flip flip;
|
||||||
Effect effect;
|
Effect effect;
|
||||||
Resolution resolution;
|
Resolution resolution;
|
||||||
|
INSERT_PADDING_WORDS(3);
|
||||||
|
|
||||||
Resolution GetResolution() {
|
Resolution GetResolution() const {
|
||||||
return resolution;
|
return resolution;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
static_assert(sizeof(PackageParameterWithContextDetail) == 16,
|
static_assert(sizeof(PackageParameterWithContextDetail) == 28,
|
||||||
"PackageParameterWithContextDetail structure size is wrong");
|
"PackageParameterWithContextDetail structure size is wrong");
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue