Commit Graph
144 Commits
Author SHA1 Message Date
4DBug 6941b63435 merge ws/audio 2026-10-31 09:37:28 -05:00
4DBug 279304ef30 fixtures: tracker generators load _tracker by path (tools/fixtures/ on sys.path shadowed xml with xml.py) 2026-10-31 09:34:04 -05:00
4DBug c56d2ac71d merge ws/music 2026-10-31 09:33:13 -05:00
4DBug ea2e171bf0 ws-music: loop test compares durations at their own rates 2026-10-31 09:32:26 -05:00
4DBug 4b5194f343 ws-music: tracker seek / loop tests 2026-10-31 09:32:09 -05:00
4DBug 7754646a86 ws-music: music/it read + render (IT 2.14/2.15 decompression, NNA, filters, pitch-pan, OpenMPT note-fade coding), tracker tests tightened, MOD->XM + API checks, tracker bench lines, NOTICE 2026-10-31 09:31:34 -05:00
4DBug 9fd479e2d3 ws-audio: merge master (ws/m4a codecs/Mdct already in use since 6535a3c; audio/opus encoder, data, vec, 3d, webp) 2026-10-31 09:29:36 -05:00
4DBug cb05744367 ws-audio: Vorbis encoder (audio/vorbis/Encode: long blocks, floor 1 fit to the envelope, square-polar coupling, residue 2 with 6 classes + cascades, fixed Laplacian-Huffman codebooks, exact granules, Ogg via containers/Ogg Mux) wired into audio/vorbis encode; fixtures: ogginfo clean, oggdec exact lengths + SNR floors, ffmpeg; bench line 2026-10-31 09:29:09 -05:00
4DBug 55e50e203d test.sh: skip _helper modules (tests/**/_*.luau) 2026-10-31 09:24:14 -05:00
4DBug e1ffb21494 merge ws/m4a 2026-10-31 09:23:57 -05:00
4DBug 1749b9b9fc ws-m4a: m4a extensions (m4a, m4b, m4r) 2026-10-31 09:23:26 -05:00
4DBug 84d45c8190 ws-m4a: CELT-only Opus encoder in audio/opus (RangeEncoder + CeltEncoder ported from the libopus 1.6 encoder paths to mirror the absorbed decoder: 20 ms full-band CBR, mono and mid/side stereo, silence frames; Encode: Ogg Opus with OpusHead/OpusTags, end trimming, 48 kHz resampling); checked by opusdec / opusinfo / ffmpeg; Opus.caps.encode = true (opus test updated), deps += codecs/Mdct 2026-10-31 09:22:52 -05:00
4DBug 929b5d6d53 ws-audio: MP3 layer III encoder (Encode3: shine-style CBR, MPEG-1/2/2.5, mono/stereo/joint MS, global-gain rate loop, region/table choice, count1 A/B) + MP2 layer II encoder (Encode2: standard alloc tables, greedy noise allocation, grouping), shared polyphase Analysis, EncTables (PDMP3 public-domain window + Huffman trees -> codeword tables); mp3 init encode() with ID3v2.4; fixtures decode with ffmpeg + lame (no errors, SNR floors); bench lines 2026-10-31 09:18:23 -05:00
4DBug 8b8b64885f ws-music: music/xm read/write/render (FT2 / OpenMPT instrument, tremor, envelope and E6x quirks), tone portamento never starts MOD/XM notes 2026-10-31 09:18:07 -05:00
4DBug 646d18f056 merge ws/webp 2026-10-31 09:12:40 -05:00
4DBug 1c24e03cd7 merge ws/vec: svg (+raster), psd, aseprite, tiled, srt/vtt/ass, codecs/Blend, core/Base64, ops/LayerOps 2026-10-31 09:12:40 -05:00
4DBug 5832e65eef ws-webp: raw ALPH fixtures with every filter (horizontal / vertical / gradient), Config type fix 2026-10-31 09:09:35 -05:00
4DBug 5aae65181f vec: bench lines (psd decode/encode, flatten, svg parse/rasterize); psd: fast 8-bit RGB/grey channel merge 2026-10-31 09:09:26 -05:00
4DBug d19c949e95 ws-webp: merge ws/absorb (containers/Riff); image/webp reads and writes its chunks through containers/Riff (private chunk reader removed); bench lines merged; registry regenerated 2026-10-31 09:08:44 -05:00
4DBug 381510c3c5 merge ws/3d: obj stl ply off vox gltf/glb, ops/MeshOps, codecs Base64/MeshFlatten, api sibling files + texture encoding 2026-10-31 09:08:22 -05:00
4DBug 8e9309a06f compat test: NaN checks use Suite.check; host: raise LuaJIT trace / mcode limits (opt-out FORMATS_NO_JIT_TUNE) 2026-10-31 09:07:40 -05:00
4DBug 29a95ce24f ws-m4a: merge ws/absorb (audio/opus, containers/Ogg, ...) for the CELT encoder; m4a fixtures load their helper by path (tools/fixtures/ on sys.path shadowed the xml package) 2026-10-31 09:07:22 -05:00
4DBug 94f9a68d50 compat: float reads return the canonical NaN for NaN payloads (checked through the bits: no aliased LuaJIT object values); host: raise LuaJIT trace / mcode limits (opt-out FORMATS_NO_JIT_TUNE) 2026-10-31 09:07:07 -05:00
4DBug 002e31e359 ws-3d: bench lines (glTF / OBJ / STL / PLY / VOX decode, glTF / OBJ encode, computeNormals, greedy meshing) 2026-10-31 09:06:05 -05:00
4DBug 6c54b0c6d5 vec: vector/svg (parse to Vector: paths/arcs, shapes, transforms, groups, use/symbol/nested svg, CSS subset, gradients, opacity groups, clip paths, units; rasterize via codecs/Raster + codecs/Blend; write SVG back). Tests vs resvg (PSNR) incl. resvg rendering our written SVG 2026-10-31 09:06:01 -05:00
4DBug 3f2be59a65 ws-audio: tests/audio/flac.luau: caps.encode is now true, F.save flac works 2026-10-31 09:05:04 -05:00
4DBug 73004015c8 ws-audio: tests/audio/flac.luau: caps.encode is now true 2026-10-31 09:04:45 -05:00
4DBug 4f89180c3d ws-3d: tests/ops/meshops (triangulate, transform, normals, tangents, weld, merge, bounds, units, up axis, greedy voxels, api texture encoding) 2026-10-31 09:04:33 -05:00
4DBug c74c93ae11 ws-audio: FLAC encoder (audio/flac/Encode: levels 0-8 like libFLAC presets, fixed + LPC + Rice/Rice2 partition search, wasted bits, stereo decorrelation, MD5, VORBIS_COMMENT, SEEKTABLE, padding; streams from a Decoder) wired into audio/flac encode; core/Md5 (new core module, RFC 1321) + test; fixtures: flac -t + MD5 bit-exact on 76 encodes, sizes within 1.1% of libFLAC; bench lines 2026-10-31 09:04:31 -05:00
4DBug a7ed692156 ws-m4a: bench lines (AAC-LC / ALAC decode, ALAC encode, MDCT; bench.sh also builds the m4a fixtures); m4a decoder bitrate from the sample sizes 2026-10-31 09:04:03 -05:00
4DBug 66c373bbec bench.luau: rebuilt after the wave-1 merges (all workstreams' blocks) 2026-10-31 09:03:36 -05:00
4DBug 83d43f6c6d ws-m4a: codecs/Aac (AAC-LC decoder: ASC / PCE / ADTS, all tools, SBR/PS extension hook), codecs/Alac (decoder + encoder), audio/m4a (AAC + ALAC read, ALAC write, tags, gapless, seek), audio/aac (ADTS), audio/caf (lpcm/alac/aac/ulaw/alaw read, lpcm/alac write); fixtures checked by ffmpeg / fdkaac / MP4Box 2026-10-31 09:03:04 -05:00
4DBug 7a6ba8ef10 ws-webp: inline the boolean decoder in the VP8 token loop, cheaper loop-filter tests, no closures in 4x4 prediction; speed notes 2026-10-31 09:03:02 -05:00
4DBug e379f27eb8 ws-3d: regenerate Registry.luau / docs/FORMATS.md 2026-10-31 09:02:59 -05:00
4DBug 20ca5a054d ws-3d: model/gltf (glTF 2.0 JSON + GLB read/write: accessors of every type incl. normalized/sparse/strided/padded matrices, PBR + KHR_materials_*, KHR_texture_transform, images kept encoded, samplers, cameras, KHR_lights_punctual, skins, animations, morph targets, KHR_mesh_quantization, extras/unknown extensions round trip); Khronos sample assets + gltfpack + assimp fixtures 2026-10-31 09:02:59 -05:00
4DBug 35891a06d1 ws-3d: model/stl (ASCII + binary, VisCAM / Magics colours), model/ply (ASCII + binary LE/BE, arbitrary properties, point clouds, raw extra elements), model/off (OFF/COFF/NOFF/STOFF, face colours), read + write; codecs/MeshFlatten (Scene -> one world-space mesh for the mesh-only writers, shared instead of a copy per format); tests vs assimp / trimesh / plyfile, reference tools reading our output 2026-10-31 09:02:59 -05:00
4DBug c56ca75ed2 ws-webp: encoder tries several transform configurations at effort 6+ (palette vs predictor, tile sizes); argument validation in encode / coalesce; NOTICE row for the libwebp ports 2026-10-31 09:00:59 -05:00
4DBug ca262e19df merge ws/imgA: jpeg gif tiff tga qoi pnm ico hdr, codecs Dct/Lzw/Quantize, ops/ImageOps, api image hooks 2026-10-31 09:00:39 -05:00
4DBug b51f5be542 merge ws/absorb: bmp wav mp3 flac opus zip playlists (+APNG, writers), containers Ogg/Riff/Zip, codecs Url/Text 2026-10-31 09:00:09 -05:00
4DBug 6c49ab38dd ws-music: untrack debug probes 2026-10-31 09:00:08 -05:00
4DBug cf7c1b8ad2 ws-music: music/s3m read + render (OpenMPT-matched master volume / mono rule / default panning), finer comparison bands, voice ownership fix 2026-10-31 09:00:04 -05:00
4DBug e8d2ba81c2 merge ws/data: codecs Json/Xml, data json xml csv ini toml yaml msgpack cbor plist 2026-10-31 08:59:44 -05:00
4DBug 5977b60df6 ws-webp: codec tests (vp8, vp8l), bench lines, type fixes 2026-10-31 08:58:17 -05:00
4DBug 134d05fdfa licenses: stb_truetype (TrueType / Cff port) 2026-10-31 08:58:10 -05:00
4DBug f0f1eb6c47 imgA: merge ws/imgA-simple (tga, qoi, pnm, ico, hdr) 2026-10-31 08:58:09 -05:00
4DBug ebe98ebf1d merge ws/arch: archives (gzip tar zst br xz bz2 7z), fonts (ttf/otf/ttc woff woff2 bmfont), codecs Raster TrueType Cff Zstd Brotli Lzma Bzip2, containers Tar Archive 2026-10-31 08:57:48 -05:00
4DBug 8e527d6702 absorb: playlist/xspf (new: XSPF 1 read / write on codecs/Xml, xml:base, every track field); tests vs ElementTree-written files 2026-10-31 08:57:35 -05:00
4DBug b6afe0122c data: json sniff rejects '[section]' / '[[table]]' (INI / TOML no longer sniffed as JSON) 2026-10-31 08:57:25 -05:00
4DBug ef402142f1 ws-arch: bench lines for zstd / brotli / bzip2 / xz / lzma and glyph outline + rasterize throughput; bench.sh builds their fixtures 2026-10-31 08:57:03 -05:00
4DBug 4766753ad8 imgA-simple: bench block for qoi / tga / ppm / hdr (append-only at the end of tools/bench.luau) 2026-10-31 08:56:44 -05:00