4DBug
a197f16f04
ws-h264: merge master
2026-10-31 10:29:56 -05:00
4DBug and Claude Opus 5.5
1b0db9a0e8
ws-h264: merge ws/video; codecs/Video registers h264 (avc1/avc3/H264/... FourCCs, V_MPEG4/ISO/AVC) via H264.newVideoDecoder; video/h264 raw Annex B format (demux by access unit, copy-writer from MP4/MKV samples); MMCO 5 resets frame_num (JVT MR2/MR4/MR5); meta.yuv from the VUI
...
Co-Authored-By: Claude Opus 5.5 <[email protected] >
2026-10-31 10:29:56 -05:00
4DBug
a289eba8af
merge ws/video: resolve init.luau (openAudio + plugins hooks, cad and video facades)
2026-10-31 10:22:56 -05:00
4DBug
3cc44af0b2
merge ws/video: containers mkv/avi/mp4/ts/ps/y4m (+writers), codecs Jpeg/Mpeg1/Vp8 inter/Video registry, AudioWrap, F.video.open
2026-10-31 10:22:17 -05:00
4DBug
51546c7c86
ws-video: bench.luau merge fix
2026-10-31 10:11:34 -05:00
4DBug
5161fb3371
ws-video: merge ws/video-vp8 (final); F.open wraps images as videos only for category video (F.video.open); F.video.fromFrames for image sequences
2026-10-31 10:11:01 -05:00
4DBug and Claude Opus 5.5
2f93101930
ws-video-vp8: mode info arrays and the row prediction buffer allocated by the first inter frame and kept (one-shot key frame decodes skip them); speed note in the header
...
Co-Authored-By: Claude Opus 5.5 <[email protected] >
2026-10-31 10:10:19 -05:00
4DBug and Claude Opus 5.5
43f14fda86
ws-video-vp8: bench lines (VP8 decode fps 320x240 / 640x480, LuaJIT also with the host's trace limits), damaged inter frame pass in the test, type fix
...
Co-Authored-By: Claude Opus 5.5 <[email protected] >
2026-10-31 10:08:08 -05:00
4DBug and Claude Opus 5.5
c848c736ba
ws-h264: tests (bit-exact vs ffmpeg, AVCC, NAL-at-a-time, unsupported, fuzz), bench lines; LuaJIT speedups (no table-allocating if-expressions, arithmetic bit reads, branch-free CABAC decisions, split MC filters)
...
Co-Authored-By: Claude Opus 5.5 <[email protected] >
2026-10-31 10:07:39 -05:00
4DBug
8a225528a1
ws-video: VP8 checks are strict now (inter frames merged); writer fixtures include the VP8 re-encodes
2026-10-31 10:06:25 -05:00
4DBug
582191a739
ws-video: merge ws/video-vp8 (VP8 inter frames)
2026-10-31 10:05:56 -05:00
4DBug
b7af1cad75
ws-video: animated WebP through F.video.open checked against Pillow's canvases
2026-10-31 10:05:40 -05:00
4DBug
0c9094d28a
ws-video: bench block (whole pipeline fps for MJPEG AVI / MPEG-1 TS / VP8 WebM / Y4M at 320x240 and 640x480, y4m -> MJPEG AVI), docs/video.md (API, layers, how a codec plugs into the registry), NOTICE row for mpegts-luau
2026-10-31 10:05:09 -05:00
4DBug and Claude Opus 5.5
29286e45c4
ws-video-vp8: small copies / fills through readu32 / writeu32 (buffer.copy of 4-16 bytes costs ~45 ns in Luau)
...
Co-Authored-By: Claude Opus 5.5 <[email protected] >
2026-10-31 10:04:42 -05:00
4DBug
26f4e0cb60
ws-video: video/mp4 (MP4 / MOV / 3GP on containers/IsoBmff: edit lists, fragments, dOps -> OpusHead, PCM entries, AAC priming as codec delay; writer: copied H.264 / HEVC / AV1 / MJPEG / AAC / ALAC / Opus / FLAC / MP3, MJPEG from frames, PCM in MOV, edit lists for B-frame / codec delays); IsoBmff Mux writes no empty DecoderSpecificInfo (ffmpeg refuses it); writer checks extended to MP4 / MOV / H.264 remux
2026-10-31 10:02:25 -05:00
4DBug and Claude Opus 5.5
93a94036d1
ws-video-vp8: faster loop filters (DoFilter2/4/6 inlined, flat positions skipped, shifts instead of divisions), branch-free getBit, row-wise inter prediction (LuaJIT traces), no table allocation in getCoeffs on LuaJIT
...
Co-Authored-By: Claude Opus 5.5 <[email protected] >
2026-10-31 10:01:41 -05:00
4DBug
7165690029
ws-video: writers checked by ffprobe / ffmpeg (tools/fixtures/videoenc.py + _video_encode.luau, tests/video/encode.luau); constant-rate output for AVI / Y4M shared in Source.constantRate (uneven GIF delays repeat frames)
2026-10-31 09:59:16 -05:00
4DBug
1cd0fdfc24
ws-video: MJPEG (codecs/Jpeg, yuv420p full range; encoder remaps limited-range frames) and MPEG-1 (codecs/Mpeg1, display reordering with the packet pts as tag) in the codec registry; VideoFrame times count from the demuxer's startTime (TS starts at 1.4 s); Matroska Vorbis keeps its codec delay; fixtures decode with -fps_mode passthrough
2026-10-31 09:57:26 -05:00
4DBug
87811057f6
compat: __iter walks 1..#t skipping holes (sparse integer maps / arrays with holes visited fully on LuaJIT, as in Luau)
2026-10-31 09:56:39 -05:00
4DBug
7c59c12348
merge ws/3d2
2026-10-31 09:55:41 -05:00
4DBug and Claude Opus 5.5
205bba6db9
ws-3d2/fbx: header: compress option, reference tools named
...
Co-Authored-By: Claude Opus 5.5 <[email protected] >
2026-10-31 09:55:03 -05:00
4DBug and Claude Opus 5.5
7ae481d4ed
ws-h264: codecs/H264 decoder (CAVLC + CABAC, I/P/B, 8x8, weighted, direct, deblock, DPB/POC/reorder); fixtures from libx264 vs ffmpeg
...
Co-Authored-By: Claude Opus 5.5 <[email protected] >
2026-10-31 09:53:41 -05:00
4DBug
dac404aa52
ws-video: merge ws/video-codecs (codecs/Jpeg, codecs/Mpeg1)
2026-10-31 09:53:26 -05:00
4DBug
196c6caeb2
ws-video: Vorbis granules from the block sizes (exact Ogg pages for Matroska Vorbis), ADTS AAC from TS passed through, audio checks read until filled
2026-10-31 09:53:16 -05:00
4DBug
d79ddd5c08
ws-video: merge master (m4a, music, ...)
2026-10-31 09:50:42 -05:00
4DBug
fd2d9441a9
ws-video: video/mpegts (containers/MpegTs absorbed from mpegts-luau 6e16197, its unit queue fixed for LuaJIT; M2TS, resync before the first packet, private stream types by PES id), video/mpegps (containers/MpegPs: MPEG-1 / MPEG-2 packs, PSM, private stream 1; pictures cut from the joined ES, PTS from PES / GOP temporal references; raw .m1v), containers/MpegEs; tests vs ffprobe / ffmpeg
2026-10-31 09:50:42 -05:00
4DBug
850ec634a6
ws-video-codecs: bench lines: MJPEG decode (yuv / rgba) and yuv420p encode fps at 320x240 / 640x480, MPEG-1 decode fps (yuv / rgba)
2026-10-31 09:49:33 -05:00
4DBug
0ba2350e1f
Merge branch 'ws/3d2-step' into ws/3d2
2026-10-31 09:47:00 -05:00
4DBug
0c21250c9f
Merge branch 'ws/3d2-usda' into ws/3d2
2026-10-31 09:47:00 -05:00
4DBug and Claude Opus 5.5
b2c7ee8e6d
ws-3d2: merge ws/3d2-dae (model/dae); registry regenerated
...
Co-Authored-By: Claude Opus 5.5 <[email protected] >
2026-10-31 09:47:00 -05:00
4DBug and Claude Opus 5.5
06f781102c
ws-3d2: merge ws/3d2-3mf (model/3mf); registry regenerated, bench lines merged
...
Co-Authored-By: Claude Opus 5.5 <[email protected] >
2026-10-31 09:46:52 -05:00
4DBug and Claude Opus 5.5
aff15e7cc9
ws-video-vp8: VP8 inter frames (libvpx 1.17 port): references, modes / motion vectors, split, six-tap / bilinear prediction, inter loop filter levels, hidden frames, reset; tests vs ffmpeg on 27 test vectors + 24 libvpx clips
...
Co-Authored-By: Claude Opus 5.5 <[email protected] >
2026-10-31 09:46:45 -05:00
4DBug and Claude Opus 5.5
8e2e96e198
ws-3d2/fbx: model/fbx (binary 7.x + ASCII read, binary 7.4 / 7.5 + ASCII write): node tree, Objects / Connections -> Scene (full transform model, layer elements, materials, textures, skins, blend shapes, animation stacks, cameras, lights); tests against assimp + Blender, round trips, fuzz; bench lines
...
Co-Authored-By: Claude Opus 5.5 <[email protected] >
2026-10-31 09:46:25 -05:00
4DBug
d221bb5327
ws-video: video/avi tests (OpenDML / idx1 / scan, PCM / ADPCM / MP2 audio, raw RGB / I420, mux round trip), video/y4m tests (every C tag, 10-bit, writer), empty audio chunks are padding
2026-10-31 09:45:10 -05:00
4DBug
87d22bf67a
ws-video-codecs: mjpeg fixtures as base64 / zlib (8.6 -> 1.0 MB); codecs/Jpeg: no type assertion as an assignment target (darklua)
2026-10-31 09:42:30 -05:00
4DBug and Claude Opus 5.5
fb7f6359cd
ws-3d2/usda: model/usda - USD ASCII read / write (+ USDZ read), checked against OpenUSD (pxr), assimp's USD models and Blender exports
...
Reads stage metadata, xform op stacks (every rotate order, orient, transform, pivots / !invert!, resetXformStack),
time samples -> TRS animation, Mesh (all primvar interpolations + indices, GeomSubsets, holes, leftHanded),
UsdPreviewSurface / UsdUVTexture / UsdTransform2d materials with inherited bindings, cameras, UsdLux lights,
selected variants. USDC returns UNSUPPORTED. Writes Xform / Mesh / GeomSubset / Material / Camera / lights.
Co-Authored-By: Claude Opus 5.5 <[email protected] >
2026-10-31 09:41:47 -05:00
4DBug and Claude Opus 5.5
a7b4a69177
ws-3d2/dae: model/dae (Collada 1.4/1.5 + .zae) read: geometry (all primitive kinds, shared offsets), common-profile materials + images, node tree (all transform elements, instance_node), skin + morph controllers, cameras, lights, animations resampled to TRS channels (clips); write: Collada 1.4.1 / .zae (meshes, materials, images, nodes, cameras, lights). Tests against assimp's Collada models (nixpkgs assimp.src at fixture time), assimp exports of glTF samples vs their originals, assimp reading our output, round trips, fuzz
...
Co-Authored-By: Claude Opus 5.5 <[email protected] >
2026-10-31 09:41:27 -05:00
4DBug
2493b9db36
ws-video-codecs: codecs/Mpeg1 absorbed from mpeg1-luau e2e2898 (jsmpeg port, MIT: licenses/jsmpeg-MIT.txt + NOTICE); requires and headers, frameImage (yuv420p / rgba8 copies); IDCT kept (bit-identical to codecs/Dct islow in put mode, but MPEG adds residuals before clamping); tests/codecs/mpeg1.luau + tools/fixtures/mpeg1.py (base64 / zlib fixtures, 5.6 MB)
2026-10-31 09:41:27 -05:00
4DBug
9411cd97c6
ws-video: video/mkv tests (ffprobe packets, ffmpeg audio, lacing / zlib / unknown clusters / subtitles, WebM remux), zlib content compression, codec-delay trimming of non-Opus audio (AudioWrap.trim), video/y4m, containers/Avi + video/avi (WIP tests)
2026-10-31 09:41:22 -05:00
4DBug
fa98dd77c2
merge ws/audio
2026-10-31 09:37:28 -05:00
4DBug
33a5a5b409
ws-video-codecs: codecs/Jpeg: yuv output crops four samples per write and reuses one frame-sized IDCT plane between calls
2026-10-31 09:37:01 -05:00
4DBug
43da7d723c
ws-video-codecs: codecs/Jpeg: 4:2:2 / 4:4:4 as ffmpeg writes them (2x2/1x2, 1x2) for yuv output; tests/codecs/jpeg.luau + tools/fixtures/mjpeg.py (ffmpeg mjpeg frames bit-exact vs TurboJPEG planes / djpeg, PSNR vs ffmpeg, stripped DHT, AVI1, fields, yuv420p encode byte-identical with tj3CompressFromYUV8)
2026-10-31 09:35:34 -05:00
4DBug
4a9ca949e6
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 and Claude Opus 5.5
7592db30bb
ws-3d2/step: cad/step (ISO 10303-21 read/write + injected B-rep plug-in)
...
- src/Formats/cad/step: Part 21 editions 1-3 parsed into Types.Cad fully in-library (header, named DATA sections,
complex instances, every parameter kind, string escapes to UTF-8, comments, ANCHOR/REFERENCE/SIGNATURE kept raw);
writer round-trips at the entity level (integral reals keep their real-ness via a list metatable mark).
- B-rep plug-in: a small injected table { read, write, tessellate } (or brep-luau's { Step, StepBrep, StepWrite, Tess }
as is), taken from opts.brep / opts.plugins.brep; Step.toBodies / fromBodies / tessellate (-> Scene, z up, mm).
- Types.luau: StepEntity gains optional parts (complex instances) and section (edition 3); backward compatible.
- init.luau (api): withHooks also passes opts.plugins = F.plugins to decoders/encoders unless given; new facades
F.cad.toBodies / fromBodies / tessellate (pass F.plugins, pcall, Err-wrapped). Backward compatible.
- tests/cad/step.luau + tools/fixtures/step.py: OCCT (gmsh) generated and public STEP files, Python census, OCCT reads
our output back, brep-luau through a generated tests/gen/.luaurc alias (luau only), fuzz.
- tools/bench.luau: step parse / write lines.
Co-Authored-By: Claude Opus 5.5 <[email protected] >
2026-10-31 09:33:58 -05:00
4DBug and Claude Opus 5.5
e87102202e
ws-3d2/3mf: model/3mf read / write (core, materials extension: base / colour / texture2d groups, composite, multiproperties; components, production p:path parts, units, metadata); tests against lib3mf 2.5 (its test suite), assimp, trimesh, our output read back by all three; bench lines
...
Co-Authored-By: Claude Opus 5.5 <[email protected] >
2026-10-31 09:33:43 -05:00
4DBug
8311620631
merge ws/music
2026-10-31 09:33:13 -05:00
4DBug
5249d950bb
ws-music: loop test compares durations at their own rates
2026-10-31 09:32:26 -05:00
4DBug
6c3a4ad358
ws-music: tracker seek / loop tests
2026-10-31 09:32:09 -05:00
4DBug
3796ce674d
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
8a905a4510
ws-video: video foundation: Types video section made concrete (Track / Packet / Demuxer / VideoFrame / VideoDecoder / VideoCodecDecoder), codecs/Video (codec registry by id / FourCC / Matroska id, generic VideoDecoder over a Demuxer, frames-backed videos, Source for writers), codecs/Yuv, containers/Demux (indexed demuxer), containers/Ebml, containers/AudioWrap; video/mkv (Matroska / WebM demux + mux, WIP: tests next)
...
api (init.luau, small, backward compatible): KIND_CATEGORY.video; withHooks adds opts.openAudio (audio tracks of video containers reach the audio formats through AudioWrap); F.load of a video format returns its VideoDecoder instead of draining it as audio; F.open passes the hooks and opens animated images as frames-backed videos (F.video.open(gif)); F.save of an Image to a video format wraps it (F.convert(gif, 'avi')); F.video.fromImage, F.video.codecs.
2026-10-31 09:31:21 -05:00