Home
last modified time | relevance | path

Searched refs:max_l1 (Results 1 – 25 of 54) sorted by relevance

123

/dports/www/firefox/firefox-99.0/third_party/jpeg-xl/lib/jxl/
H A Dgauss_blur_test.cc133 const double max_l1 = sigma < 1.5 ? 5E-3 : 6E-4; in TestDirac2D() local
135 VerifyRelativeError(expected, out, max_l1, 1E-8, border); in TestDirac2D()
188 double max_l1, double max_rel) { in TestRandom() argument
207 VerifyRelativeError(expected, out, max_l1, max_rel, border); in TestRandom()
211 double max_l1 = 6E-3; in TestRandomForSizes() local
213 TestRandom(128, 1, min, max, sigma, max_l1, max_rel); in TestRandomForSizes()
214 TestRandom(1, 128, min, max, sigma, max_l1, max_rel); in TestRandomForSizes()
215 TestRandom(30, 201, min, max, sigma, max_l1 * 1.6, max_rel * 1.2); in TestRandomForSizes()
216 TestRandom(201, 30, min, max, sigma, max_l1 * 1.6, max_rel * 1.2); in TestRandomForSizes()
217 TestRandom(201, 201, min, max, sigma, max_l1 * 2.0, max_rel * 1.2); in TestRandomForSizes()
H A Dimage_test_utils.h95 double max_l1 = -1; variable
108 max_l1 = std::max(max_l1, l1);
115 max_l1 = std::max(max_l1, l1);
125 static_cast<uint64_t>(c), max_l1, threshold_l1);
129 static_cast<uint64_t>(c), max_l1, max_relative, threshold_l1,
H A Dgaborish_test.cc38 void TestRoundTrip(const Image3F& in, float max_l1) { in TestRoundTrip() argument
45 VerifyRelativeError(in, fwd, max_l1, 1E-4f); in TestRoundTrip()
/dports/graphics/libjxl/libjxl-0.6.1/lib/extras/
H A Dcodec_test.cc133 double max_l1, max_rel; in TestRoundTrip() local
138 max_l1 = 0.5; in TestRoundTrip()
141 max_l1 = 1E-3; in TestRoundTrip()
146 max_l1 = 0.5; in TestRoundTrip()
149 max_l1 = 3E-3; in TestRoundTrip()
155 max_l1 = 1E-7; in TestRoundTrip()
158 max_l1 = 1E-7; in TestRoundTrip()
164 VerifyRelativeError(ib1.color(), *ib2.color(), max_l1, max_rel); in TestRoundTrip()
212 double max_l1 = bits_per_sample <= 12 ? 1.3 : 2E-3; in DecodeRoundtrip() local
218 max_l1 *= 1.5; in DecodeRoundtrip()
[all …]
/dports/www/firefox/firefox-99.0/third_party/jpeg-xl/lib/extras/
H A Dcodec_test.cc132 double max_l1, max_rel; in TestRoundTrip() local
137 max_l1 = 0.5; in TestRoundTrip()
140 max_l1 = 1E-3; in TestRoundTrip()
145 max_l1 = 0.5; in TestRoundTrip()
148 max_l1 = 3E-3; in TestRoundTrip()
154 max_l1 = 1E-7; in TestRoundTrip()
157 max_l1 = 1E-7; in TestRoundTrip()
163 VerifyRelativeError(ib1.color(), *ib2.color(), max_l1, max_rel); in TestRoundTrip()
210 double max_l1 = bits_per_sample <= 12 ? 1.3 : 2E-3; in DecodeRoundtrip() local
216 max_l1 *= 1.5; in DecodeRoundtrip()
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/jpeg-xl/lib/extras/
H A Dcodec_test.cc130 double max_l1, max_rel; in TestRoundTrip() local
135 max_l1 = 0.5; in TestRoundTrip()
138 max_l1 = 1E-3; in TestRoundTrip()
143 max_l1 = 0.5; in TestRoundTrip()
146 max_l1 = 3E-3; in TestRoundTrip()
152 max_l1 = 1E-7; in TestRoundTrip()
155 max_l1 = 1E-7; in TestRoundTrip()
161 VerifyRelativeError(ib1.color(), *ib2.color(), max_l1, max_rel); in TestRoundTrip()
209 double max_l1 = bits_per_sample <= 12 ? 1.3 : 2E-3; in DecodeRoundtrip() local
215 max_l1 *= 1.5; in DecodeRoundtrip()
[all …]
/dports/www/firefox-esr/firefox-91.8.0/third_party/jpeg-xl/lib/extras/
H A Dcodec_test.cc130 double max_l1, max_rel; in TestRoundTrip() local
135 max_l1 = 0.5; in TestRoundTrip()
138 max_l1 = 1E-3; in TestRoundTrip()
143 max_l1 = 0.5; in TestRoundTrip()
146 max_l1 = 3E-3; in TestRoundTrip()
152 max_l1 = 1E-7; in TestRoundTrip()
155 max_l1 = 1E-7; in TestRoundTrip()
161 VerifyRelativeError(ib1.color(), *ib2.color(), max_l1, max_rel); in TestRoundTrip()
209 double max_l1 = bits_per_sample <= 12 ? 1.3 : 2E-3; in DecodeRoundtrip() local
215 max_l1 *= 1.5; in DecodeRoundtrip()
[all …]
/dports/graphics/libjxl/libjxl-0.6.1/lib/jxl/
H A Dgauss_blur_test.cc133 const double max_l1 = sigma < 1.5 ? 5E-3 : 6E-4; in TestDirac2D() local
135 VerifyRelativeError(expected, out, max_l1, 1E-8, border); in TestDirac2D()
188 double max_l1, double max_rel) { in TestRandom() argument
206 VerifyRelativeError(expected, out, max_l1, max_rel, border); in TestRandom()
210 double max_l1 = 5E-3; in TestRandomForSizes() local
212 TestRandom(128, 1, min, max, sigma, max_l1, max_rel); in TestRandomForSizes()
213 TestRandom(1, 128, min, max, sigma, max_l1, max_rel); in TestRandomForSizes()
214 TestRandom(30, 201, min, max, sigma, max_l1 * 1.6, max_rel * 1.2); in TestRandomForSizes()
215 TestRandom(201, 30, min, max, sigma, max_l1 * 1.6, max_rel * 1.2); in TestRandomForSizes()
216 TestRandom(201, 201, min, max, sigma, max_l1 * 2.0, max_rel * 1.2); in TestRandomForSizes()
H A Drobust_statistics_test.cc127 float max_l1, mad; in TestLine() local
128 EvaluateQuality(est, points, &max_l1, &mad); in TestLine()
130 est.intercept(), max_l1, mad); in TestLine()
132 EXPECT_LE(max_l1, max_l1_limit); in TestLine()
H A Dimage_test_utils.h94 double max_l1 = -1; variable
107 max_l1 = std::max(max_l1, l1);
114 max_l1 = std::max(max_l1, l1);
123 fprintf(stderr, "c=%zu: max +/- %E exceeds +/- %.2E\n", c, max_l1,
127 max_l1, max_relative, threshold_l1, threshold_relative);
H A Dgaborish_test.cc38 void TestRoundTrip(const Image3F& in, float max_l1) { in TestRoundTrip() argument
45 VerifyRelativeError(in, fwd, max_l1, 1E-4f); in TestRoundTrip()
H A Dcolor_management_test.cc151 double max_l1 = 7E-4; in VerifyPixelRoundTrip() local
154 double max_l1 = 5E-5; in VerifyPixelRoundTrip() local
159 VerifyRelativeError(in, *out, max_l1, max_rel); in VerifyPixelRoundTrip()
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/jpeg-xl/lib/jxl/
H A Dgauss_blur_test.cc133 const double max_l1 = sigma < 1.5 ? 5E-3 : 6E-4; in TestDirac2D() local
135 VerifyRelativeError(expected, out, max_l1, 1E-8, border); in TestDirac2D()
188 double max_l1, double max_rel) { in TestRandom() argument
206 VerifyRelativeError(expected, out, max_l1, max_rel, border); in TestRandom()
210 double max_l1 = 5E-3; in TestRandomForSizes() local
212 TestRandom(128, 1, min, max, sigma, max_l1, max_rel); in TestRandomForSizes()
213 TestRandom(1, 128, min, max, sigma, max_l1, max_rel); in TestRandomForSizes()
214 TestRandom(30, 201, min, max, sigma, max_l1 * 1.6, max_rel * 1.2); in TestRandomForSizes()
215 TestRandom(201, 30, min, max, sigma, max_l1 * 1.6, max_rel * 1.2); in TestRandomForSizes()
216 TestRandom(201, 201, min, max, sigma, max_l1 * 2.0, max_rel * 1.2); in TestRandomForSizes()
H A Drobust_statistics_test.cc127 float max_l1, mad; in TestLine() local
128 EvaluateQuality(est, points, &max_l1, &mad); in TestLine()
130 est.intercept(), max_l1, mad); in TestLine()
132 EXPECT_LE(max_l1, max_l1_limit); in TestLine()
H A Dimage_test_utils.h94 double max_l1 = -1; variable
107 max_l1 = std::max(max_l1, l1);
114 max_l1 = std::max(max_l1, l1);
123 fprintf(stderr, "c=%zu: max +/- %E exceeds +/- %.2E\n", c, max_l1,
127 max_l1, max_relative, threshold_l1, threshold_relative);
H A Dgaborish_test.cc38 void TestRoundTrip(const Image3F& in, float max_l1) { in TestRoundTrip() argument
45 VerifyRelativeError(in, fwd, max_l1, 1E-4f); in TestRoundTrip()
H A Dcolor_management_test.cc151 double max_l1 = 7E-4; in VerifyPixelRoundTrip() local
154 double max_l1 = 5E-5; in VerifyPixelRoundTrip() local
159 VerifyRelativeError(in, *out, max_l1, max_rel); in VerifyPixelRoundTrip()
/dports/www/firefox-esr/firefox-91.8.0/third_party/jpeg-xl/lib/jxl/
H A Dgauss_blur_test.cc133 const double max_l1 = sigma < 1.5 ? 5E-3 : 6E-4; in TestDirac2D() local
135 VerifyRelativeError(expected, out, max_l1, 1E-8, border); in TestDirac2D()
188 double max_l1, double max_rel) { in TestRandom() argument
206 VerifyRelativeError(expected, out, max_l1, max_rel, border); in TestRandom()
210 double max_l1 = 5E-3; in TestRandomForSizes() local
212 TestRandom(128, 1, min, max, sigma, max_l1, max_rel); in TestRandomForSizes()
213 TestRandom(1, 128, min, max, sigma, max_l1, max_rel); in TestRandomForSizes()
214 TestRandom(30, 201, min, max, sigma, max_l1 * 1.6, max_rel * 1.2); in TestRandomForSizes()
215 TestRandom(201, 30, min, max, sigma, max_l1 * 1.6, max_rel * 1.2); in TestRandomForSizes()
216 TestRandom(201, 201, min, max, sigma, max_l1 * 2.0, max_rel * 1.2); in TestRandomForSizes()
H A Drobust_statistics_test.cc127 float max_l1, mad; in TestLine() local
128 EvaluateQuality(est, points, &max_l1, &mad); in TestLine()
130 est.intercept(), max_l1, mad); in TestLine()
132 EXPECT_LE(max_l1, max_l1_limit); in TestLine()
H A Dimage_test_utils.h94 double max_l1 = -1; variable
107 max_l1 = std::max(max_l1, l1);
114 max_l1 = std::max(max_l1, l1);
123 fprintf(stderr, "c=%zu: max +/- %E exceeds +/- %.2E\n", c, max_l1,
127 max_l1, max_relative, threshold_l1, threshold_relative);
H A Dgaborish_test.cc38 void TestRoundTrip(const Image3F& in, float max_l1) { in TestRoundTrip() argument
45 VerifyRelativeError(in, fwd, max_l1, 1E-4f); in TestRoundTrip()
H A Dcolor_management_test.cc151 double max_l1 = 7E-4; in VerifyPixelRoundTrip() local
154 double max_l1 = 5E-5; in VerifyPixelRoundTrip() local
159 VerifyRelativeError(in, *out, max_l1, max_rel); in VerifyPixelRoundTrip()
/dports/graphics/libjxl/libjxl-0.6.1/lib/jxl/base/
H A Drobust_statistics.h339 float* HWY_RESTRICT max_l1, in EvaluateQuality() argument
345 *max_l1 = 0.0f; in EvaluateQuality()
348 *max_l1 = std::max(*max_l1, l1); in EvaluateQuality()
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/jpeg-xl/lib/jxl/base/
H A Drobust_statistics.h339 float* HWY_RESTRICT max_l1, in EvaluateQuality() argument
345 *max_l1 = 0.0f; in EvaluateQuality()
348 *max_l1 = std::max(*max_l1, l1); in EvaluateQuality()
/dports/www/firefox-esr/firefox-91.8.0/third_party/jpeg-xl/lib/jxl/base/
H A Drobust_statistics.h339 float* HWY_RESTRICT max_l1, in EvaluateQuality() argument
345 *max_l1 = 0.0f; in EvaluateQuality()
348 *max_l1 = std::max(*max_l1, l1); in EvaluateQuality()

123