Files
rosetta/licenses/NOTICE.md
T
4DBug 692ef055de imgA: image/jpeg (absorbed jpeg-luau decoder + arithmetic coding, meta, EXIF orientation, encoder byte-identical to cjpeg) and codecs/Dct
- codecs/Dct: jpeg-luau's islow / reduced IDCTs + a forward islow DCT with jcdctmgr.c's quantiser; tests/codecs/dct.luau
- image/jpeg: Decode (marker parser, absorbed + reader ranges, SOF9/SOF10 + DAC, EXIF / ICC / COM / JFIF density),
  Scan + Color (absorbed), Arith (jdarith.c port), Encode (baseline / optimised / progressive, 444/422/420, restarts,
  APP1/APP2/COM from meta), Tables (annex K)
- tests: 115 cjpeg/jpegtran/Pillow files, 444 decodes bit-exact with djpeg at 1, 1/2, 1/4, 1/8 (104 arithmetic),
  38 encodes byte-identical to cjpeg (so djpeg decodes them), orientation, meta, truncation, fuzz
- licenses: libjpeg-turbo LICENSE + README.ijg, NOTICE rows
- tools/bench.luau: jpeg block; tools/bench.sh runs every fixture generator (bench blocks read their outputs)
2026-10-31 08:44:15 -05:00

1.6 KiB

Third-party code, absorbed repositories and test data

Where From Licence
src/Formats/codecs/Deflate/ (Inflate, init), src/Formats/core/Crc32.luau, src/Formats/core/Adler32.luau, src/Formats/core/Huffman.luau (table builder) deflate-luau 1.0.0 (same author), written from RFC 1950-1952 no licence chosen yet; no third-party code: deflate-luau-NOTICE.txt
src/Formats/image/png/ (init, Decode) png-luau 1.0.0 (same author), written from the PNG specification no licence chosen yet; no third-party code
src/Formats/image/jpeg/ (Decode, Scan, Color), src/Formats/codecs/Dct/ (inverse DCTs) jpeg-luau 1.0 (same author); the IDCTs, upsampling, colour conversion and IDCT-size choice are Luau translations of libjpeg / libjpeg-turbo (jidctint.c, jidctred.c, jdsample.c, jdcolor.c, jdmaster.c) IJG licence + libjpeg-turbo BSD: libjpeg-turbo-LICENSE.md, libjpeg-README.ijg. This software is based in part on the work of the Independent JPEG Group.
src/Formats/image/jpeg/Arith.luau, src/Formats/image/jpeg/Encode.luau, src/Formats/codecs/Dct/ (forward DCT) new; Luau translations of libjpeg-turbo 3.2 jdarith.c / jaricom.c (Guido Vollbeding), jccolor.c, jcsample.c, jccoefct.c, jfdctint.c, jcdctmgr.c, jchuff.c, jcphuff.c, jcparam.c as above
tests/fixtures/pngsuite/ PngSuite by Willem van Schaik PngSuite-LICENSE.txt

Ports of third-party code (minimp3, stb_vorbis, libopus, ...) add a row here and their upstream licence text in this folder (see docs/STYLE.md, "Absorbing an existing repo").