LibGfx+icc: Prefix AK::FixedPoint with AK Namespace

This commit is contained in:
Andrew Kaster 2024-07-16 23:48:32 -06:00 committed by Sam Atkins
parent bf600c8e1d
commit 1529f5469c
Notes: sideshowbarker 2024-07-18 23:46:28 +09:00
2 changed files with 3 additions and 3 deletions

View file

@ -62,8 +62,8 @@ inline FloatVector3 lerp_nd(Function<unsigned(size_t)> size, Function<FloatVecto
return sample_output;
}
using S15Fixed16 = FixedPoint<16, i32>;
using U16Fixed16 = FixedPoint<16, u32>;
using S15Fixed16 = AK::FixedPoint<16, i32>;
using U16Fixed16 = AK::FixedPoint<16, u32>;
struct XYZ {
float X { 0 };

View file

@ -40,7 +40,7 @@ static void out_curve(Gfx::ICC::CurveTagData const& curve, int indent_amount)
if (curve.values().is_empty()) {
outln("{: >{}}identity curve", "", indent_amount);
} else if (curve.values().size() == 1) {
outln("{: >{}}gamma: {}", "", indent_amount, FixedPoint<8, u16>::create_raw(curve.values()[0]));
outln("{: >{}}gamma: {}", "", indent_amount, AK::FixedPoint<8, u16>::create_raw(curve.values()[0]));
} else {
// FIXME: Maybe print the actual points if -v is passed?
outln("{: >{}}curve with {} points", "", indent_amount, curve.values().size());