Closed Bug 1815088 Opened 2 years ago Closed 2 years ago

Update libjxl to new version be70f17fa7fe55b8826642d83805cf441426d5d0 from 2023-02-03 21:44:42

Categories

(Core :: Graphics: ImageLib, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
111 Branch
Tracking Status
firefox111 --- fixed

People

(Reporter: update-bot, Assigned: saschanaz)

Details

(Whiteboard: [3pl-filed][task_id: GRPmJzU1Sl290TJrVZ9CRA])

Attachments

(1 file, 1 obsolete file)

This update covers 60 commits:


be70f17fa7fe55b8826642d83805cf441426d5d0 by Zoltan Szabadka

https://github.com/libjxl/libjxl/commit/be70f17fa7fe55b8826642d83805cf441426d5d0
Authored: 2023-02-03 09:54:31 +0100
Committed: 2023-02-03 22:44:42 +0100

jpegli encoder: implement jpeg_write_marker API function

drive-by: fix ASAN failure

Files Modified:

  • lib/jpegli/encode.cc
  • lib/jpegli/encode.h
  • lib/jpegli/encode_api_test.cc
  • lib/jpegli/encode_internal.h
  • lib/jpegli/libjpeg_wrapper.cc

e3140665b639bfd1d188f497fb4fca5643d9dc80 by Mathieu Malaterre

https://github.com/libjxl/libjxl/commit/e3140665b639bfd1d188f497fb4fca5643d9dc80
Authored: 2023-02-02 14:19:58 +0100
Committed: 2023-02-03 13:17:18 +0100

Allow smooth transition to namespace hwy::

Files Modified:

  • lib/jpegli.cmake
  • lib/jxl.cmake
  • lib/jxl_extras.cmake

30fbe9f8daea7ea7b0a527478cd1ff6814393b03 by Moritz Firsching

https://github.com/libjxl/libjxl/commit/30fbe9f8daea7ea7b0a527478cd1ff6814393b03
Authored: 2023-02-03 13:14:45 +0100
Committed: 2023-02-03 13:14:45 +0100

slight changes to bump_version script (#2135)

Files Modified:

  • ci.sh
  • doc/release.md

c831e48e3d3143edd97aa4fc7b8554a0ba17aeda by Zoltan Szabadka

https://github.com/libjxl/libjxl/commit/c831e48e3d3143edd97aa4fc7b8554a0ba17aeda
Authored: 2023-02-02 18:38:54 +0100
Committed: 2023-02-03 11:33:14 +0100

jpegli encoder: support restart_in_rows cinfo param

Files Modified:

  • lib/jpegli/encode.cc
  • lib/jpegli/encode_api_test.cc
  • lib/jpegli/entropy_coding.cc
  • lib/jpegli/entropy_coding.h

ba257403c21e30b19dfaccbc98f3704e95d086b0 by Zoltan Szabadka

https://github.com/libjxl/libjxl/commit/ba257403c21e30b19dfaccbc98f3704e95d086b0
Authored: 2023-02-02 17:21:10 +0100
Committed: 2023-02-03 09:24:11 +0100

Support adding JFIF header if requested by cinfo.

Files Modified:

  • lib/jpegli/bitstream.cc
  • lib/jpegli/bitstream.h
  • lib/jpegli/encode.cc
  • lib/jpegli/encode_api_test.cc

91b752c374392ea88587028d9e306a351bd867dd by Moritz Firsching

https://github.com/libjxl/libjxl/commit/91b752c374392ea88587028d9e306a351bd867dd
Authored: 2023-02-03 08:41:26 +0100
Committed: 2023-02-03 08:41:26 +0100

fix one more test for #2122 (#2137)

Files Modified:

  • lib/jxl/jxl_test.cc

a43393d4c8c00b0624334c3dd5ca976520271dd1 by Zoltan Szabadka

https://github.com/libjxl/libjxl/commit/a43393d4c8c00b0624334c3dd5ca976520271dd1
Authored: 2023-02-02 16:31:02 +0100
Committed: 2023-02-03 08:08:06 +0100

Support CMYK images in jpegli encoder.

Files Modified:

  • lib/jpegli/bitstream.cc
  • lib/jpegli/bitstream.h
  • lib/jpegli/color_transform.cc
  • lib/jpegli/color_transform.h
  • lib/jpegli/encode.cc
  • lib/jpegli/encode_api_test.cc

4112b8a9dfffef07cd167ddd02da777f3209766a by Zoltan Szabadka

https://github.com/libjxl/libjxl/commit/4112b8a9dfffef07cd167ddd02da777f3209766a
Authored: 2023-02-02 13:40:16 +0100
Committed: 2023-02-02 18:38:53 +0100

jpegli encoder: add scan script validation in start_compress

Files Modified:

  • lib/jpegli/bitstream.cc
  • lib/jpegli/encode.cc
  • lib/jpegli/encode_api_test.cc
  • lib/jpegli/encode_internal.h

65597656cffa67f22e82d5a3ae083d82d424972d by Evgenii Kliuchnikov

https://github.com/libjxl/libjxl/commit/65597656cffa67f22e82d5a3ae083d82d424972d
Authored: 2023-02-02 15:40:14 +0000
Committed: 2023-02-02 18:10:23 +0100

Remove some hacks in build file generator

Overall this change is a rename of few files.

linalg module has been split in 2 parts (common and enc) and greatly simplified.

Files Added:

  • lib/jxl/enc_linalg.cc
  • lib/jxl/enc_linalg.h
  • lib/jxl/enc_linalg_test.cc
  • lib/jxl/matrix_ops.h

Files Deleted:

  • lib/jxl/linalg.cc
  • lib/jxl/linalg.h
  • lib/jxl/linalg_test.cc

Files Modified:

  • doc/xl_overview.md
  • lib/jpegli/entropy_coding.cc
  • lib/jxl.cmake
  • lib/jxl/color_encoding_internal.cc
  • lib/jxl/color_management.cc
  • lib/jxl/dec_xyb.cc
  • lib/jxl/decode_test.cc
  • lib/jxl/enc_cache.h
  • lib/jxl/enc_color_management.cc
  • lib/jxl/enc_detect_dots.cc
  • lib/jxl/enc_frame.cc
  • lib/jxl/enc_heuristics.cc
  • lib/jxl/enc_huffman.cc
  • lib/jxl/enc_modular.cc
  • lib/jxl/enc_noise.cc
  • lib/jxl/gauss_blur.cc
  • lib/jxl/image_ops.h
  • lib/jxl/opsin_image_test.cc
  • lib/jxl/opsin_params.cc
  • lib/jxl/quantizer.h
  • lib/jxl_tests.cmake
  • lib/lib.gni
  • tools/args.h
  • tools/build_cleaner.py

Files Changed:

  • R098 lib/jxl/gaborish.cc
  • R100 lib/jxl/gaborish.h
  • R098 lib/jxl/gaborish_test.cc
  • R099 lib/jxl/huffman_tree.cc
  • R100 lib/jxl/huffman_tree.h
  • R099 lib/jxl/optimize.cc
  • R100 lib/jxl/optimize.h
  • R098 lib/jxl/optimize_test.cc
  • R098 lib/jxl/progressive_split.cc
  • R100 lib/jxl/progressive_split.h

f9e32a6cebc5df382f0b6cc895da7ec556b5d6e5 by Jyrki Alakuijala

https://github.com/libjxl/libjxl/commit/f9e32a6cebc5df382f0b6cc895da7ec556b5d6e5
Authored: 2023-02-02 14:16:24 +0100
Committed: 2023-02-02 14:16:24 +0100

more dc values to fix DZgas' latest findings (#2122)

  • more dc values to fix DZgas' latest findings

This adds dc quality everywhere, but more on high quality images

It looks like we could detect if the image is 'grainy' by character and
quantize DC more for images that have no polished slow gradients. That
could creates 1-5 % more savings. Before that, let's quantize less, so
that great worst case performance is quaranteed.

Before:

Encoding      kPixels    Bytes          BPP  E MP/s  D MP/s     Max norm  SSIMULACRA2        pnorm   PSNR   QABPP  SmallB  DCT4x8     AFV  DCT8x8    8x16    8x32      16   16x32      32   32x64      64       BPP*pnorm   Bugs
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
jxl:d0.1        18611 15034555    6.4623612   1.545   9.398   1.13074732  99.91638570   0.12035060  53.95   6.473 40.1124 21.1492  0.6111 30.3002  5.5136  0.0000  1.7964  0.8638  0.2366  0.1100  0.0880  0.777749049704      0
jxl:d0.5        18611  5667198    2.4359538   1.768  14.203   1.47652292  97.35129858   0.37961090  45.05   2.467 14.7423 24.8207  0.7166 13.3616 27.3608  0.0000 18.1287  1.0729  0.3796  0.1100  0.0880  0.924714597626      0
jxl:d0.8        18611  4219542    1.8137021   1.961  15.133   1.68988335  91.91395912   0.52161174  42.52   2.123 11.3641 21.7156  0.8067 10.0447 25.4028  0.0000 28.2287  1.4855  1.4800  0.1430  0.1100  0.946048335100      0
jxl:d1          18611  3651896    1.5697087   1.965  15.644   1.82198429  89.10936372   0.60536924  41.32   2.205 10.1173 20.1805  0.8273  8.7428 22.2874  0.0000 32.2272  2.7069  3.4937  0.1100  0.0880  0.950253331178      0
jxl:d1.1        18611  3435631    1.4767506   2.041  16.185   1.94524312  87.95626414   0.64484687  40.82   2.182  9.5702 19.5227  0.8590  8.2717 20.8796  0.0000 32.7678  3.7220  4.9902  0.1100  0.0880  0.952278026402      0
jxl:d1.2        18611  3244223    1.3944770   1.989  16.377   2.19444942  86.85215495   0.68297093  40.36   2.214  9.0953 18.9065  0.8958  7.8336 19.5468  0.0000 32.7458  5.0232  6.5252  0.1210  0.0880  0.952387248706      0
jxl:d1.3        18611  3107328    1.3356349   2.068  16.037   2.38388181  85.96970433   0.71408114  40.10   2.230  8.6775 18.4581  0.9013  7.4709 18.6961  0.0000 32.0003  6.4344  7.9337  0.1210  0.0880  0.953751679773      0
jxl:d1.4        18611  2955627    1.2704286   1.967  16.115   2.25182581  84.89480458   0.75086771  39.70   2.200  8.3157 17.9368  0.9147  7.1748 17.8591  0.0000 31.1695  7.8044  9.3422  0.1541  0.1100  0.953923843434      0
jxl:d1.5        18611  2818766    1.2116012   2.107  15.090   2.67980075  83.96948992   0.78560941  39.34   2.237  8.0049 17.4537  0.9233  6.8564 17.3123  0.0000 30.3195  9.2211 10.4811  0.1210  0.0880  0.951845266696      0
jxl:d1.6        18611  2700901    1.1609388   2.165  15.844   2.78544474  83.10987404   0.82073692  38.99   2.278  7.7153 17.0613  0.9477  6.6604 16.8853  0.0000 29.3497 10.4536 11.4439  0.1541  0.1100  0.952825319994      0
jxl:d1.7        18611  2592975    1.1145485   2.030  14.904   2.74720287  82.26860975   0.85353781  38.67   2.264  7.4365 16.6862  0.9663  6.5042 16.4582  0.0000 28.3952 11.4274 12.6983  0.1210  0.0880  0.951309310544      0
jxl:d1.8        18611  2494100    1.0720487   2.101  15.892   2.74270988  81.49217866   0.88601788  38.38   2.253  7.1703 16.3571  0.9989  6.3199 16.1528  0.0000 27.5217 12.6048 13.4246  0.1210  0.1100  0.949854321787      0
jxl:d1.8        18611  2494100    1.0720487   2.080  15.104   2.74270988  81.49217866   0.88601788  38.38   2.253  7.1703 16.3571  0.9989  6.3199 16.1528  0.0000 27.5217 12.6048 13.4246  0.1210  0.1100  0.949854321787      0
jxl:d1.9        18611  2403546    1.0331255   2.058  14.876   2.88072228  80.69834542   0.91893410  38.09   2.258  6.9141 16.0479  1.0203  6.1707 15.8667  0.0000 26.7515 13.5456 14.2554  0.1210  0.0880  0.949374273785      0
jxl:d2.0        18611  2319631    0.9970560   2.190  14.938   3.09830141  79.89597055   0.95142333  37.81   2.225  6.6999 15.7550  1.0278  5.9888 15.6625  0.0000 26.0335 14.4562 14.9486  0.1210  0.0880  0.948622356177      0
jxl:d2.1        18611  2242418    0.9638672   2.208  14.885   3.48666477  79.15864955   0.98413480  37.56   2.258  6.4664 15.3375  1.0491  5.8619 15.4864  0.0000 25.3980 15.2429 15.6748  0.1541  0.1100  0.948575301084      0
jxl:d2.2        18611  2170248    0.9328461   2.174  16.012   3.34030008  78.42883971   1.01663853  37.32   2.264  6.2529 15.0342  1.0742  5.7436 15.3633  0.0000 24.7694 16.0490 16.2855  0.1210  0.0880  0.948367323661      0
jxl:d2.3        18611  2103849    0.9043056   2.111  15.141   3.56881571  77.70117273   1.04697642  37.09   2.301  6.1600 14.7096  1.0684  5.6305 15.1020  0.0000 24.1917 16.6542 17.0558  0.1210  0.0880  0.946786636075      0
jxl:d2.4        18611  2039711    0.8767369   2.178  16.466   3.74708223  76.93152118   1.07916652  36.87   2.309  5.9768 14.4073  1.0835  5.5301 14.9603  0.0000 23.7048 17.2924 17.5510  0.1651  0.1100  0.946145118001      0
jxl:d2.5        18611  1980230    0.8511700   2.081  16.479   3.32918930  76.27848642   1.10935251  36.65   2.301  5.7955 14.1054  1.0907  5.4159 14.8214  0.0000 23.2069 17.9086 18.1837  0.1430  0.1100  0.944247536884      0
jxl:d2.6        18611  1925277    0.8275493   2.093  15.699   3.50802135  75.65163539   1.13886324  36.45   2.297  5.6494 13.9046  1.1110  5.2907 14.7271  0.0000 22.6361 18.3708 18.8714  0.1320  0.0880  0.942465477855      0
jxl:d2.7        18611  1873141    0.8051395   2.140  15.392   3.48443127  74.92698144   1.16905707  36.25   2.288  5.4929 13.6491  1.1265  5.2230 14.6329  0.0000 22.0694 18.9677 19.3996  0.1320  0.0880  0.941254006194      0
jxl:d2.8        18611  1824439    0.7842057   2.221  16.327   5.22608757  74.30392233   1.19964963  36.06   2.310  5.3530 13.4507  1.1406  5.1394 14.4603  0.0000 21.6210 19.4739 19.8673  0.1651  0.1100  0.940772088403      0
jxl:d2.9        18611  1777895    0.7641995   2.181  15.815   3.84350491  73.71704978   1.22610269  35.88   2.297  5.2460 13.1818  1.1523  5.0174 14.5009  0.0000 21.1946 19.8398 20.4285  0.1320  0.0880  0.936987090207      0
jxl:d3          18611  1735802    0.7461065   2.061  15.767   4.29606438  72.98922483   1.25379376  35.71   2.265  5.0325 12.9903  1.1193  4.9403 14.3558  0.0000 20.7159 20.4615 20.9456  0.1320  0.0880  0.935463701750      0
jxl:d5          18611  1190044    0.5115212   1.985   8.621   5.23901463  61.29817909   1.77335301  33.24   2.329  3.4792  8.5324  1.0072  3.1663 11.5725  0.0000 16.3461 29.2562 27.1462  0.1651  0.1100  0.907107730342      0
jxl:d7          18611   924674    0.3974562   2.070   8.675   7.25545979  51.65347871   2.23300778  31.72   2.322  2.6739  6.0318  0.8397  2.1928  9.7638  0.0000 13.7134 34.7278 30.5409  0.1871  0.1100  0.887522835993      0
jxl:d15         18611   516544    0.2220281   2.090   8.210  12.66305637  21.76250399   3.76416548  28.71   2.222  1.2840  1.8201  0.3301  0.6255  5.7632  0.0000  7.8773 40.3425 41.6052  0.9353  0.1981  0.835750571609      0
jxl:d24         18611   369912    0.1590007   0.312  19.351  31.90237617   0.29698954   5.43313865  26.98   2.585  1.0691  2.3589  0.1843  0.7410  3.2358  0.0000  3.4579  9.5265  4.9132  0.0000  0.0000  0.863872922378      0
jxl:d32         18611   298044    0.1281094   0.318  20.489  32.38453293 -12.75690509   6.23550222  26.39   2.369  0.7895  1.7860  0.1541  0.5392  2.8995  0.0000  3.0081 10.6269  5.6834  0.0000  0.0000  0.798826521124      0
Aggregate:      18611  2102975    0.9039299   1.812  14.661   3.58771359  62.87762204   1.02338788  37.20   2.359  5.9570 12.6383  0.8275  5.1182 13.6556  0.0000 19.1850 10.1842  9.5765  0.1418  0.0989  0.925070951135      0

After:

Encoding      kPixels    Bytes          BPP  E MP/s  D MP/s     Max norm  SSIMULACRA2        pnorm   PSNR   QABPP  SmallB  DCT4x8     AFV  DCT8x8    8x16    8x32      16   16x32      32   32x64      64       BPP*pnorm   Bugs
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
jxl:d0.1        18611 15061426    6.4739113   1.493   9.178   1.13746321  99.91784397   0.12022734  53.96   6.485 40.1124 21.1492  0.6111 30.3002  5.5136  0.0000  1.7964  0.8638  0.2366  0.1100  0.0880  0.778341118942      0
jxl:d0.5        18611  5700801    2.4503975   1.727  14.733   1.43125176  97.48918300   0.37747569  45.07   2.480 14.7423 24.8207  0.7166 13.3616 27.3608  0.0000 18.1287  1.0729  0.3796  0.1100  0.0880  0.924965476095      0
jxl:d0.8        18611  4259403    1.8308358   1.933  14.921   1.59030497  92.40699379   0.51647528  42.54   2.140 11.3641 21.7156  0.8067 10.0447 25.4028  0.0000 28.2287  1.4855  1.4800  0.1430  0.1100  0.945581405220      0
jxl:d1          18611  3693698    1.5876766   1.924  15.228   1.86013091  89.81625806   0.59844598  41.35   2.217 10.1173 20.1805  0.8273  8.7428 22.2874  0.0000 32.2272  2.7069  3.4937  0.1100  0.0880  0.950138670415      0
jxl:d1.1        18611  3478870    1.4953362   2.045  16.152   1.93605149  88.65069624   0.63666699  40.84   2.203  9.5702 19.5227  0.8590  8.2717 20.8796  0.0000 32.7678  3.7220  4.9902  0.1100  0.0880  0.952031204223      0
jxl:d1.2        18611  3287923    1.4132607   2.026  15.147   2.18912482  87.57184178   0.67470570  40.39   2.226  9.0953 18.9065  0.8958  7.8336 19.5468  0.0000 32.7458  5.0232  6.5252  0.1210  0.0880  0.953535065562      0
jxl:d1.3        18611  3152958    1.3552482   2.081  16.228   2.35440016  86.73522764   0.70462999  40.13   2.252  8.6775 18.4581  0.9013  7.4709 18.6961  0.0000 32.0003  6.4344  7.9337  0.1210  0.0880  0.954948522037      0
jxl:d1.4        18611  3002901    1.2907486   1.970  16.412   2.32869148  85.78703533   0.74015067  39.74   2.238  8.3157 17.9368  0.9147  7.1748 17.8591  0.0000 31.1695  7.8044  9.3422  0.1541  0.1100  0.955348451732      0
jxl:d1.5        18611  2865975    1.2318932   2.042  15.528   2.60058641  84.89407847   0.77420132  39.37   2.255  8.0049 17.4537  0.9233  6.8564 17.3123  0.0000 30.3195  9.2211 10.4811  0.1210  0.0880  0.953733328285      0
jxl:d1.6        18611  2746199    1.1804094   2.117  15.945   2.57296562  84.00227187   0.80897738  39.03   2.294  7.7153 17.0613  0.9477  6.6604 16.8853  0.0000 29.3497 10.4536 11.4439  0.1541  0.1100  0.954924505295      0
jxl:d1.7        18611  2636219    1.1331363   2.049  15.835   2.63234687  83.16085932   0.84282254  38.71   2.291  7.4365 16.6862  0.9663  6.5042 16.4582  0.0000 28.3952 11.4274 12.6983  0.1210  0.0880  0.955032780837      0
jxl:d1.8        18611  2534599    1.0894565   2.100  16.127   2.73855901  82.36720533   0.87525073  38.41   2.274  7.1703 16.3571  0.9989  6.3199 16.1528  0.0000 27.5217 12.6048 13.4246  0.1210  0.1100  0.953547631849      0
jxl:d1.8        18611  2534599    1.0894565   2.071  16.024   2.73855901  82.36720533   0.87525073  38.41   2.274  7.1703 16.3571  0.9989  6.3199 16.1528  0.0000 27.5217 12.6048 13.4246  0.1210  0.1100  0.953547631849      0
jxl:d1.9        18611  2442577    1.0499024   2.045  16.073   2.87506485  81.51102528   0.90923994  38.12   2.280  6.9141 16.0479  1.0203  6.1707 15.8667  0.0000 26.7515 13.5456 14.2554  0.1210  0.0880  0.954613167726      0
jxl:d2.0        18611  2357602    1.0133772   2.110  15.708   3.07803488  80.75535563   0.94128876  37.84   2.260  6.6999 15.7550  1.0278  5.9888 15.6625  0.0000 26.0335 14.4562 14.9486  0.1210  0.0880  0.953880605373      0
jxl:d2.1        18611  2278130    0.9792175   2.111  14.945   3.35361195  80.03035007   0.97323506  37.59   2.278  6.4664 15.3375  1.0491  5.8619 15.4864  0.0000 25.3980 15.2429 15.6748  0.1541  0.1100  0.953008780954      0
jxl:d2.2        18611  2204645    0.9476311   2.135  15.799   3.39749813  79.27216167   1.00503114  37.34   2.295  6.2529 15.0342  1.0742  5.7436 15.3633  0.0000 24.7694 16.0490 16.2855  0.1210  0.0880  0.952398798176      0
jxl:d2.3        18611  2137424    0.9187373   2.148  16.359   3.53904057  78.54235948   1.03592439  37.12   2.336  6.1600 14.7096  1.0684  5.6305 15.1020  0.0000 24.1917 16.6542 17.0558  0.1210  0.0880  0.951742350084      0
jxl:d2.4        18611  2072808    0.8909631   2.157  16.209   3.70150709  77.79912609   1.06776098  36.90   2.340  5.9768 14.4073  1.0835  5.5301 14.9603  0.0000 23.7048 17.2924 17.5510  0.1651  0.1100  0.951335662659      0
jxl:d2.5        18611  2012650    0.8651052   2.113  15.061   3.34734440  77.17154744   1.09804291  36.68   2.343  5.7955 14.1054  1.0907  5.4159 14.8214  0.0000 23.2069 17.9086 18.1837  0.1430  0.1100  0.949922602167      0
jxl:d2.6        18611  1955615    0.8405896   2.104  15.640   3.59429502  76.44353311   1.12833396  36.48   2.328  5.6494 13.9046  1.1110  5.2907 14.7271  0.0000 22.6361 18.3708 18.8714  0.1320  0.0880  0.948465795650      0
jxl:d2.7        18611  1901859    0.8174835   2.150  16.387   3.53335905  75.75767933   1.15815759  36.28   2.309  5.4929 13.6491  1.1265  5.2230 14.6329  0.0000 22.0694 18.9677 19.3996  0.1320  0.0880  0.946774665646      0
jxl:d2.8        18611  1851751    0.7959453   2.177  16.320   5.25712490  75.07650297   1.18947717  36.09   2.345  5.3530 13.4507  1.1406  5.1394 14.4603  0.0000 21.6210 19.4739 19.8673  0.1651  0.1100  0.946758802607      0
jxl:d2.9        18611  1803751    0.7753133   2.167  15.803   3.78403759  74.41335423   1.21583165  35.91   2.326  5.2460 13.1818  1.1523  5.0174 14.5009  0.0000 21.1946 19.8398 20.4285  0.1320  0.0880  0.942650456226      0
jxl:d3          18611  1761644    0.7572143   2.027  16.447   4.42189074  73.75170228   1.24323812  35.73   2.304  5.0325 12.9903  1.1193  4.9403 14.3558  0.0000 20.7159 20.4615 20.9456  0.1320  0.0880  0.941397672602      0
jxl:d5          18611  1202708    0.5169647   1.979   8.716   5.37380791  61.82255530   1.76561976  33.25   2.335  3.4792  8.5324  1.0072  3.1663 11.5725  0.0000 16.3461 29.2562 27.1462  0.1651  0.1100  0.912763011814      0
jxl:d7          18611   929734    0.3996312   2.052   8.059   7.25545979  51.91013251   2.23098838  31.73   2.328  2.6739  6.0318  0.8397  2.1928  9.7638  0.0000 13.7134 34.7278 30.5409  0.1871  0.1100  0.891572520191      0
jxl:d15         18611   516544    0.2220281   2.076   7.958  12.66305637  21.76250399   3.76416548  28.71   2.222  1.2840  1.8201  0.3301  0.6255  5.7632  0.0000  7.8773 40.3425 41.6052  0.9353  0.1981  0.835750571609      0
jxl:d24         18611   371316    0.1596042   0.313  20.531  31.65073013   0.48012567   5.43398798  26.99   2.597  1.0691  2.3589  0.1843  0.7410  3.2358  0.0000  3.4579  9.5265  4.9132  0.0000  0.0000  0.867287306761      0
jxl:d32         18611   297870    0.1280346   0.315  20.204  32.38453293 -12.80065458   6.23586332  26.39   2.365  0.7895  1.7860  0.1541  0.5392  2.8995  0.0000  3.0081 10.6269  5.6834  0.0000  0.0000  0.798406393771      0
Aggregate:      18611  2129287    0.9152396   1.796  14.774   3.56659874  64.47001517   1.01417241  37.22   2.381  5.9570 12.6383  0.8275  5.1182 13.6556  0.0000 19.1850 10.1842  9.5765  0.1418  0.0989  0.928210799273      0
  • fix lowprecision test

  • fix more lowprecision tests

  • one test

  • crosscompile failure

  • attempt to fix bazel test


Co-authored-by: Moritz Firsching <firsching@google.com>

Files Modified:

  • lib/jxl/enc_adaptive_quantization.cc
  • lib/jxl/encode_test.cc
  • lib/jxl/jxl_test.cc

50a5ac9f5aed170e66f834b1c5b6090363f8e847 by Zoltan Szabadka

https://github.com/libjxl/libjxl/commit/50a5ac9f5aed170e66f834b1c5b6090363f8e847
Authored: 2023-02-02 08:44:25 +0100
Committed: 2023-02-02 11:57:43 +0100

jpegli encoder: sanity check component id/index and data precision

Add tests that custom component ids work

Files Modified:

  • lib/jpegli/bitstream.cc
  • lib/jpegli/common_internal.h
  • lib/jpegli/decode_marker.cc
  • lib/jpegli/encode.cc
  • lib/jpegli/encode_api_test.cc

1369984d06d63b2de4ae7a51a96a099ce079209a by Zoltan Szabadka

https://github.com/libjxl/libjxl/commit/1369984d06d63b2de4ae7a51a96a099ce079209a
Authored: 2023-02-01 21:27:06 +0100
Committed: 2023-02-02 08:32:47 +0100

jpegli encoder: support 4-channel input images

Remove internal Image3F storage, replace with an array of RowBuffers.

Add test cases for invalid number of channels and unsupported
color transforms.

Files Modified:

  • lib/jpegli/adaptive_quantization.cc
  • lib/jpegli/bitstream.cc
  • lib/jpegli/common_internal.h
  • lib/jpegli/dct.cc
  • lib/jpegli/decode_internal.h
  • lib/jpegli/encode.cc
  • lib/jpegli/encode_api_test.cc
  • lib/jpegli/encode_internal.h
  • lib/jpegli/entropy_coding.cc
  • lib/jpegli/render.cc

b00a7b2d3c434a4767b4acaa477836511b31e139 by Zoltan Szabadka

https://github.com/libjxl/libjxl/commit/b00a7b2d3c434a4767b4acaa477836511b31e139
Authored: 2023-02-01 18:04:29 +0100
Committed: 2023-02-01 20:56:28 +0100

Fix ASAN failure.

Files Modified:

  • lib/jpegli/bitstream.cc

8e8305a55f58cee0d96a881e30590d14c78fe9e2 by Zoltan Szabadka

https://github.com/libjxl/libjxl/commit/8e8305a55f58cee0d96a881e30590d14c78fe9e2
Authored: 2023-02-01 10:17:40 +0100
Committed: 2023-02-01 16:45:13 +0100

Support non-baseline quant tables in jpegli encoder.

Files Modified:

  • lib/jpegli/bitstream.cc
  • lib/jpegli/encode.cc
  • lib/jpegli/encode_api_test.cc
  • lib/jpegli/encode_internal.h
  • lib/jpegli/quant.cc

a7c8428b61299f3b055cbbdbba3fbcd8cb38d084 by a-shvedov

https://github.com/libjxl/libjxl/commit/a7c8428b61299f3b055cbbdbba3fbcd8cb38d084
Authored: 2023-02-01 12:17:22 +0300
Committed: 2023-02-01 09:17:22 +0000

Update exif.h (#2101)

  • Update exif.h

  • Update lib/jxl/exif.h

Co-authored-by: Moritz Firsching <firsching@google.com>

  • fix AUTHORS

  • fix lint


Co-authored-by: Moritz Firsching <firsching@google.com>

Files Modified:

  • AUTHORS
  • lib/jxl/exif.h

87078519d3e5320da2753297c9ed9b9fbd6f68be by Zoltan Szabadka

https://github.com/libjxl/libjxl/commit/87078519d3e5320da2753297c9ed9b9fbd6f68be
Authored: 2023-01-31 17:52:35 +0100
Committed: 2023-02-01 08:50:29 +0100

Support custom quantization tables in jpegli encoder.

Files Modified:

  • lib/jpegli/adaptive_quantization.cc
  • lib/jpegli/adaptive_quantization.h
  • lib/jpegli/bitstream.cc
  • lib/jpegli/dct.cc
  • lib/jpegli/dct.h
  • lib/jpegli/encode.cc
  • lib/jpegli/encode_api_test.cc
  • lib/jpegli/encode_internal.h
  • lib/jpegli/quant.cc
  • lib/jpegli/quant.h
  • tools/optimizer/update_jpegli_global_scale.py

9a7feac1ce82815237fb571628b2963ae80540de by Evgenii Kliuchnikov

https://github.com/libjxl/libjxl/commit/9a7feac1ce82815237fb571628b2963ae80540de
Authored: 2023-01-31 13:02:01 +0000
Committed: 2023-01-31 14:25:13 +0100

Bazel: dump test errors

Files Modified:

  • .github/workflows/build_test.yml

2a9daa3fa86f4f451b18d35dbb5c6ef87c52b89f by Moritz Firsching

https://github.com/libjxl/libjxl/commit/2a9daa3fa86f4f451b18d35dbb5c6ef87c52b89f
Authored: 2023-01-31 12:19:30 +0100
Committed: 2023-01-31 12:19:30 +0100

fix palette bug (#2120)

Co-authored-by: Luca Versari <veluca@google.com>

Files Modified:

  • lib/jxl/enc_fast_lossless.cc

8a28f6fbb3ddbb38bd6846874f38f2455f8ea386 by Zoltan Szabadka

https://github.com/libjxl/libjxl/commit/8a28f6fbb3ddbb38bd6846874f38f2455f8ea386
Authored: 2023-01-30 18:03:40 +0100
Committed: 2023-01-31 08:31:24 +0100

jpegli: add tests for failure conditions

Files Modified:

  • lib/jpegli/encode.cc
  • lib/jpegli/encode_api_test.cc

cc83237c2f8f1e2e84298f8de7402e5756bf1045 by Martin Bruse

https://github.com/libjxl/libjxl/commit/cc83237c2f8f1e2e84298f8de7402e5756bf1045
Authored: 2023-01-30 16:16:54 +0100
Committed: 2023-01-30 18:12:58 +0100

Added CMYK support.

Files Modified:

  • lib/jpegli/color_transform.cc
  • lib/jpegli/color_transform.h
  • lib/jpegli/decode_api_test.cc
  • lib/jpegli/render.cc
  • testdata

6e8128abb11feba74bf71b1d83df4685024af9bd by Evgenii Kliuchnikov

https://github.com/libjxl/libjxl/commit/6e8128abb11feba74bf71b1d83df4685024af9bd
Authored: 2023-01-13 15:43:34 +0000
Committed: 2023-01-30 15:08:20 +0100

Add bazel build

Files Added:

  • .bazelignore
  • .github/workflows/highway.patch
  • BUILD.bazel
  • WORKSPACE
  • lib/BUILD
  • lib/lib.bzl
  • tools/BUILD

Files Modified:

  • .github/workflows/build_test.yml
  • .gitignore
  • lib/jxl/testdata.h

c55d9cd9f77bc22a44322fad8b247d39abcba201 by Zoltan Szabadka

https://github.com/libjxl/libjxl/commit/c55d9cd9f77bc22a44322fad8b247d39abcba201
Authored: 2023-01-30 11:06:21 +0100
Committed: 2023-01-30 12:18:40 +0100

jpegli encoder: respect in_color_space and jpeg_color_space

Use cinfo.global_state in encoder and check it in API functions

Added test image generator that uses an sRGB image to generate
test pixels in grayscale and YCbCr colorspace, added test for
arbitrary channel unknown colorspace support.

Files Added:

  • lib/jpegli/memory_manager.cc

Files Modified:

  • lib/jpegli.cmake
  • lib/jpegli/color_transform.cc
  • lib/jpegli/common.cc
  • lib/jpegli/common_internal.h
  • lib/jpegli/dct.cc
  • lib/jpegli/decode.cc
  • lib/jpegli/decode_internal.h
  • lib/jpegli/encode.cc
  • lib/jpegli/encode.h
  • lib/jpegli/encode_api_test.cc
  • lib/jpegli/encode_internal.h
  • lib/jpegli/libjpeg_wrapper.cc
  • lib/jpegli/memory_manager.h
  • lib/jpegli/quant.cc
  • lib/jpegli/test_utils.h

b0f30142c8d203340ed25b4676995c4abb4637b7 by Kleis Auke Wolthuizen

https://github.com/libjxl/libjxl/commit/b0f30142c8d203340ed25b4676995c4abb4637b7
Authored: 2023-01-19 14:33:20 +0100
Committed: 2023-01-30 09:57:25 +0100

CMake: clean-up after Brotli update

Commit google/brotli@641bec0 ensures that Brotli honors the
BUILD_SHARED_LIBS option in CMake, making commit 43323c0
and 6f20853 redundant.

Resolves #1694.

Files Modified:

  • cmake/FindBrotli.cmake
  • third_party/CMakeLists.txt

b8007671c3b5de7edccae5bfe4a98e60461b0a84 by Jon Sneyers

https://github.com/libjxl/libjxl/commit/b8007671c3b5de7edccae5bfe4a98e60461b0a84
Authored: 2023-01-29 16:25:08 +0100
Committed: 2023-01-29 16:25:08 +0100

remove all_color_aware optimization in benchmark_xl (#2116)

Files Modified:

  • tools/benchmark/benchmark_codec.h
  • tools/benchmark/benchmark_codec_jxl.cc
  • tools/benchmark/benchmark_xl.cc

20ca234ffa088fc0085e7d6653d3b86295782ba9 by Moritz Firsching

https://github.com/libjxl/libjxl/commit/20ca234ffa088fc0085e7d6653d3b86295782ba9
Authored: 2023-01-27 13:33:11 +0100
Committed: 2023-01-27 12:33:11 +0000

update highway (#2108)

Files Modified:

  • deps.sh
  • third_party/highway

af6ddbfb3641597e86b7f86d814ed869bf3ea606 by Zoltan Szabadka

https://github.com/libjxl/libjxl/commit/af6ddbfb3641597e86b7f86d814ed869bf3ea606
Authored: 2023-01-27 09:54:35 +0100
Committed: 2023-01-27 13:12:53 +0100

Compare pixels to libjpeg output in decode_api_test.cc

This way we can have tighter bounds that are not so much dependent
on the quality of the input image.

Files Modified:

  • lib/jpegli/decode_api_test.cc

e9a672f71f4e336bc87d85e050c37b35a664d265 by Zoltan Szabadka

https://github.com/libjxl/libjxl/commit/e9a672f71f4e336bc87d85e050c37b35a664d265
Authored: 2023-01-27 09:03:20 +0100
Committed: 2023-01-27 10:07:00 +0100

Fix build.

Files Modified:

  • lib/jxl.cmake
  • third_party/CMakeLists.txt

ed2a161aed3db695d2133915d2af530bce989354 by Mathieu Malaterre

https://github.com/libjxl/libjxl/commit/ed2a161aed3db695d2133915d2af530bce989354
Authored: 2023-01-26 10:38:23 +0100
Committed: 2023-01-26 18:18:46 +0100

Migrate to HWY major version 1

Files Modified:

  • debian/control
  • third_party/CMakeLists.txt

c3779422fd5bbae2c27e72761af6a5a51f64fa81 by Evgenii Kliuchnikov

https://github.com/libjxl/libjxl/commit/c3779422fd5bbae2c27e72761af6a5a51f64fa81
Authored: 2023-01-25 11:46:57 +0000
Committed: 2023-01-26 17:33:46 +0100

Update deps

For bazel build

Files Modified:

  • deps.sh
  • third_party/brotli
  • third_party/googletest

7ff4180461c1027de091bc367762c1ec890275f6 by Zoltan Szabadka

https://github.com/libjxl/libjxl/commit/7ff4180461c1027de091bc367762c1ec890275f6
Authored: 2023-01-26 10:37:23 +0100
Committed: 2023-01-26 16:29:18 +0100

Support YUV440 and YUV422 chroma subsampling in jpegli encoder.

Files Modified:

  • lib/extras/enc/jpegli.cc
  • lib/extras/enc/jpegli.h
  • lib/extras/jpegli_test.cc
  • lib/jpegli/dct.cc
  • lib/jpegli/encode.cc
  • lib/jpegli/encode_api_test.cc
  • lib/jpegli/encode_internal.h
  • tools/benchmark/benchmark_codec_jpeg.cc

de2f8702a3f88fc94e25f4d549f4806d6bcab938 by Evgenii Kliuchnikov

https://github.com/libjxl/libjxl/commit/de2f8702a3f88fc94e25f4d549f4806d6bcab938
Authored: 2023-01-26 11:46:01 +0000
Committed: 2023-01-26 14:16:36 +0100

More cleanups

Files Modified:

  • lib/jxl/data_parallel_test.cc
  • lib/jxl/enc_color_management.cc
  • lib/jxl/fast_dct_test.cc
  • lib/jxl/jxl_test.cc
  • lib/jxl/test_utils.h

ddc28d017a31c3723e6175ecce1894d52280c739 by Evgenii Kliuchnikov

https://github.com/libjxl/libjxl/commit/ddc28d017a31c3723e6175ecce1894d52280c739
Authored: 2023-01-24 14:10:31 +0000
Committed: 2023-01-26 10:01:32 +0000

Cleanup

Files Modified:

  • lib/extras/dec/gif.cc
  • lib/extras/dec/jpg.cc
  • lib/extras/enc/jpg.cc
  • lib/threads/thread_parallel_runner_internal.cc

65acfb68a2c5cc46261148df90db2da12e6a74c4 by Evgenii Kliuchnikov

https://github.com/libjxl/libjxl/commit/65acfb68a2c5cc46261148df90db2da12e6a74c4
Authored: 2023-01-18 14:03:29 +0000
Committed: 2023-01-26 09:09:46 +0000

Fix ClangTidy findings

Files Modified:

  • doc/color_management.md
  • lib/extras/codec_test.cc
  • lib/extras/dec/decode.cc
  • lib/jpegli/adaptive_quantization.cc
  • lib/jpegli/common_internal.h
  • lib/jpegli/encode_internal.h

1f0a05775bca23a2794e96df8ad61701c2be36a6 by Zoltan Szabadka

https://github.com/libjxl/libjxl/commit/1f0a05775bca23a2794e96df8ad61701c2be36a6
Authored: 2023-01-25 17:43:53 +0100
Committed: 2023-01-26 08:58:39 +0100

jpegli encoder: lookup transfer function directly from CICP tag

With this change we can remove the dependence of the core jpegli
library on the color management system.

Files Modified:

  • lib/jpegli/encode.cc

a67e97090d5e0287ededc5b691b56cee30becbf8 by Zoltan Szabadka

https://github.com/libjxl/libjxl/commit/a67e97090d5e0287ededc5b691b56cee30becbf8
Authored: 2023-01-25 14:44:45 +0100
Committed: 2023-01-25 16:15:23 +0100

Fix build with JPEGXL_ENABLE_JPEGLI=OFF.

Files Modified:

  • lib/CMakeLists.txt
  • lib/extras/jpegli_test.cc
  • lib/jxl_extras.cmake
  • tools/CMakeLists.txt
  • tools/benchmark/benchmark_codec_jpeg.cc

43164491a21c1390ecb59c667cdf3c51b06df648 by Zoltan Szabadka

https://github.com/libjxl/libjxl/commit/43164491a21c1390ecb59c667cdf3c51b06df648
Authored: 2023-01-24 18:01:15 +0100
Committed: 2023-01-25 13:16:34 +0100

Move the XYB conversion to extras::EncodeJpeg from jpegli encoder.

Files Modified:

  • lib/extras/enc/jpegli.cc
  • lib/jpegli/encode.cc
  • lib/jpegli/encode.h
  • lib/jpegli/encode_api_test.cc
  • lib/jxl/enc_xyb.cc
  • lib/jxl/enc_xyb.h
  • lib/jxl/image.cc
  • lib/jxl/image.h

9c9e673abce96f107734eb032086b92dc627227f by Zoltan Szabadka

https://github.com/libjxl/libjxl/commit/9c9e673abce96f107734eb032086b92dc627227f
Authored: 2023-01-24 09:32:56 +0100
Committed: 2023-01-25 09:11:31 +0100

Use Y-channel-only adaptive quantization in jpegli encoder.

This works for Y channel of both YUV and XYB colorspaces.

Benchmark before:

Encoding                   kPixels    Bytes          BPP  E MP/s  D MP/s     Max norm  SSIMULACRA2        pnorm       BPP*pnorm   Bugs
--------------------------------------------------------------------------------------------------------------------------------------
jpeg:enc-jpegli:q90          13270  3594661    2.1670170   6.487  35.901   2.19617844  86.24572089   0.68664849  1.487978923693      0
jpeg:enc-jpegli:xyb:q90      13270  3170952    1.9115869   7.518  44.012   1.90134680  84.71284882   0.68652196  1.312346361599      0
Aggregate:                   13270  3376166    2.0352988   6.983  39.750   2.04345219  85.47584872   0.68658522  1.397406070777      0

Benchmark after:

Encoding                   kPixels    Bytes          BPP  E MP/s  D MP/s     Max norm  SSIMULACRA2        pnorm       BPP*pnorm   Bugs
--------------------------------------------------------------------------------------------------------------------------------------
jpeg:enc-jpegli:q90          13270  3592660    2.1658107   7.104  36.720   2.26414490  86.30430609   0.68598206  1.485707265957      0
jpeg:enc-jpegli:xyb:q90      13270  3124769    1.8837458   7.798  43.434   2.23073959  84.88878012   0.68680886  1.293773269798      0
Aggregate:                   13270  3350557    2.0198606   7.443  39.936   2.24738018  85.59361695   0.68639533  1.386422860256      0

Files Added:

  • lib/jpegli/adaptive_quantization.cc
  • lib/jpegli/adaptive_quantization.h

Files Modified:

  • lib/extras/jpegli_test.cc
  • lib/jpegli.cmake
  • lib/jpegli/color_transform.cc
  • lib/jpegli/color_transform.h
  • lib/jpegli/dct.cc
  • lib/jpegli/encode.cc
  • lib/jpegli/encode_api_test.cc
  • lib/jpegli/encode_internal.h

a56ba92b0a873e016bfa7b08d77176e6ef2c46b8 by Zoltan Szabadka

https://github.com/libjxl/libjxl/commit/a56ba92b0a873e016bfa7b08d77176e6ef2c46b8
Authored: 2023-01-24 15:07:12 +0100
Committed: 2023-01-25 08:44:47 +0100

Fix dequantization bias computation for all-zero-AC blocks.

Since apparently sqrt(x * x) - x can be negative for some floats
we now explicitly skip bias computation for all-zero blocks.

Fixes #2094

Files Modified:

  • lib/extras/jpegli_test.cc
  • lib/jpegli/render.cc

43bae3ff6d2badf39576dee1fae34782fe392190 by Moritz Firsching

https://github.com/libjxl/libjxl/commit/43bae3ff6d2badf39576dee1fae34782fe392190
Authored: 2023-01-24 22:20:33 +0100
Committed: 2023-01-24 21:20:33 +0000

simple new spline limits (#2081)

Files Modified:

  • lib/jxl/splines.cc
  • lib/jxl/splines.h
  • lib/jxl/splines_test.cc

c847c172d519206cfe89b4f11ce69fc5f1aa382b by Moritz Firsching

https://github.com/libjxl/libjxl/commit/c847c172d519206cfe89b4f11ce69fc5f1aa382b
Authored: 2023-01-24 22:01:24 +0100
Committed: 2023-01-24 21:01:24 +0000

fix non-lossless e10 (#2098)

Files Modified:

  • lib/jxl/enc_frame.cc
  • lib/jxl/enc_params.h

c717882214fa53342d8906e1e2da0981ae6398f2 by Zoltan Szabadka

https://github.com/libjxl/libjxl/commit/c717882214fa53342d8906e1e2da0981ae6398f2
Authored: 2023-01-24 18:09:26 +0100
Committed: 2023-01-24 19:13:00 +0100

Remove apt-spy2 step.

This might affect what dependecies are available.

Files Modified:

  • .github/workflows/build_test.yml
  • .github/workflows/conformance.yml
  • .github/workflows/pull_request.yml
  • .github/workflows/release.yaml

eee05b5fbea9ff556552e68672aa9fa52a34b617 by Luca Versari

https://github.com/libjxl/libjxl/commit/eee05b5fbea9ff556552e68672aa9fa52a34b617
Authored: 2023-01-23 21:42:38 +0100
Committed: 2023-01-24 09:51:30 +0100

Allow fast-lossless for 16-bit float input

Files Modified:

  • lib/jxl/encode.cc

0077308145b771baa9fdfeaaa45ce4b1248d1aa0 by Luca Versari

https://github.com/libjxl/libjxl/commit/0077308145b771baa9fdfeaaa45ce4b1248d1aa0
Authored: 2023-01-23 20:52:35 +0100
Committed: 2023-01-23 21:42:37 +0100

Re-enable OpenEXR input in cjxl.

Files Modified:

  • tools/cjxl_main.cc

aa99c8d87fc71d3a827c4e1dd968600fc2ecd3d9 by Zoltan Szabadka

https://github.com/libjxl/libjxl/commit/aa99c8d87fc71d3a827c4e1dd968600fc2ecd3d9
Authored: 2023-01-23 11:03:32 +0100
Committed: 2023-01-23 14:00:37 +0100

jpegli encoder: remove dependence on lib/jxl/jpeg

This also simplifies the code a bit since we don't need bit-exact
reconstruction and we can store most things we need in cinfo instead
of jpeg_data.

Files Added:

  • lib/jpegli/bitstream.cc
  • lib/jpegli/bitstream.h
  • lib/jpegli/common_internal.h

Files Modified:

  • lib/jpegli.cmake
  • lib/jpegli/dct.cc
  • lib/jpegli/dct.h
  • lib/jpegli/decode_internal.h
  • lib/jpegli/decode_marker.cc
  • lib/jpegli/decode_scan.cc
  • lib/jpegli/encode.cc
  • lib/jpegli/encode.h
  • lib/jpegli/encode_api_test.cc
  • lib/jpegli/encode_internal.h
  • lib/jpegli/entropy_coding.cc
  • lib/jpegli/entropy_coding.h
  • lib/jpegli/huffman.h
  • lib/jpegli/quant.cc
  • lib/jpegli/quant.h

e4698c5bc19d106cb4c22344c5d2f818bc915f0e by szabadka

https://github.com/libjxl/libjxl/commit/e4698c5bc19d106cb4c22344c5d2f818bc915f0e
Authored: 2023-01-19 10:31:16 +0100
Committed: 2023-01-19 10:31:16 +0100

Add jpegli_use_standard_quant_tables() API function. (#2086)

Files Modified:

  • lib/extras/enc/jpegli.cc
  • lib/extras/enc/jpegli.h
  • lib/jpegli/dct.cc
  • lib/jpegli/encode.cc
  • lib/jpegli/encode.h
  • lib/jpegli/encode_api_test.cc
  • lib/jpegli/encode_internal.h
  • lib/jpegli/quant.cc
  • lib/jpegli/quant.h
  • tools/benchmark/benchmark_codec_jpeg.cc

bcacd518a2cc5aa9ad014c9cd67f88c5ab023ff6 by Zoltan Szabadka

https://github.com/libjxl/libjxl/commit/bcacd518a2cc5aa9ad014c9cd67f88c5ab023ff6
Authored: 2023-01-18 16:01:51 +0100
Committed: 2023-01-18 22:48:03 +0100

Add jpegli_set_progressive_level() API function.

Files Modified:

  • lib/extras/enc/jpegli.cc
  • lib/extras/enc/jpegli.h
  • lib/jpegli/encode.cc
  • lib/jpegli/encode.h
  • lib/jpegli/encode_api_test.cc
  • lib/jpegli/encode_internal.h
  • tools/benchmark/benchmark_codec_jpeg.cc

6fc912b2f27bbc5c1b18a88989bfb04ce546d136 by Zoltan Szabadka

https://github.com/libjxl/libjxl/commit/6fc912b2f27bbc5c1b18a88989bfb04ce546d136
Authored: 2023-01-18 12:34:57 +0100
Committed: 2023-01-18 15:51:09 +0100

Tweak jpegli adaptive zeroing parameters.

Add python script to update global scale to match libjpeg quality
90 pnorm.

Benchmark before:

Encoding                   kPixels    Bytes          BPP  E MP/s  D MP/s     Max norm  SSIMULACRA2        pnorm       BPP*pnorm   Bugs
--------------------------------------------------------------------------------------------------------------------------------------
jpeg:enc-jpegli:q95          13270  5370748    3.2377189   4.330  27.512   1.50571752  93.15828805   0.48245202  1.562044043045      0
jpeg:enc-jpegli:q90          13270  3625700    2.1857286   5.520  33.601   2.15366292  86.57551788   0.68660493  1.500732036613      0
jpeg:enc-jpegli:q85          13270  2804097    1.6904308   5.355  35.518   2.48398638  82.22072505   0.87241299  1.474753809926      0
jpeg:enc-jpegli:xyb:q95      13270  4603424    2.7751429   5.678  33.608   1.69426656  90.67321501   0.47020969  1.304899072494      0
jpeg:enc-jpegli:xyb:q90      13270  3170600    1.9113747   6.077  40.088   1.90134680  84.71690135   0.68657995  1.312311513450      0
jpeg:enc-jpegli:xyb:q85      13270  2479683    1.4948600   6.318  46.832   2.34824491  80.02210926   0.87567042  1.309004728630      0
Aggregate:                   13270  3542472    2.1355549   5.508  35.705   1.98370072  86.10786644   0.65872037  1.406733528649      0

Benchmark after:

Encoding                   kPixels    Bytes          BPP  E MP/s  D MP/s     Max norm  SSIMULACRA2        pnorm       BPP*pnorm   Bugs
--------------------------------------------------------------------------------------------------------------------------------------
jpeg:enc-jpegli:q95          13270  5323408    3.2091803   4.909  27.402   1.60794115  92.60851670   0.48322977  1.550771491677      0
jpeg:enc-jpegli:q90          13270  3594661    2.1670170   5.448  35.792   2.19617844  86.24572089   0.68664849  1.487978923693      0
jpeg:enc-jpegli:q85          13270  2937341    1.7707561   5.430  35.004   2.36338425  83.24249534   0.83037363  1.470389140036      0
jpeg:enc-jpegli:xyb:q95      13270  4605780    2.7765632   5.593  32.377   1.69426656  90.69110483   0.47000310  1.304993303823      0
jpeg:enc-jpegli:xyb:q90      13270  3170952    1.9115869   5.971  43.896   1.90134680  84.71284882   0.68652196  1.312346361599      0
jpeg:enc-jpegli:xyb:q85      13270  2479697    1.4948685   6.399  46.650   2.34824491  80.02248763   0.87566177  1.308999177814      0
Aggregate:                   13270  3559991    2.1461165   5.606  36.269   1.99546032  86.14761672   0.65344475  1.402368561848      0

Files Added:

  • tools/optimizer/update_jpegli_global_scale.py

Files Modified:

  • lib/extras/jpegli_test.cc
  • lib/jpegli/dct.cc
  • lib/jpegli/dct.h
  • lib/jpegli/encode.cc
  • lib/jpegli/encode_api_test.cc

af5578ee19aba6e7733dc98dcd14ab9e8b667da7 by szabadka

https://github.com/libjxl/libjxl/commit/af5578ee19aba6e7733dc98dcd14ab9e8b667da7
Authored: 2023-01-17 18:53:00 +0100
Committed: 2023-01-17 18:53:00 +0100

jpegli encoder: aim for the same butteraugli 3-norm than libjpeg (#2080)

Benchmark results:

Encoding                   kPixels    Bytes          BPP  E MP/s  D MP/s     Max norm  SSIMULACRA2        pnorm       BPP*pnorm   Bugs
--------------------------------------------------------------------------------------------------------------------------------------
jpeg:q90                     13270  4838710    2.9169834  35.242  94.552   2.40070152  91.22219875   0.68663652  2.002907346332      0
jpeg:enc-jpegli:q90          13270  3625700    2.1857286   5.354  33.773   2.15366292  86.57551788   0.68660493  1.500732036613      0
jpeg:enc-jpegli:xyb:q90      13270  3170600    1.9113747   6.253  40.476   1.90134680  84.71690135   0.68657995  1.312311513450      0

Files Modified:

  • lib/extras/jpegli_test.cc
  • lib/jpegli/encode.cc
  • lib/jpegli/encode_api_test.cc

dff431eb82ccdd1c143d1b5c8e4feda94b9271c4 by Zoltan Szabadka

https://github.com/libjxl/libjxl/commit/dff431eb82ccdd1c143d1b5c8e4feda94b9271c4
Authored: 2023-01-13 12:26:27 +0100
Committed: 2023-01-17 14:14:59 +0100

Use apt-spy2 to select closest mirror.

Files Modified:

  • .github/workflows/build_test.yml
  • .github/workflows/conformance.yml
  • .github/workflows/pull_request.yml
  • .github/workflows/release.yaml

1e67acf49ea88248b3a52800d6bd2ec273d39c41 by Zoltan Szabadka

https://github.com/libjxl/libjxl/commit/1e67acf49ea88248b3a52800d6bd2ec273d39c41
Authored: 2023-01-17 10:22:33 +0100
Committed: 2023-01-17 12:38:06 +0100

Remove the AQ-based drop of the LSB in jpegli quantization.

This does not seem to help any more with the current quantization
matrix and entropy coding.

Benchmark before (jpegli encoding libjpeg decoding):

Encoding                   kPixels    Bytes          BPP  E MP/s  D MP/s     Max norm  SSIMULACRA2        pnorm       BPP*pnorm   Bugs
--------------------------------------------------------------------------------------------------------------------------------------
jpeg:enc-jpegli:q95          13270  5794758    3.4933305   5.119  27.937   1.38596916  93.46103343   0.46287938  1.616990638243      0
jpeg:enc-jpegli:q90          13270  3936787    2.3732653   5.477  34.725   1.91680062  87.25703326   0.65623733  1.557425270742      0
jpeg:enc-jpegli:q85          13270  3057394    1.8431292   5.516  37.937   2.62046552  82.52436872   0.83109887  1.531822590242      0
jpeg:enc-jpegli:xyb:q95      13270  4264549    2.5708544   5.991  37.784   1.47950292  89.05115715   0.51803909  1.331803067049      0
jpeg:enc-jpegli:xyb:q90      13270  2943196    1.7742857   6.353  43.853   2.09280968  82.67561284   0.75413084  1.338043565214      0
jpeg:enc-jpegli:xyb:q85      13270  2305855    1.3900690   6.612  49.866   2.63821650  77.67960487   0.96307037  1.338734288390      0
Aggregate:                   13270  3555021    2.1431202   5.821  38.063   1.96099954  85.28831579   0.67547319  1.447620220302      0

Benchmakr after (jpegli encoding libjpeg decoding):

Encoding                   kPixels    Bytes          BPP  E MP/s  D MP/s     Max norm  SSIMULACRA2        pnorm       BPP*pnorm   Bugs
--------------------------------------------------------------------------------------------------------------------------------------
jpeg:enc-jpegli:q94          13270  5409435    3.2610411   5.208  29.327   1.50571752  93.24202136   0.47938494  1.563293990820      0
jpeg:enc-jpegli:q89          13270  3811326    2.2976320   5.479  33.254   2.14484310  87.70502481   0.65293161  1.500196542500      0
jpeg:enc-jpegli:q84          13270  3002498    1.8100355   5.514  37.814   2.48485231  83.16517895   0.82168611  1.487281033907      0
jpeg:enc-jpegli:xyb:q94      13270  3989884    2.4052745   6.134  38.151   1.39153469  88.59425842   0.54025277  1.299456193655      0
jpeg:enc-jpegli:xyb:q89      13270  2855332    1.7213175   6.438  44.082   2.09992790  82.77259267   0.76094816  1.309833374060      0
jpeg:enc-jpegli:xyb:q84      13270  2264070    1.3648792   6.524  47.225   2.94640446  77.69575729   0.96434098  1.316208962167      0
Aggregate:                   13270  3418768    2.0609808   5.861  37.825   2.02568416  85.38426684   0.68350252  1.408685571138      0

Benchmark before (jpegli encoding jpegli decoding):

Encoding                              kPixels    Bytes          BPP  E MP/s  D MP/s     Max norm  SSIMULACRA2        pnorm       BPP*pnorm   Bugs
-------------------------------------------------------------------------------------------------------------------------------------------------
jpeg:enc-jpegli:q95:dec-jpegli          13270  5794758    3.4933305   5.046  20.201   1.24526358  95.03066646   0.41532140  1.450854889909      0
jpeg:enc-jpegli:q90:dec-jpegli          13270  3936787    2.3732653   5.512  22.419   1.81215000  87.93787291   0.62230079  1.476884856990      0
jpeg:enc-jpegli:q85:dec-jpegli          13270  3057394    1.8431292   5.353  21.448   2.50435567  83.03343872   0.80082370  1.476021551550      0
jpeg:enc-jpegli:xyb:q95:dec-jpegli      13270  4264549    2.5708544   6.145  26.849   1.32461619  89.00039385   0.51124516  1.314336864199      0
jpeg:enc-jpegli:xyb:q90:dec-jpegli      13270  2943196    1.7742857   6.430  29.837   2.14005589  82.48641755   0.74338743  1.318981688573      0
jpeg:enc-jpegli:xyb:q85:dec-jpegli      13270  2305855    1.3900690   6.658  33.554   2.69269133  77.30046412   0.95115147  1.322166193554      0
Aggregate:                              13270  3555021    2.1431202   5.827  25.282   1.87273157  85.61335924   0.64913638  1.391177258447      0

Benchmark after (jpegli encoding jpegli decoding):

Encoding                              kPixels    Bytes          BPP  E MP/s  D MP/s     Max norm  SSIMULACRA2        pnorm       BPP*pnorm   Bugs
-------------------------------------------------------------------------------------------------------------------------------------------------
jpeg:enc-jpegli:q94:dec-jpegli          13270  5409435    3.2610411   5.186  20.662   1.30362570  94.69989767   0.42922370  1.399716125939      0
jpeg:enc-jpegli:q89:dec-jpegli          13270  3811326    2.2976320   5.484  22.432   2.18101788  88.32525503   0.61808046  1.420121426517      0
jpeg:enc-jpegli:q84:dec-jpegli          13270  3002498    1.8100355   5.667  23.856   2.35035825  83.67509663   0.78834191  1.426926849730      0
jpeg:enc-jpegli:xyb:q94:dec-jpegli      13270  3989884    2.4052745   6.263  27.660   1.30877268  88.49259087   0.53104633  1.277312161208      0
jpeg:enc-jpegli:xyb:q89:dec-jpegli      13270  2855332    1.7213175   6.538  30.471   2.00122976  82.54197918   0.74777798  1.287163318419      0
jpeg:enc-jpegli:xyb:q84:dec-jpegli      13270  2264070    1.3648792   6.846  32.245   2.64077306  77.40505828   0.94648725  1.291840777135      0
Aggregate:                              13270  3418768    2.0609808   5.968  25.880   1.89440607  85.68345309   0.65450132  1.348914659590      0

Files Modified:

  • lib/jpegli/dct.cc
  • lib/jpegli/encode_api_test.cc

d70fa5a5d4f35bce9169b3147d7908b32c3512fc by Zoltan Szabadka

https://github.com/libjxl/libjxl/commit/d70fa5a5d4f35bce9169b3147d7908b32c3512fc
Authored: 2023-01-16 17:18:30 +0100
Committed: 2023-01-17 12:37:52 +0100

Add option to disable adaptive quantization in jpegli.

Files Modified:

  • lib/extras/enc/jpegli.cc
  • lib/extras/enc/jpegli.h
  • lib/extras/jpegli_test.cc
  • lib/jpegli/encode.cc
  • lib/jpegli/encode.h
  • lib/jpegli/encode_internal.h
  • lib/jpegli/quant.cc
  • lib/jpegli/quant.h
  • tools/benchmark/benchmark_codec_jpeg.cc

2d1a3b7be1fed90f1581d7e847850fb4f9212f0c by Zoltan Szabadka

https://github.com/libjxl/libjxl/commit/2d1a3b7be1fed90f1581d7e847850fb4f9212f0c
Authored: 2023-01-13 15:05:16 +0100
Committed: 2023-01-17 09:26:33 +0100

Support grayscale input in jpegli encoder.

Files Modified:

  • lib/jpegli/dct.cc
  • lib/jpegli/encode.cc
  • lib/jpegli/encode_api_test.cc
  • lib/jpegli/quant.cc
  • lib/jpegli/quant.h

3b026cebd995c9e98b68fc295cac83613924eb38 by Evgenii Kliuchnikov

https://github.com/libjxl/libjxl/commit/3b026cebd995c9e98b68fc295cac83613924eb38
Authored: 2023-01-16 11:24:41 +0000
Committed: 2023-01-16 17:39:59 +0100

Fix MSYS2 build

Files Modified:

  • tools/CMakeLists.txt

6cccf8ec2b1f021dc63eb2ff009cfb713df099ab by Zoltan Szabadka

https://github.com/libjxl/libjxl/commit/6cccf8ec2b1f021dc63eb2ff009cfb713df099ab
Authored: 2023-01-13 11:59:00 +0100
Committed: 2023-01-16 17:22:41 +0100

Add a separate extras/jpegli_test.cc for the jpegli API in extras.

Files Added:

  • lib/extras/jpegli_test.cc

Files Modified:

  • lib/extras/codec_test.cc
  • lib/jxl_tests.cmake

d3cfc1506f0ccf66c4baf46c2f9fbb153d88d394 by Zoltan Szabadka

https://github.com/libjxl/libjxl/commit/d3cfc1506f0ccf66c4baf46c2f9fbb153d88d394
Authored: 2023-01-12 17:20:26 +0100
Committed: 2023-01-16 11:56:16 +0100

Add jpegli_set_output_format() API function to jpegli decoder.

This new API function replaces the previous and somewhat hacky way of
setting the output bit depth through the libjpeg API.

Files Modified:

  • lib/extras/dec/decode.cc
  • lib/extras/dec/jpegli.cc
  • lib/extras/dec/jpg.cc
  • lib/extras/dec/jpg.h
  • lib/jpegli/common.cc
  • lib/jpegli/common.h
  • lib/jpegli/decode.cc
  • lib/jpegli/decode.h
  • lib/jpegli/decode_api_test.cc
  • lib/jpegli/decode_internal.h
  • lib/jpegli/encode.h
  • lib/jpegli/encode_api_test.cc
  • lib/jpegli/render.cc
  • tools/benchmark/benchmark_codec_jpeg.cc
  • tools/cjxl_main.cc

1f9118ad33e4b1857317e719eb71eae0919bc909 by Moritz Firsching

https://github.com/libjxl/libjxl/commit/1f9118ad33e4b1857317e719eb71eae0919bc909
Authored: 2023-01-16 21:19:54 +1100
Committed: 2023-01-16 21:19:54 +1100

harmonize --num_threads bewteen cjxl and djxl (#2074)

closes #2073

Files Modified:

  • tools/cjxl_main.cc
  • tools/djxl_main.cc

4d5232b0895329e76901fdc9c7c3e56a0e8b91d7 by Moritz Firsching

https://github.com/libjxl/libjxl/commit/4d5232b0895329e76901fdc9c7c3e56a0e8b91d7
Authored: 2023-01-16 04:08:03 +0100
Committed: 2023-01-16 04:27:15 +0100

fix format

Files Modified:

  • lib/jpegli/decode_internal.h
  • lib/jpegli/render.cc
  • lib/jxl/enc_group.cc
  • lib/jxl/field_encodings.h
  • lib/jxl/fields.cc
  • lib/jxl/render_pipeline/simple_render_pipeline.cc
  • tools/cjxl_fuzzer.cc
  • tools/djxl_fuzzer.cc

506b9933834c474857bdf486258911770599df8d by Evgenii Kliuchnikov

https://github.com/libjxl/libjxl/commit/506b9933834c474857bdf486258911770599df8d
Authored: 2023-01-13 15:32:47 +0000
Committed: 2023-01-16 04:27:15 +0100

Cleanup

Consistent hwy includes (always angled)
Remove unused functions
Move maybe-unused functions from palette.h to palette.cc

Files Added:

  • lib/jxl/modular/transform/palette.cc

Files Modified:

  • lib/jpegli/decode_internal.h
  • lib/jpegli/render.cc
  • lib/jxl.cmake
  • lib/jxl/enc_color_management.cc
  • lib/jxl/enc_comparator.cc
  • lib/jxl/enc_group.cc
  • lib/jxl/field_encodings.h
  • lib/jxl/fields.cc
  • lib/jxl/modular/transform/palette.h
  • lib/jxl/render_pipeline/simple_render_pipeline.cc
  • lib/jxl/splines.cc
  • lib/lib.gni
  • tools/cjxl_fuzzer.cc
  • tools/djxl_fuzzer.cc

d6570ecc90b133036fdc373c146dc18af9b58d31 by Jon Sneyers

https://github.com/libjxl/libjxl/commit/d6570ecc90b133036fdc373c146dc18af9b58d31
Authored: 2023-01-15 23:59:38 +0100
Committed: 2023-01-16 09:59:38 +1100

update README.md and add description of encode effort settings (#2069)

Files Added:

  • doc/encode_effort.md

Files Modified:

  • README.md

3de812f8882fb85c74a100f3257b2491e3796ecd by Moritz Firsching

https://github.com/libjxl/libjxl/commit/3de812f8882fb85c74a100f3257b2491e3796ecd
Authored: 2023-01-16 09:57:16 +1100
Committed: 2023-01-16 09:57:16 +1100

update browser support (#2068)

Files Modified:

  • doc/software_support.md

./mach vendor media/libjxl/moz.yaml reported an error editing moz.build files:

Latest commit is be70f17fa7fe55b8826642d83805cf441426d5d0 from 2023-02-03T21:44:42Z
Fetching code archive from https://github.com/libjxl/libjxl/archive/be70f17fa7fe55b8826642d83805cf441426d5d0.tar.gz
Retaining wanted in-tree files.
Cleaning third_party/jpeg-xl to import changes.
Unpacking upstream files for third_party/jpeg-xl.
Retaining wanted files from upstream changes.
Removing excluded files from upstream changes.
Removing: ['/tmp/tmpl8issd3y/tools/benchmark/metrics/ssim-y.sh', '/tmp/tmpl8issd3y/.gitmodules', '/tmp/tmpl8issd3y/tools/benchmark/benchmark_codec_custom.cc', '/tmp/tmpl8issd3y/tools/comparison_viewer/split_image_renderer.h', '/tmp/tmpl8issd3y/tools/comparison_viewer/compare_images.cc', '/tmp/tmpl8issd3y/tools/example_tree.txt', '/tmp/tmpl8issd3y/tools/benchmark/metrics/fsim-y.sh', '/tmp/tmpl8issd3y/tools/benchmark/metrics/vmaf.sh', '/tmp/tmpl8issd3y/tools/wasm_demo/jxl_decompressor.h', '/tmp/tmpl8issd3y/tools/jni/org/jpeg/jpegxl/wrapper/Status.java', '/tmp/tmpl8issd3y/tools/set_from_bytes_fuzzer.cc', '/tmp/tmpl8issd3y/tools/comparison_viewer/compare_codecs.cc', '/tmp/tmpl8issd3y/tools/jni/org/jpeg/jpegxl/wrapper/decoder_jni.cc', '/tmp/tmpl8issd3y/tools/benchmark/hm/decode.sh', '/tmp/tmpl8issd3y/tools/jni/org/jpeg/jpegxl/wrapper/DecoderTest.java', '/tmp/tmpl8issd3y/tools/demo_progressive_saliency_encoding.py', '/tmp/tmpl8issd3y/tools/benchmark/benchmark_codec_webp.cc', '/tmp/tmpl8issd3y/.github/workflows/build_test.yml', '/tmp/tmpl8issd3y/tools/benchmark/metrics/run_all_hdr_metrics.sh', '/tmp/tmpl8issd3y/doc/tables/num_nonzeros_base.md', '/tmp/tmpl8issd3y/tools/viewer/main.cc', '/tmp/tmpl8issd3y/tools/benchmark/metrics/msssim-y.sh', '/tmp/tmpl8issd3y/doc/format_overview.md', '/tmp/tmpl8issd3y/doc/building_and_testing.md', '/tmp/tmpl8issd3y/tools/libjxl_test.c', '/tmp/tmpl8issd3y/tools/ssimulacra.txt', '/tmp/tmpl8issd3y/doc/developing_with_crossroad.md', '/tmp/tmpl8issd3y/tools/hdr/display_to_hlg.cc', '/tmp/tmpl8issd3y/tools/flicker_test/CMakeLists.txt', '/tmp/tmpl8issd3y/tools/ssimulacra.cc', '/tmp/tmpl8issd3y/tools/comparison_viewer/codec_comparison_window.h', '/tmp/tmpl8issd3y/doc/tables/num_nonzero_context.md', '/tmp/tmpl8issd3y/tools/wasm_demo/jxl_decompressor.cc', '/tmp/tmpl8issd3y/tools/benchmark/metrics/fsim-rgb.sh', '/tmp/tmpl8issd3y/tools/viewer/CMakeLists.txt', '/tmp/tmpl8issd3y/tools/wasm_demo/netlify.toml', '/tmp/tmpl8issd3y/doc/tables/ducky.md', '/tmp/tmpl8issd3y/.github/workflows/build_test_cross.yml', '/tmp/tmpl8issd3y/tools/speed_stats.cc', '/tmp/tmpl8issd3y/tools/upscaling_coefficients/generate_upscaling_coefficients.py', '/tmp/tmpl8issd3y/doc/benchmarking.md', '/tmp/tmpl8issd3y/tools/benchmark/metrics/lpips-rgb.sh', '/tmp/tmpl8issd3y/tools/comparison_viewer/settings.cc', '/tmp/tmpl8issd3y/tools/flicker_test/split_view.cc', '/tmp/tmpl8issd3y/tools/comparison_viewer/split_image_renderer.cc', '/tmp/tmpl8issd3y/tools/benchmark/benchmark_utils.cc', '/tmp/tmpl8issd3y/tools/tool_version.cc', '/tmp/tmpl8issd3y/tools/rans_fuzzer.cc', '/tmp/tmpl8issd3y/tools/ssimulacra.h', '/tmp/tmpl8issd3y/tools/conformance/generator.py', '/tmp/tmpl8issd3y/tools/codec_config.cc', '/tmp/tmpl8issd3y/tools/reference_zip.sh', '/tmp/tmpl8issd3y/tools/wasm_demo/one_line_demo_with_console.html', '/tmp/tmpl8issd3y/tools/demo_vardct_select.sh', '/tmp/tmpl8issd3y/doc/developing_in_github.md', '/tmp/tmpl8issd3y/tools/decode_basic_info_fuzzer.cc', '/tmp/tmpl8issd3y/tools/color_encoding_fuzzer.cc', '/tmp/tmpl8issd3y/tools/cjxl_fuzzer.cc', '/tmp/tmpl8issd3y/.github/workflows/highway.patch', '/tmp/tmpl8issd3y/tools/comparison_viewer/settings.h', '/tmp/tmpl8issd3y/tools/benchmark/metrics/prepare_metrics.sh', '/tmp/tmpl8issd3y/tools/jni/org/jpeg/jpegxl/wrapper/DecoderJni.java', '/tmp/tmpl8issd3y/tools/optimizer/simplex_fork.py', '/tmp/tmpl8issd3y/doc/sphinx/api_butteraugli.rst', '/tmp/tmpl8issd3y/.github/ISSUE_TEMPLATE/bug_report.md', '/tmp/tmpl8issd3y/tools/icc_codec_fuzzer.cc', '/tmp/tmpl8issd3y/tools/args.h', '/tmp/tmpl8issd3y/tools/wasm_demo/jxl_decoder.cc', '/tmp/tmpl8issd3y/tools/file_io.h', '/tmp/tmpl8issd3y/doc/tables/adobe.md', '/tmp/tmpl8issd3y/tools/cjpeg_hdr.cc', '/tmp/tmpl8issd3y/.github/workflows/conformance.yml', '/tmp/tmpl8issd3y/.github/workflows/fuzz.yml', '/tmp/tmpl8issd3y/tools/wasm_demo/netlify/edge-functions/precompressed.ts', '/tmp/tmpl8issd3y/tools/benchmark/metrics/hdr_plots.sh', '/tmp/tmpl8issd3y/doc/software_support.md', '/tmp/tmpl8issd3y/tools/box/CMakeLists.txt', '/tmp/tmpl8issd3y/tools/conformance/CMakeLists.txt', '/tmp/tmpl8issd3y/doc/sphinx/api_decoder.rst', '/tmp/tmpl8issd3y/tools/comparison_viewer/codec_comparison_window.ui', '/tmp/tmpl8issd3y/tools/wasm_demo/manual_decode_demo.html', '/tmp/tmpl8issd3y/tools/jni/org/jpeg/jpegxl/wrapper/ImageData.java', '/tmp/tmpl8issd3y/tools/build_cleaner.py', '/tmp/tmpl8issd3y/tools/hdr/generate_lut_template.cc', '/tmp/tmpl8issd3y/tools/cjxl_bisect_size', '/tmp/tmpl8issd3y/doc/release.md', '/tmp/tmpl8issd3y/doc/tables/markdown-pdf.css', '/tmp/tmpl8issd3y/tools/hdr/exr_to_pq.cc', '/tmp/tmpl8issd3y/tools/jni/org/jpeg/jpegxl/wrapper/PixelFormat.java', '/tmp/tmpl8issd3y/tools/roundtrip_test.sh', '/tmp/tmpl8issd3y/doc/sphinx/conf.py', '/tmp/tmpl8issd3y/doc/tables/app0.md', '/tmp/tmpl8issd3y/tools/cmdline.h', '/tmp/tmpl8issd3y/tools/CMakeLists.txt', '/tmp/tmpl8issd3y/tools/wasm_demo/service_worker.js', '/tmp/tmpl8issd3y/doc/developing_in_debian.md', '/tmp/tmpl8issd3y/tools/benchmark/metrics/vsi-rgb.sh', '/tmp/tmpl8issd3y/tools/fuzzer_corpus.cc', '/tmp/tmpl8issd3y/doc/api.txt', '/tmp/tmpl8issd3y/tools/hdr/texture_to_cube.cc', '/tmp/tmpl8issd3y/doc/tables/context_modes.md', '/tmp/tmpl8issd3y/doc/man/cjxl.txt', '/tmp/tmpl8issd3y/tools/benchmark/benchmark_codec_jxl.cc', '/tmp/tmpl8issd3y/tools/comparison_viewer/split_image_view.cc', '/tmp/tmpl8issd3y/doc/encode_effort.md', '/tmp/tmpl8issd3y/tools/cjxl_bisect_bpp', '/tmp/tmpl8issd3y/tools/benchmark/benchmark_codec.cc', '/tmp/tmpl8issd3y/tools/icc_detect/icc_detect.h', '/tmp/tmpl8issd3y/tools/codec_config.h', '/tmp/tmpl8issd3y/tools/hdr/pq_to_hlg.cc', '/tmp/tmpl8issd3y/tools/wasm_demo/README.md', '/tmp/tmpl8issd3y/tools/decode_and_encode.cc', '/tmp/tmpl8issd3y/tools/benchmark/metrics/ssimulacra.sh', '/tmp/tmpl8issd3y/tools/benchmark/metrics/pupsnr.sh', '/tmp/tmpl8issd3y/tools/optimizer/update_jpegli_global_scale.py', '/tmp/tmpl8issd3y/tools/benchmark/metrics/msssim-rgb.sh', '/tmp/tmpl8issd3y/doc/sphinx/api_common.rst', '/tmp/tmpl8issd3y/tools/benchmark/benchmark_codec_jpeg.h', '/tmp/tmpl8issd3y/tools/flicker_test/setup.cc', '/tmp/tmpl8issd3y/tools/benchmark/hm/README.md', '/tmp/tmpl8issd3y/tools/README.cjpeg_hdr.md', '/tmp/tmpl8issd3y/tools/box/box.h', '/tmp/tmpl8issd3y/tools/flicker_test/main.cc', '/tmp/tmpl8issd3y/.github/workflows/pull_request.yml', '/tmp/tmpl8issd3y/tools/benchmark/metrics/dists-rgb.sh', '/tmp/tmpl8issd3y/tools/benchmark/benchmark_codec_custom.h', '/tmp/tmpl8issd3y/doc/man/djxl.txt', '/tmp/tmpl8issd3y/tools/viewer/viewer_window.ui', '/tmp/tmpl8issd3y/tools/ssimulacra2_main.cc', '/tmp/tmpl8issd3y/doc/sphinx/api_encoder.rst', '/tmp/tmpl8issd3y/tools/viewer/viewer_window.h', '/tmp/tmpl8issd3y/tools/viewer/viewer_window.cc', '/tmp/tmpl8issd3y/tools/wasm_demo/build_site.py', '/tmp/tmpl8issd3y/tools/benchmark/metrics/pussim.sh', '/tmp/tmpl8issd3y/.github/workflows/debug_ci.yml', '/tmp/tmpl8issd3y/tools/hdr/render_hlg.cc', '/tmp/tmpl8issd3y/tools/benchmark/benchmark_codec_png.h', '/tmp/tmpl8issd3y/tools/check_author.py', '/tmp/tmpl8issd3y/tools/benchmark/benchmark_stats.h', '/tmp/tmpl8issd3y/tools/box/box_list_main.cc', '/tmp/tmpl8issd3y/doc/tables/is_zero_base.md', '/tmp/tmpl8issd3y/tools/comparison_viewer/codec_comparison_window.cc', '/tmp/tmpl8issd3y/tools/benchmark/metrics/gmsd-rgb.sh', '/tmp/tmpl8issd3y/doc/sphinx/api.rst', '/tmp/tmpl8issd3y/doc/sphinx/requirements.txt', '/tmp/tmpl8issd3y/tools/icc_detect/icc_detect_win32.cc', '/tmp/tmpl8issd3y/tools/benchmark/benchmark_codec_png.cc', '/tmp/tmpl8issd3y/tools/benchmark/benchmark_codec.h', '/tmp/tmpl8issd3y/tools/file_io.cc', '/tmp/tmpl8issd3y/tools/git_version.cmake', '/tmp/tmpl8issd3y/.github/ISSUE_TEMPLATE/feature_request.md', '/tmp/tmpl8issd3y/doc/tables/icc.md', '/tmp/tmpl8issd3y/tools/benchmark/benchmark_stats.cc', '/tmp/tmpl8issd3y/doc/tables/stock_quant.md', '/tmp/tmpl8issd3y/tools/benchmark/benchmark_xl.cc', '/tmp/tmpl8issd3y/tools/djxl_fuzzer_test.cc', '/tmp/tmpl8issd3y/tools/benchmark/benchmark_args.h', '/tmp/tmpl8issd3y/tools/benchmark/metrics/nlpd-y.sh', '/tmp/tmpl8issd3y/tools/flicker_test/parameters.cc', '/tmp/tmpl8issd3y/tools/wasm_demo/no_png.h', '/tmp/tmpl8issd3y/doc/developing_in_windows_msys.md', '/tmp/tmpl8issd3y/tools/benchmark/metrics/compute-hdrvdp.m', '/tmp/tmpl8issd3y/tools/cmdline.cc', '/tmp/tmpl8issd3y/doc/tables/stock_counts.md', '/tmp/tmpl8issd3y/tools/benchmark/benchmark_args.cc', '/tmp/tmpl8issd3y/tools/upscaling_coefficients/upscaler_demo.py', '/tmp/tmpl8issd3y/doc/vuln_playbook.md', '/tmp/tmpl8issd3y/.gitignore', '/tmp/tmpl8issd3y/tools/djxl_main.cc', '/tmp/tmpl8issd3y/doc/sphinx/api_threads.rst', '/tmp/tmpl8issd3y/tools/BUILD', '/tmp/tmpl8issd3y/tools/benchmark/metrics/mrse.sh', '/tmp/tmpl8issd3y/tools/benchmark/metrics/hdrvdp-fixes.patch', '/tmp/tmpl8issd3y/doc/tables/all_tables.sh', '/tmp/tmpl8issd3y/tools/benchmark/metrics/iqa.py', '/tmp/tmpl8issd3y/.github/workflows/release.yaml', '/tmp/tmpl8issd3y/tools/viewer/load_jxl.h', '/tmp/tmpl8issd3y/tools/jni/org/jpeg/jpegxl/wrapper/decoder_jni.h', '/tmp/tmpl8issd3y/tools/hdr/tone_map.cc', '/tmp/tmpl8issd3y/doc/building_wasm.md', '/tmp/tmpl8issd3y/tools/box/box_test.cc', '/tmp/tmpl8issd3y/tools/benchmark/metrics/sdr_plots.sh', '/tmp/tmpl8issd3y/tools/benchmark/benchmark_codec_avif.cc', '/tmp/tmpl8issd3y/tools/benchmark/metrics/plots.py', '/tmp/tmpl8issd3y/tools/benchmark/benchmark_file_io.cc', '/tmp/tmpl8issd3y/tools/benchmark/hm/encode.sh', '/tmp/tmpl8issd3y/tools/hdr/README.md', '/tmp/tmpl8issd3y/tools/benchmark/benchmark_file_io.h', '/tmp/tmpl8issd3y/tools/butteraugli_main.cc', '/tmp/tmpl8issd3y/tools/benchmark/benchmark_codec_jxl.h', '/tmp/tmpl8issd3y/tools/benchmark/metrics/iqa_wrapper.sh', '/tmp/tmpl8issd3y/doc/tables/nonzero_buckets.md', '/tmp/tmpl8issd3y/tools/conformance/tooling_test.sh', '/tmp/tmpl8issd3y/tools/flicker_test/setup.h', '/tmp/tmpl8issd3y/tools/fields_fuzzer.cc', '/tmp/tmpl8issd3y/tools/benchmark/benchmark_codec_avif.h', '/tmp/tmpl8issd3y/tools/icc_detect/icc_detect_x11.cc', '/tmp/tmpl8issd3y/doc/tables/symbol_order.md', '/tmp/tmpl8issd3y/tools/fuzzer_stub.cc', '/tmp/tmpl8issd3y/tools/wasm_demo/one_line_demo.html', '/tmp/tmpl8issd3y/tools/flicker_test/setup.ui', '/tmp/tmpl8issd3y/tools/jxl_from_tree.cc', '/tmp/tmpl8issd3y/tools/benchmark/metrics/compute_octave_metric.sh', '/tmp/tmpl8issd3y/doc/fuzzing.md', '/tmp/tmpl8issd3y/tools/djxl_fuzzer.cc', '/tmp/tmpl8issd3y/tools/wasm_demo/client_worker.js', '/tmp/tmpl8issd3y/tools/comparison_viewer/image_loading.h', '/tmp/tmpl8issd3y/tools/comparison_viewer/image_loading.cc', '/tmp/tmpl8issd3y/tools/jni/org/jpeg/jpegxl/wrapper/StreamInfo.java', '/tmp/tmpl8issd3y/tools/build_stats.py', '/tmp/tmpl8issd3y/tools/ossfuzz-build.sh', '/tmp/tmpl8issd3y/tools/progressive_sizes.sh', '/tmp/tmpl8issd3y/tools/conformance/lcms2.py', '/tmp/tmpl8issd3y/tools/benchmark/benchmark_codec_webp.h', '/tmp/tmpl8issd3y/tools/jni/org/jpeg/jpegxl/wrapper/Decoder.java', '/tmp/tmpl8issd3y/doc/tables/freq_context.md', '/tmp/tmpl8issd3y/tools/ssimulacra2.h', '/tmp/tmpl8issd3y/tools/wasm_demo/no_png.cc', '/tmp/tmpl8issd3y/doc/sphinx/index.rst', '/tmp/tmpl8issd3y/tools/benchmark/benchmark_utils.h', '/tmp/tmpl8issd3y/doc/tables/stock_values.md', '/tmp/tmpl8issd3y/tools/conformance/conformance.py', '/tmp/tmpl8issd3y/tools/comparison_viewer/split_image_view.h', '/tmp/tmpl8issd3y/tools/box/box.cc', '/tmp/tmpl8issd3y/tools/comparison_viewer/CMakeLists.txt', '/tmp/tmpl8issd3y/tools/ssimulacra_main.cc', '/tmp/tmpl8issd3y/doc/color_management.md', '/tmp/tmpl8issd3y/tools/comparison_viewer/settings.ui', '/tmp/tmpl8issd3y/tools/ssimulacra2.cc', '/tmp/tmpl8issd3y/tools/transforms_fuzzer.cc', '/tmp/tmpl8issd3y/tools/tool_version.h', '/tmp/tmpl8issd3y/tools/benchmark/metrics/ssim-rgb.sh', '/tmp/tmpl8issd3y/doc/tables/dct_gen.md', '/tmp/tmpl8issd3y/tools/benchmark/metrics/compute-pumetrics.m', '/tmp/tmpl8issd3y/tools/wasm_demo/jxl_decoder_test.js', '/tmp/tmpl8issd3y/tools/jxlinfo.c', '/tmp/tmpl8issd3y/tools/benchmark/metrics/hdrvdp.sh', '/tmp/tmpl8issd3y/tools/speed_stats.h', '/tmp/tmpl8issd3y/doc/developing_in_docker.md', '/tmp/tmpl8issd3y/tools/flicker_test/test_window.h', '/tmp/tmpl8issd3y/tools/benchmark/benchmark_codec_jpeg.cc', '/tmp/tmpl8issd3y/tools/xyb_range.cc', '/tmp/tmpl8issd3y/doc/tables/all_tables.pdf', '/tmp/tmpl8issd3y/tools/flicker_test/test_window.cc', '/tmp/tmpl8issd3y/tools/jni/org/jpeg/jpegxl/wrapper/decoder_jni_onload.cc', '/tmp/tmpl8issd3y/tools/comparison_viewer/split_image_view.ui', '/tmp/tmpl8issd3y/tools/bisector', '/tmp/tmpl8issd3y/tools/wasm_demo/CMakeLists.txt', '/tmp/tmpl8issd3y/doc/developing_in_windows_vcpkg.md', '/tmp/tmpl8issd3y/doc/xl_overview.md', '/tmp/tmpl8issd3y/tools/flicker_test/split_view.h', '/tmp/tmpl8issd3y/tools/benchmark/metrics/vif-rgb.sh', '/tmp/tmpl8issd3y/doc/jxl.svg', '/tmp/tmpl8issd3y/tools/cjxl_main.cc', '/tmp/tmpl8issd3y/tools/benchmark/metrics/run_all_sdr_metrics.sh', '/tmp/tmpl8issd3y/tools/flicker_test/test_window.ui', '/tmp/tmpl8issd3y/tools/wasm_demo/jxl_decoder.h', '/tmp/tmpl8issd3y/tools/icc_detect/icc_detect_empty.cc', '/tmp/tmpl8issd3y/tools/viewer/load_jxl.cc', '/tmp/tmpl8issd3y/doc/tables/brn_proto.md', '/tmp/tmpl8issd3y/doc/tables/quant.md', '/tmp/tmpl8issd3y/tools/progressive_saliency.conf', '/tmp/tmpl8issd3y/tools/flicker_test/parameters.h']
Copying to third_party/jpeg-xl.
Checking for update actions
Registering changes with version control.
Checking for a spurious update.
Version 'be70f17fa7fe55b8826642d83805cf441426d5d0' has changed 129 files.
Updating moz.yaml.
Found release: 27f0ffaf77ca9d08222bb17406483ae4509de4dd (2023-01-13T06:02:06Z).

Found revision: 27f0ffaf77ca9d08222bb17406483ae4509de4dd

Updating moz.build files
Found 13 files added and 13 files removed.
Could not add third_party/jpeg-xl/lib/extras/jpegli_test.cc to the appropriate moz.build file
Could not add third_party/jpeg-xl/lib/jpegli/adaptive_quantization.cc to the appropriate moz.build file
Could not add third_party/jpeg-xl/lib/jpegli/bitstream.cc to the appropriate moz.build file
Could not add third_party/jpeg-xl/lib/jpegli/memory_manager.cc to the appropriate moz.build file
Could not remove third_party/jpeg-xl/lib/jxl/gaborish.cc from the appropriate moz.build file
Could not remove third_party/jpeg-xl/lib/jxl/gaborish.h from the appropriate moz.build file
Could not remove third_party/jpeg-xl/lib/jxl/gaborish_test.cc from the appropriate moz.build file
Could not remove third_party/jpeg-xl/lib/jxl/huffman_tree.cc from the appropriate moz.build file
Could not remove third_party/jpeg-xl/lib/jxl/huffman_tree.h from the appropriate moz.build file
Could not remove third_party/jpeg-xl/lib/jxl/linalg.cc from the appropriate moz.build file
Could not remove third_party/jpeg-xl/lib/jxl/linalg.h from the appropriate moz.build file
Could not remove third_party/jpeg-xl/lib/jxl/linalg_test.cc from the appropriate moz.build file
Could not remove third_party/jpeg-xl/lib/jxl/optimize.cc from the appropriate moz.build file
Could not remove third_party/jpeg-xl/lib/jxl/optimize.h from the appropriate moz.build file
Could not remove third_party/jpeg-xl/lib/jxl/optimize_test.cc from the appropriate moz.build file
Could not remove third_party/jpeg-xl/lib/jxl/progressive_split.cc from the appropriate moz.build file
Could not remove third_party/jpeg-xl/lib/jxl/progressive_split.h from the appropriate moz.build file
This is a deficiency in ./mach vendor . Please review the affected files before committing.

We're going to continue processing the update; but we may fail because we couldn't handle these files. If we do succeed, you may want to add these files to the 'exclude' key in the moz.yaml file, so they are excluded from the source tree and ignored in the future.

It looks like we experienced one or more build failures when trying to apply this
update. You will need to apply this update manually; you can replicate the patch
locally with ./mach vendor media/libjxl/moz.yaml. I'm going to abandon the Phabricator patch and
let you submit a new one.

If the build failure wasn't caused by a library change, and was instead caused by
something structural in the build system please let my maintainers know in
Slack:#secinf.

I do my best to automatically add new files to the build, but some moz.build files
are complicated and you may need to fix them manually.

Flags: needinfo?(krosylight)
Attachment #9316006 - Attachment is obsolete: true
Flags: needinfo?(krosylight)
Assignee: nobody → krosylight
Status: NEW → ASSIGNED

Backed out changeset 542d479c4f57 (Bug 1815088) for causing build bustages jxl.
Backout link
Push with failures
Failure Log

Flags: needinfo?(krosylight)
Flags: needinfo?(krosylight)
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 111 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: