ipa: libipa: interpolator: Drop key quantization

The quantization of the interpolation key was only used by the LSC
algorithm. There it lead to difficult to read code was removed. As there
is no remaining user of it, drop it from the Interpolator class.

While at it, cleanup the includes.

Signed-off-by: Stefan Klug <stefan.klug@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com>
This commit is contained in:
Stefan Klug
2026-01-28 17:00:27 +01:00
parent 3bfc71345f
commit ee1d93d8aa
3 changed files with 2 additions and 44 deletions
-7
View File
@@ -40,13 +40,6 @@ protected:
ASSERT_EQ(interpolator.getInterpolated(30), 300);
ASSERT_EQ(interpolator.getInterpolated(40), 300);
interpolator.setQuantization(10);
unsigned int q = 0;
ASSERT_EQ(interpolator.getInterpolated(25, &q), 300);
ASSERT_EQ(q, 30);
ASSERT_EQ(interpolator.getInterpolated(24, &q), 200);
ASSERT_EQ(q, 20);
return TestPass;
}
};