4DBug
a87ad99410
perf (LuaJIT): stop cross-codec trace pollution in long mixed processes; bench.sh mixed
...
- compat math.clamp is vararg: LuaJIT never starts a root trace at a vararg function but still inlines it. The plain
shim, called from interpreted code, collected aborted root traces until it was blacklisted, after which every trace
through it aborted: in one process, png (or anything earlier) left jpeg / webp / tiff / ImageOps 2-10x slower.
- Dct.fdctQuantize: branch-free quantiser and a divisor table (q * 8) from Jpeg.Encode; the sign branch among the column
pass's live values made LuaJIT retry side traces it could not compile (register coalescing) forever. Also faster
in luau -O2 (~5%) and native (~10%). Outputs unchanged.
- tools/bench_mixed.luau + bash tools/bench.sh mixed: core, audio, video, image in one LuaJIT process against the
per-codec benches, marking lines more than 1.3x slower mixed.
2026-11-02 21:12:36 -06:00
4DBug
8bd15840d8
merge ws/engines
2026-11-01 20:14:34 -06:00
4DBug
0e0b213a80
merge ws/idtech: UDMF (codecs/model/DoomMap), Doom 3 / Quake 4 .map + .proc, Wolf3D VSWAP + GAMEMAPS, codecs/text/Lexer
2026-11-01 19:48:30 -06:00
4DBug
e100366cb8
merge ws/source: VBSP v19-21, VMF, KeyValues / data/vdf, codecs/model/Displacement (with ws/quake's Brush / Patch / Miptex)
2026-11-01 19:46:56 -06:00
4DBug
37aa29d03e
merge ws/quake (codecs/model/Brush for model/t3d)
2026-11-01 19:26:29 -06:00
4DBug
8f26e32a71
model/godot + data/tres + codecs/text/GodotVariant: Godot text scenes (.tscn / .escn) read + write against Godot 4's loader, .tres resources as data
...
docs/STYLE.md: the layout block lists codecs/text/GodotVariant (DOCS lint).
2026-11-01 19:25:15 -06:00
4DBug
c30e8618fc
codecs/model/Displacement: Source displacement surfaces (CCoreDispInfo grid, normals, triangles); model/vbsp uses it
...
STYLE.md: Displacement listed in the layout block and the section 2a table.
2026-11-01 18:59:58 -06:00
4DBug
9efeea304e
merge ws/quake (codecs/model/Brush, Patch, Miptex)
2026-11-01 18:57:46 -06:00
4DBug
4bd59a30c8
merge ws/quake (codecs/model/Brush, codecs/model/Patch, model/map) for model/d3map
2026-11-01 18:55:23 -06:00
4DBug
d8212c6839
merge ws/source (codecs/text/KeyValues for .vmt materials)
2026-11-01 18:46:27 -06:00
4DBug
04ddb91340
codecs/model/SourceAnim: codec test
2026-11-01 18:44:37 -06:00
4DBug
5ad934565d
codecs/model/Brush, codecs/model/Patch, codecs/image/Miptex; Pixels palette helpers
...
Brush: plane brushes -> polygons (qbsp-style clipping), Quake standard / Valve 220 / brush-primitive projection,
optional coplanar merge and CSG hull; tested against ericw-tools qbsp -nofill (area per plane, texels per corner).
Patch: Bezier control grids moved out of model/bsp/Quake3, per-axis subdivisions (patchDef2 / patchDef3), normals.
Miptex: Quake / GoldSrc miptex decode / encode and the WAD2 / WAD3 directory (model/bsp uses it now).
Pixels: grey, keyed, colorList, colormap, paletteBytes. STYLE: layout block and 2a table list the new modules.
2026-11-01 18:40:29 -06:00
4DBug
1c79609ecb
codecs/text/KeyValues: Valve KeyValues text (conditions, #include / #base, duplicates, escapes, entity lump) and binary; data/vdf over it
...
STYLE.md: KeyValues listed in the layout block and the section 2a table.
2026-11-01 18:35:33 -06:00
4DBug
7d4e0381fe
codecs/model/DoomMap: the Doom map-to-Scene builder moved out of archive/wad, plus a UDMF 1.1 TEXTMAP parser (fields kept, namespace flag bits); Wad.map loads UDMF maps; model/udmf for a standalone TEXTMAP; codecs/text/Lexer (C-style tokens for id Tech / UDMF text)
...
STYLE.md: layout block and the 2a table list DoomMap and Lexer. tests/archive/wad: the UDMF stub map now loads (empty) instead of UNSUPPORTED.
2026-11-01 18:33:24 -06:00
4DBug
086b39a595
tests: restore fixture provenance lines dropped with long headers
2026-11-01 01:52:13 -05:00
4DBug
a6732d45f2
tests/codecs (m-z): comments: specs only
2026-11-01 01:50:53 -05:00
4DBug
5f7f6005f6
tests/codecs (a-m): comments: specs only
2026-11-01 01:50:19 -05:00
4DBug
22ddcd78fa
rename: src/Formats -> src/Rosetta, @formats -> @rosetta requires, build/luajit/rosetta + rosetta._compat, build/roblox/Rosetta, ROSETTA_* env/globals, writer vendor strings
2026-11-01 01:19:16 -05:00
4DBug
2956576d7f
codecs: H.264 / Yuv / video registry work, docs/API + guide/video, yuv + mp4 tests (uncommitted work found in the checkout, owner unknown; tests pass on both runtimes)
2026-11-01 01:16:04 -05:00
4DBug
05eedbc8cf
codecs: JPEG / MPEG-1/2 yield hooks (per MCU row, per slice), banded Mpeg2.toRgba with RGB clamp table; build.py: reserved child names pass (work from the userspace session)
2026-11-01 01:16:04 -05:00
4DBug
c420eab820
ws-polish: Flash ADPCM (FLV SoundFormat 1) decodes through codecs/audio/Adpcm.swf
...
Adpcm.swf / swfFrames: the SWF ADPCM bit stream (2..5-bit codes, 4096-frame blocks), bit-exact with
ffmpeg's adpcm_swf (mono and stereo FLV fixtures). containers/AudioWrap decodes adpcm_swf tracks into a
float WAV, so FLV audio opens through the api hook.
2026-10-31 17:10:51 -05:00
4DBug
b5cdd77a5b
merge ws/arch2: cpio ar/deb rpm .Z lz4 iso lha arj zoo cab, uu/yenc/binhex/macbinary/applesingle, d64 adf fat, bdf pcf psf fon type1 eot hershey
2026-10-31 16:44:01 -05:00
4DBug
3cebe7d4e7
merge ws/game
2026-10-31 16:16:07 -05:00
4DBug
a02ece071b
merge ws/video2-flv
2026-10-31 15:59:44 -05:00
4DBug
f0a23eb676
merge ws/audio2
2026-10-31 15:59:38 -05:00
4DBug
79fd3c05dd
merge master into ws/arch2 (ws/video2, ws/3d3, ws/game Archive.slice / collect)
2026-10-31 15:57:05 -05:00
4DBug
43df95f6e0
merge master (ws/tex, ws/3d3, ws/video2, ...)
2026-10-31 15:51:07 -05:00
4DBug
93a5afbe65
merge ws/tex
2026-10-31 15:44:25 -05:00
4DBug
47345b2c8f
merge ws/3d3
2026-10-31 15:39:55 -05:00
4DBug
d7697a8688
ws-audio2: merge master ( c5f2777)
2026-10-31 15:37:55 -05:00
4DBug
da743e2fb8
merge master (ws/video2: MPEG-2, Theora, legacy codecs) into ws/video2-flv
2026-10-31 15:35:03 -05:00
4DBug
c65a66695f
merge ws/video2
2026-10-31 15:31:56 -05:00
4DBug
6c26e349f8
merge master (ws/roblox, ws/voxel, ...)
2026-10-31 15:30:37 -05:00
4DBug
94783a86d1
merge ws/3d3-c (model/pmx, model/vrml, model/x3d, codecs/model/Vrml); README model list
2026-10-31 15:29:37 -05:00
4DBug
9694c652ec
merge ws/video2-legacy (FLIC, Cinepak, MSV1, QT RLE / SMC, Smacker; video/fli, video/smk)
2026-10-31 15:23:13 -05:00
4DBug
0ee0859298
merge master into ws/arch2
2026-10-31 15:22:43 -05:00
4DBug
77479b6a2f
merge ws/video2-theora (Theora codec, ogv)
2026-10-31 15:22:40 -05:00
4DBug
98b04367c6
merge master into ws/3d3 (ws/roblox, ws/voxel, ...)
2026-10-31 15:20:28 -05:00
4DBug
703af4cc71
ws-audio2: merge ws/audio2-adpcm (codecs/audio/Adpcm, Qoa; adx, vag, brstm/bcstm/bfstm, raw adpcm, qoa; wav/aiff/caf/xm ADPCM)
2026-10-31 15:10:09 -05:00
4DBug
44cda7256c
merge ws/3d3-b (model/lwo, model/x, model/iqm, codecs/model/Sampler; brings ws/game af4488d for codecs/model/Rig)
2026-10-31 15:02:25 -05:00
4DBug
24f471bccb
merge ws/tex b32d45e (codecs/image/Bcn + Half, for VTF / BLP)
2026-10-31 15:01:27 -05:00
4DBug
2a5da31c80
ws-video2-flv: H263 slice structure (Annex K, ffmpeg h263p with slice threads), MV prediction across slice starts as ffmpeg
2026-10-31 14:56:51 -05:00
4DBug
e7c6f4e2af
ws-audio2: tests/codecs/ac3 + tests/codecs/musepack (the codec APIs, frame-by-frame decodes, fuzz)
2026-10-31 14:55:37 -05:00
4DBug
76128bf381
ws-3d3: codecs/model/Vrml (VRML97 / X3D classic parser, X3D XML adapter, node graph -> Scene builder, writer) + model/vrml (.wrl read / write) + model/x3d (.x3d / .x3dv read / write; .x3db UNSUPPORTED); tests against VTK and assimp
2026-10-31 14:54:56 -05:00
4DBug
48c0366528
ws-video2: mpeg2 test: field pictures written in random pieces
2026-10-31 14:54:03 -05:00
4DBug
625c1fade2
ws-video2-flv: codecs/video/H263 (H.263 baseline + H.263+ PLUSPTYPE custom sizes / rounding type / UMV, Sorenson Spark with disposable frames), bit-exact with ffmpeg -flags +bitexact -idct int; registry entries h263 (H263 h263 s263 U263) and flv1 (FLV1)
...
Outside the folder: codecs/video/Dsp gains Dsp.mcNoRound (half-sample averages rounded down, H.263 rounding type 1);
Dsp.mc and the rest are unchanged. codecs/video/Video BUILTIN: h263 / flv1 entries with a simpleDecoder over H263.
2026-10-31 14:52:56 -05:00
4DBug
d22c72c1bc
ws-video2: MPEG-2 field-picture / concealment-vector fixtures (a syntax-level writer in tools/fixtures/mpeg2.py), bit-exact; LuaJIT-friendlier hot paths; mpeg2 bench line
2026-10-31 14:50:27 -05:00
4DBug
51daa00a67
ws-3d3-b: model/iqm (Inter-Quake Model v2 read + write: meshes, every vertex array format, joints -> skin, poses / frames / anims -> channels, bounds; writer merges skins, samples and quantizes animations); new codecs/model/Sampler (channel evaluation STEP / LINEAR + slerp / CUBICSPLINE, animation poses at a time) with tests
...
mrfixit.iqm matches assimp and an independent Python IQM reader (its skinning reproduces the bounds the IQM tool stored; ours matches it to 1e-4); round trips and glTF skinned models written by us are skinned identically by the Python reader.
2026-10-31 14:39:22 -05:00
4DBug
09354cbd12
merge ws/roblox (codecs/compress/Lz4 for Anvil LZ4 chunks); registry regenerated
2026-10-31 14:38:23 -05:00
4DBug
fea56f4391
ws-voxel: model/schematic (.schem v1-3, .schematic, .litematic read + write), codecs/model/Minecraft (block states, default colours, legacy ids, packed arrays)
...
Types change (backward compatible): Types.Voxels gains optional blocks (VoxelBlocks: exact block states as
u16 indices into a state palette, block entities, entities) and colors (exact u32 RGBA per cell).
2026-10-31 14:37:43 -05:00