Commit Graph
113 Commits
Author SHA1 Message Date
4DBug ace198690f Merge branch 'ws/arch-bzip2' into ws/arch 2026-10-31 08:30:49 -05:00
4DBug 17106c2eb1 ws-arch: codecs/Raster: antialiased signed-area scanline rasterizer (lines, quads, cubics, affine transforms, nonzero + even-odd, clip, masks, fill with colour or paint function, polygon stroker with caps/joins); tests vs a supersampled winding reference 2026-10-31 08:30:45 -05:00
4DBug 4d84222c45 data: regenerate docs/FORMATS.md (codecs/Json) 2026-10-31 08:30:11 -05:00
4DBug 8ea439a338 absorb: mp3 (audio/mp3 from mp3-luau c755bbf, minimp3 port): streaming Decoder + decode to Audio, sniff, ID3 tags in dec.tags (strings) / dec.id3; tests vs minimp3 refs + ffmpeg + lame streams, robust, tags, fuzz; bench lines (tools/bench.sh also builds the mp3 fixtures) 2026-10-31 08:30:06 -05:00
4DBug e26de7cda8 absorb: apng decode (acTL/fcTL/fdAT -> img.frames, loops, hidden default image, sequence/rect/limit checks), Png.composite (dispose/blend, byte-exact with ffmpeg), APNG encoder from img.frames; tests vs ffmpeg + hand-made APNGs 2026-10-31 08:28:47 -05:00
4DBug b7018b6bfb ws-arch: codecs/Bzip2 (bzip2 decompressor: Huffman groups, MTF/RUNA/RUNB, inverse BWT, RLE1, block + stream CRCs, concatenated streams) + archive/bz2 (single-stream archive); tests vs Python bz2 (libbzip2) on both runtimes 2026-10-31 08:27:55 -05:00
4DBug dfe3d3afd3 vec: subtitle/srt, subtitle/vtt, subtitle/ass (SSA too) read + write into Subtitles; tests against ffmpeg conversions, round trips, fuzz 2026-10-31 08:27:04 -05:00
4DBug 66df4a2254 audio: merge ws/m4a codecs/Mdct (6535a3c) 2026-10-31 08:26:15 -05:00
4DBug aea16eeec7 audio: drop our codecs/Mdct: ws-m4a landed theirs first (960107b), merging it instead 2026-10-31 08:26:10 -05:00
4DBug ba91879bc5 imgA: codecs/Lzw (GIF LSB + TIFF MSB early-change, old-style TIFF LZW) with Pillow / libtiff fixtures; api passes opts.decodeImage / encodeImage hooks to formats (embedded PNG in ICO, JPEG in TIFF)
Change outside the ws folders: src/Formats/init.luau gains withHooks(): F.load / F.save hand decoders / encoders
opts.decodeImage(buf) and opts.encodeImage(img, format) unless the caller passed its own, so a format can decode an
embedded image of another format without requiring it (LAYERS). Backward compatible: formats ignore unknown opts.
2026-10-31 08:25:55 -05:00
4DBug b94692d4c0 audio: codecs/Mdct (FFT, DCT-IV, MDCT/IMDCT, windows) + test; codecs/Pcm (Audio|Decoder pull source for encoders, int<->float); tools/fixtures/_audio.py (signals, ffmpeg decode, SNR, run Luau in the fixture step) 2026-10-31 08:25:52 -05:00
4DBug 859a96ea79 ws-m4a: regenerate docs/FORMATS.md 2026-10-31 08:25:23 -05:00
4DBug cdcb5b0b77 formats-luau foundation: build (darklua + token passes) for Roblox and LuaJIT, compat prelude, core, Types, host adapters, API + registry, lint, tests on both runtimes; absorb deflate (codecs/Deflate + new compressor) and png (image/png + new encoder) 2026-10-31 08:18:01 -05:00