From 27b49941a4291f9f827edbcc8d1e57ad1982aace Mon Sep 17 00:00:00 2001 From: nick black Date: Sat, 28 Dec 2024 11:18:08 -0500 Subject: [PATCH] update sexblitter partitions to match fixed sexegcs --- src/lib/blit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/blit.c b/src/lib/blit.c index 5b21f9df5..26362dab0 100644 --- a/src/lib/blit.c +++ b/src/lib/blit.c @@ -531,7 +531,7 @@ sex_solver(const uint32_t rgbas[6], uint64_t* channels, unsigned blendcolors, 1, 2, 4, 8, 16, 32, // 6 ways to arrange 1 3, 5, 9, 17, 33, 6, 10, 18, 34, 12, 20, 36, 24, 40, 48, // 15 ways for 2 // 16 ways to arrange 3, *but* six of them are inverses, so 10 - 7, 11, 19, 35, 13, 21, 37, 25, 41, 14 // 10 + 15 + 6 + 1 == 32 + 7, 11, 19, 35, 13, 21, 37, 25, 41, 49 // 10 + 15 + 6 + 1 == 32 }; // we loop over the bitstrings, dividing the pixels into two sets, and then // taking a general lerp over each set. we then compute the sum of absolute