9.9 KiB
9.9 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/codecs/Brotli/Static.luau (static dictionary, context lookup table, word transforms; generated by tools/brotli_static.py), src/Formats/codecs/Brotli/Decode.luau (written from RFC 7932, structure after the reference decoder) |
google/brotli | MIT: brotli-LICENSE.txt |
src/Formats/codecs/Lzma/, src/Formats/archive/xz/, src/Formats/archive/7z/ |
written from the LZMA specification / LzmaSpec.cpp and 7zFormat.txt (LZMA SDK, Igor Pavlov), the xz file format specification and xz-embedded's BCJ filters (Lasse Collin) | all public domain: lzma-xz-PUBLIC-DOMAIN.txt |
src/Formats/codecs/TrueType/, src/Formats/codecs/Cff/ |
stb_truetype 1.26 (Sean Barrett), via imgui-luau's imstb_truetype.lua; fixed and extended |
MIT or public domain: stb_truetype-LICENSE.txt |
src/Formats/containers/Ogg/ (init, Page) |
ogg-luau be9f604 (same author), written from RFC 3533 | no licence chosen yet; no third-party code |
src/Formats/audio/wav/, src/Formats/containers/Riff/ (the chunk walker) |
wav-luau fd9a909 (same author), written from the RIFF / WAVE / RF64 (EBU Tech 3306) specifications | no licence chosen yet; no third-party code |
src/Formats/audio/mp3/ |
mp3-luau c755bbf (same author), a port of minimp3 by lieff (https://github.com/lieff/minimp3) | minimp3: CC0 1.0, minimp3-CC0.txt |
tests/fixtures/mp3/ |
made by ffmpeg (libmp3lame / mp2) from a synthetic signal; *.ref are minimp3 decodes of them |
test data, no third-party content |
src/Formats/audio/opus/ (Decoder, Celt, Silk, Mdct, RangeDecoder, Packet, CeltTables, SilkTables) |
opus-luau dd2b4e5 (same author): a port of the libopus 1.6 decoder (git bafd40dcbd50; tables generated from its sources); the stereo downmix weights follow opusfile | libopus BSD 3-clause (Xiph.Org, Skype, Octasic, J.-M. Valin, T. B. Terriberry, CSIRO, G. Maxwell, M. Borgerding, E. de Castro Lopo, Mozilla, Amazon), opusfile BSD 3-clause: libopus-BSD.txt |
src/Formats/audio/vorbis/ (Setup, Codebook, Packet, Tables) |
a Luau port of stb_vorbis 1.22 by Sean Barrett (https://github.com/nothings/stb): setup parsing, codebooks, floor 1, residues, coupling (the IMDCT is codecs/Mdct; the timing follows libvorbis / the spec) | public domain or MIT (dual): stb_vorbis-LICENSE.txt |
src/Formats/audio/flac/ |
flac-luau 7083d0d (same author), written from RFC 9639 | no licence chosen yet; no third-party code |
src/Formats/image/bmp/ |
bmp-luau b86aed6 (same author), written from the Microsoft BMP documentation | no licence chosen yet; no third-party code |
tests/fixtures/bmpsuite/ |
BMP Suite 2.8 by Jason Summers (generated images) | public domain: bmpsuite-NOTICE.txt |
src/Formats/containers/Zip/ (the reader), src/Formats/archive/zip/ |
zip-luau 121d4b0 (same author), written from PKWARE's APPNOTE.TXT 6.3 | no licence chosen yet; no third-party code |
src/Formats/audio/mp3/EncTables.luau (ws-audio encoders) |
PDMP3 by Krister Lagerström et al. (https://github.com/technosaurus/PDMP3): the ISO/IEC 11172-3 synthesis window and layer III Huffman trees | public domain (unlicense): PDMP3-UNLICENSE.txt |
src/Formats/playlist/ (m3u, pls; xspf is new), src/Formats/codecs/Url/, src/Formats/codecs/Text/ |
playlist-luau 3fc7fd3 (same author), written from RFC 3986 / RFC 8216 | no licence chosen yet; no third-party code |
src/Formats/codecs/Jpeg/ (Decode, Scan, Color, Yuv; moved from image/jpeg), 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/codecs/Jpeg/Arith.luau, src/Formats/codecs/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 |
src/Formats/codecs/Mpeg1/ (init, Decoder, Vlc, Tables) |
mpeg1-luau e2e2898 (same author), a port of jsmpeg's MPEG-1 video decoder (https://github.com/phoboslab/jsmpeg, src/mpeg1.js; the tables are generated from it) by Dominic Szablewski | MIT: jsmpeg-MIT.txt |
src/Formats/containers/MpegTs/ |
mpegts-luau 6e16197 (same author), written from ISO/IEC 13818-1 | no licence chosen yet; no third-party code |
src/Formats/codecs/Aac/Tables.luau |
the Huffman codebooks, scalefactor band offsets and TNS limits of ISO/IEC 14496-3 (Annex 4.A), transcribed mechanically from FFmpeg's libavcodec/aactab.c (tables of the standard only; no FFmpeg code) |
FFmpeg is LGPL-2.1-or-later; the tables are the standard's data |
src/Formats/codecs/Aac/, codecs/Alac/, codecs/Mdct/, containers/IsoBmff/, audio/m4a, audio/aac, audio/caf |
written for this library from ISO/IEC 14496-3 / 14496-12 / 23008-12, Apple's ALAC and CAF specifications | no third-party code |
src/Formats/audio/opus/CeltEncoder.luau, src/Formats/audio/opus/RangeEncoder.luau |
the encoder side of libopus 1.6 (celt_encoder.c, entenc.c, quant_bands.c, laplace.c, rate.c, bands.c, vq.c, cwrs.c), ported to mirror the absorbed decoder; analysis simplified (ws-m4a) | libopus BSD 3-clause: libopus-BSD.txt |
tests/fixtures/pngsuite/ |
PngSuite by Willem van Schaik | PngSuite-LICENSE.txt |
tests/fixtures/vox/{chr_knight,chr_sword,deer,maze}.vox, tests/fixtures/vox/MagicaVoxel-file-format-vox*.txt (the format spec) |
ephtracy/voxel-model (MagicaVoxel sample models) | MIT: voxel-model-LICENSE.txt |
tests/fixtures/vox/ogt_*.vox |
jpaver/opengametools demo/vox/ (files saved by MagicaVoxel 0.99.x) |
MIT: opengametools-LICENSE.txt |
tests/fixtures/gltf/ |
KhronosGroup/glTF-Sample-Assets Models/ (one LICENSE.md per model folder; UnicodeTest is Unicode❤♻Test renamed) |
CC-BY-4.0 or CC0-1.0 per model, see each folder's LICENSE.md |
src/Formats/codecs/Vp8/ (Decode, Yuv, Tables), src/Formats/codecs/Vp8L/Decode.luau, src/Formats/image/webp/ (Alpha unfilters, Anim.coalesce) |
ports of libwebp 1.6.0 (Google): src/dec, src/dsp, src/utils, src/demux/anim_decode.c | BSD-3-Clause + patent grant: libwebp-LICENSE.txt |
src/Formats/codecs/Tracker/, src/Formats/music/{mod,s3m,xm,it}/ |
written for this library from the format documents: ProTracker 2.3 effect docs, the XM specification (Mr.H / Triton) and FT2 behaviour notes, ST3 TECH.DOC (Sami Tammilehto / Future Crew), ITTECH.TXT (Jeffrey Lim); OpenMPT (libopenmpt, BSD) was used only as the reference player in the tests, and its documented playback quirks (mix levels, MOD panning, FT2 E6x / tremor / instrument behaviour) are matched | no third-party code |
tools/fixtures/{mod,s3m,xm,it}.py test modules |
generated by the fixture scripts (synthesized samples) | no third-party data |
src/Formats/codecs/SoundFont/ (Synth, the zone merging in Parse) |
port of TinySoundFont v0.9 (tsf.h) by Bernhard Schelling, based on SFZero by Steve Folta | MIT: TinySoundFont-LICENSE.txt |
src/Formats/codecs/Vp8/ inter frames (Decode: inter headers / modes / motion vectors / references, Predict, the inter tables in Tables) |
Luau translations of libvpx 1.17 (WebM Project): vp8/decoder/decodeframe.c, decodemv.c, onyxd_if.c; vp8/common/findnearmv.c, reconinter.c, filter.c, vp8_loopfilter.c, entropymode.c, entropymv.c, modecont.c | BSD-3-Clause + patent grant: libvpx-LICENSE.txt |
tests/fixtures/vp8video/vp80-*.ivf |
the VP8 test vectors of the libvpx test data (vp80-00-comprehensive-001..018 and others) | WebM Project, BSD-3-Clause + patent grant: libvpx-LICENSE.txt |
src/Formats/codecs/H264/ (Tables: CAVLC / CABAC / deblocking / scaling constant tables of ITU-T H.264, extracted from openh264 sources; the decoder itself is written from the spec) |
openh264 2.x (Cisco) | BSD-2-Clause: openh264-LICENSE.txt |
src/Formats/codecs/video/Dsp.luau (the 8x8 IDCT: jrevdct.c translated to Luau, branch tree and constants unchanged) |
IJG jrevdct.c as shipped in ffmpeg (libavcodec/jrevdct.c; IJG-licensed, not LGPL: ffmpeg's LICENSE.md) | IJG: libjpeg-README.ijg. This software is based in part on the work of the Independent JPEG Group. |
tests/gen/h264_jvt (downloaded at fixture time, not committed) |
ITU-T H.264.1 / JVT conformance bitstreams (itu.int) | ITU-T test data |
src/Formats/codecs/video/Theora/ (Header, Decoder) |
a Luau port of the libtheora 1.2.0 decoder (Xiph.Org; decinfo.c, dequant.c, quant.c, huffdec.c, decode.c, state.c, idct.c, fragment.c) checked against the Theora I specification; the token storage is simplified (coefficients per fragment) and the post-processing is not ported | BSD 3-clause: libtheora-BSD.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").