diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:43:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:43:14 +0000 |
commit | 8dd16259287f58f9273002717ec4d27e97127719 (patch) | |
tree | 3863e62a53829a84037444beab3abd4ed9dfc7d0 /third_party/jpeg-xl/lib/jxl/encode_test.cc | |
parent | Releasing progress-linux version 126.0.1-1~progress7.99u1. (diff) | |
download | firefox-8dd16259287f58f9273002717ec4d27e97127719.tar.xz firefox-8dd16259287f58f9273002717ec4d27e97127719.zip |
Merging upstream version 127.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'third_party/jpeg-xl/lib/jxl/encode_test.cc')
-rw-r--r-- | third_party/jpeg-xl/lib/jxl/encode_test.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/third_party/jpeg-xl/lib/jxl/encode_test.cc b/third_party/jpeg-xl/lib/jxl/encode_test.cc index 0aef5f8aff..7400b237de 100644 --- a/third_party/jpeg-xl/lib/jxl/encode_test.cc +++ b/third_party/jpeg-xl/lib/jxl/encode_test.cc @@ -233,7 +233,7 @@ void VerifyFrameEncoding(size_t xsize, size_t ysize, JxlEncoder* enc, static constexpr double kMaxButteraugli = #if JXL_HIGH_PRECISION - 1.84; + 3.2; #else 8.7; #endif @@ -461,7 +461,7 @@ TEST(EncodeTest, FrameSettingsTest) { JxlEncoderFrameSettings* frame_settings = JxlEncoderFrameSettingsCreate(enc.get(), nullptr); EXPECT_EQ(JXL_ENC_SUCCESS, JxlEncoderSetFrameDistance(frame_settings, 0.5)); - VerifyFrameEncoding(63, 129, enc.get(), frame_settings, 3130, false); + VerifyFrameEncoding(63, 129, enc.get(), frame_settings, 3200, false); EXPECT_EQ(0.5, enc->last_used_cparams.butteraugli_distance); } @@ -1888,7 +1888,7 @@ TEST_P(EncoderStreamingTest, OutputCallback) { p.color_includes_alpha(), p.is_lossless()); std::vector<uint8_t> compressed = std::vector<uint8_t>(64); - // without sreaming + // without streaming { JxlEncoderPtr enc = JxlEncoderMake(nullptr); ASSERT_NE(nullptr, enc.get()); |