1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 08:17:35 +00:00

ICC: Prepare for eventually implementing conversions for LUT profiles

No behavior change yet (except for more detailed "not yet implemented"
messages), but it prepares for eventually implementing some of this.
This commit is contained in:
Nico Weber 2023-05-03 15:57:22 -04:00 committed by Andreas Kling
parent 4ad12f3cb2
commit 0079fad785
2 changed files with 46 additions and 16 deletions

View file

@ -298,6 +298,10 @@ private:
ErrorOr<void> check_required_tags();
ErrorOr<void> check_tag_types();
// FIXME: The color conversion stuff should be in some other class.
ErrorOr<FloatVector3> to_pcs_a_to_b(TagData const& tag_data, ReadonlyBytes) const;
ErrorOr<void> from_pcs_b_to_a(TagData const& tag_data, FloatVector3 const&, Bytes) const;
ProfileHeader m_header;
OrderedHashMap<TagSignature, NonnullRefPtr<TagData>> m_tag_table;
};