mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-24 03:32:40 +03:00
LibGfx/JBIG2: Initialize POD members of refinement region input struct
I missed putting this in #23696 while juggling local branches. No behavior change.
This commit is contained in:
parent
1036e104ef
commit
59e6a10f30
Notes:
sideshowbarker
2024-07-17 04:03:27 +09:00
Author: https://github.com/nico Commit: https://github.com/SerenityOS/serenity/commit/59e6a10f30 Pull-request: https://github.com/SerenityOS/serenity/pull/23711
@ -1035,13 +1035,13 @@ static ErrorOr<NonnullOwnPtr<BitBuffer>> generic_region_decoding_procedure(Gener
|
|||||||
// 6.3.2 Input parameters
|
// 6.3.2 Input parameters
|
||||||
// Table 6 – Parameters for the generic refinement region decoding procedure
|
// Table 6 – Parameters for the generic refinement region decoding procedure
|
||||||
struct GenericRefinementRegionDecodingInputParameters {
|
struct GenericRefinementRegionDecodingInputParameters {
|
||||||
u32 region_width; // "GRW" in spec.
|
u32 region_width { 0 }; // "GRW" in spec.
|
||||||
u32 region_height; // "GRH" in spec.
|
u32 region_height { 0 }; // "GRH" in spec.
|
||||||
u8 gr_template; // "GRTEMPLATE" in spec.
|
u8 gr_template { 0 }; // "GRTEMPLATE" in spec.
|
||||||
BitBuffer const* reference_bitmap; // "GRREFERENCE" in spec.
|
BitBuffer const* reference_bitmap { nullptr }; // "GRREFERENCE" in spec.
|
||||||
i32 reference_x_offset; // "GRREFERENCEDX" in spec.
|
i32 reference_x_offset { 0 }; // "GRREFERENCEDX" in spec.
|
||||||
i32 reference_y_offset; // "GRREFERENCEDY" in spec.
|
i32 reference_y_offset { 0 }; // "GRREFERENCEDY" in spec.
|
||||||
bool is_typical_prediction_used; // "TPGDON" in spec.
|
bool is_typical_prediction_used { false }; // "TPGDON" in spec.
|
||||||
Array<AdaptiveTemplatePixel, 2> adaptive_template_pixels; // "GRATX" / "GRATY" in spec.
|
Array<AdaptiveTemplatePixel, 2> adaptive_template_pixels; // "GRATX" / "GRATY" in spec.
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user