babl: narrow conditions for doing LUT conversion
authorØyvind Kolås <pippin@gimp.org>
Tue, 14 Feb 2023 22:13:33 +0000 (23:13 +0100)
committerØyvind Kolås <pippin@gimp.org>
Wed, 15 Feb 2023 15:49:55 +0000 (16:49 +0100)
commitfc64a08868c1df9255caf2c85a8239971924ab5e
tree738829dda24aa6992a527edb1d8b525bef32767a
parent7b9764a7d4fcc8c4caeab48c2ce5d3f78a915991
babl: narrow conditions for doing LUT conversion

We can do LUTs where the LUT depends only on the 24first bit - for some
formats this ends up including half of the alpha, which is OK when
3->4bpp conversions copy the last 8bits.
babl/babl-fish-path.c