[babl] babl: reduce number of pixels tested for paths to 1024, include some out of bounds pixels in start



commit 1ff4db5c13fbdc09c199e8df3c1a43c3ee1b66e4
Author: Øyvind Kolås <pippin gimp org>
Date:   Sun Jan 23 00:53:25 2022 +0100

    babl: reduce number of pixels tested for paths to 1024, include some out of bounds pixels in start

 babl/babl-ref-pixels.inc | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/babl/babl-ref-pixels.inc b/babl/babl-ref-pixels.inc
index b706da741..9479d8841 100644
--- a/babl/babl-ref-pixels.inc
+++ b/babl/babl-ref-pixels.inc
@@ -25,13 +25,13 @@ static const double babl_path_test_pixels[12288] = {
 0.7718567535150, 0.7514902249684, 0.9248924855724, 0.0955070830395,
 0.1025725035475, 0.4075078840402, 0.6785853950673, 0.9634626577438,
 0.9553271694832, 0.1067870907051, 0.3603431430461, 0.5144157584358,
-0.2521084366609, 0.1242231042703, 0.2321393006631, 0.7137176574737,
+-0.2521084366609, 0.1242231042703, 0.2321393006631, 0.7137176574737,
 0.7002526473721, 0.6853307782138, 0.3886525502376, 0.9672617432509,
 0.4827699570371, 0.5637687419372, 0.9882396813427, 0.5632248975165,
-0.6371306197891, 0.7984740379259, 0.1965256124719, 0.5864613962297,
+0.6371306197891, 0.7984740379259, 1.1965256124719, 0.5864613962297,
 0.8423190181341, 0.2221470797538, 0.1378166187265, 0.7468119350946,
 0.0261717611114, 0.6141757711834, 0.9736373051878, 0.0627091038333,
-0.1666384582252, 0.1287442646589, 0.0216836552237, 0.6522226997894,
+0.1666384582252, 0.1287442646589, -0.0216836552237, 0.6522226997894,
 0.0957444552778, 0.1219656272428, 0.2355313558297, 0.3820267982697,
 0.4349323992780, 0.3478528919387, 0.2461887315131, 0.4676706564928,
 0.1980661788015, 0.1351850461844, 0.0331836701525, 0.6348412817506,
@@ -39,7 +39,7 @@ static const double babl_path_test_pixels[12288] = {
 0.6422913356881, 0.2450153670483, 0.4793101737645, 0.8954794010592,
 0.6798358967900, 0.4846103533565, 0.4671624468021, 0.6171267924910,
 0.0930224513137, 0.7060076579014, 0.0987861240743, 0.4407997515243,
-0.5024965775677, 0.2596609095389, 0.8347519230259, 0.1204697792979,
+0.5024965775677, 0.2596609095389, 2.8347519230259, 0.1204697792979,
 0.5379539348827, 0.5982410328455, 0.3816265367817, 0.0702832783900,
 0.2626565495798, 0.9728863341608, 0.9460939252498, 0.6278152682948,
 0.0007009459663, 0.4607227283813, 0.1080713798795, 0.9792775954023,
@@ -3096,7 +3096,7 @@ static const double babl_path_test_pixels[12288] = {
 0.5395579815561, 0.2107098112864, 0.5031076616156, 0.4885859840962,
 };
 
-static const int babl_num_conversion_test_pixels = 128;
+static const int babl_num_conversion_test_pixels = 32;
 
 static const double *babl_conversion_test_pixels = babl_path_test_pixels;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]