4DBug
d4486dccce
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
2026-10-31 10:29:56 -05:00
4DBug
51eec67789
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
76e548b581
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
2026-10-31 10:10:19 -05:00
4DBug
0c7b316998
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
2026-10-31 10:08:08 -05:00
4DBug
6fcf717214
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)
2026-10-31 10:07:39 -05:00
4DBug
b0b47007dc
ws-video: merge ws/video-vp8 (VP8 inter frames)
2026-10-31 10:05:56 -05:00
4DBug
828389b643
ws-video-vp8: small copies / fills through readu32 / writeu32 (buffer.copy of 4-16 bytes costs ~45 ns in Luau)
2026-10-31 10:04:42 -05:00
4DBug
087e1c861e
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
2026-10-31 10:01:41 -05:00
4DBug
8d2deb13ab
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
bd06545e2e
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
e53ad35620
ws-h264: codecs/H264 decoder (CAVLC + CABAC, I/P/B, 8x8, weighted, direct, deblock, DPB/POC/reorder); fixtures from libx264 vs ffmpeg
2026-10-31 09:53:41 -05:00
4DBug
ba996820b5
ws-video: merge ws/video-codecs (codecs/Jpeg, codecs/Mpeg1)
2026-10-31 09:53:26 -05:00
4DBug
e044209ab1
ws-video: merge master (m4a, music, ...)
2026-10-31 09:50:42 -05:00
4DBug
110061960a
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
2026-10-31 09:46:45 -05:00
4DBug
6e3a044556
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
4d71539740
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
3ae152ac81
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
6941b63435
merge ws/audio
2026-10-31 09:37:28 -05:00
4DBug
ed76378cd0
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
c0e8a89050
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
c56d2ac71d
merge ws/music
2026-10-31 09:33:13 -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
967703a4d4
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
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
2ca0d1f10a
ws-video-codecs: codecs/Jpeg (the JPEG engine moved down from image/jpeg; byte-range API, yuv420p decode / encode, AVI1 fields); image/jpeg is a thin format over it
2026-10-31 09:28:38 -05:00
4DBug
e1ffb21494
merge ws/m4a
2026-10-31 09:23:57 -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
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
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
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
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
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
6d8262cf4a
data: data/plist (XML read/write byte-identical to plistlib, binary bplist00 read incl. UIDs / shared refs / cycle guard); plistlib fixtures. Array detection in Json / msgpack / cbor encoders no longer trusts next(t, #t)
2026-10-31 08:56:36 -05:00
4DBug
905109cb64
absorb: merge ws/data 907f365 (codecs/Json, codecs/Xml) for playlist/xspf
2026-10-31 08:56:03 -05:00
4DBug
7c3d4b75ec
ws-webp: image/webp (VP8 / VP8L / ALPH / VP8X / animation / metadata decode, lossless + animated encode), codecs/Vp8L encoder, fixtures vs dwebp / Pillow / libvpx, tests
2026-10-31 08:55:49 -05:00
4DBug
28590c51c3
absorb: playlist/m3u (M3U/M3U8 + HLS) and playlist/pls from playlist-luau 3fc7fd3, + a PLS writer; shared codecs/Url (RFC 3986, locate) and codecs/Text (BOM, CP1252, lines); tests vs urllib.parse.urljoin, Python cp1252, Python-written playlists
...
Two shared codecs added outside the assigned folders (a format never requires another format): codecs/Url and codecs/Text, used by the three playlist formats.
2026-10-31 08:55:44 -05:00
4DBug
84e5d2e4c9
vec: merge ws/arch (codecs/Raster for SVG)
2026-10-31 08:54:57 -05:00
4DBug
ac3e143ce8
ws-music: merge ws/music-midi (music/midi, music/sf2, codecs/SoundFont)
2026-10-31 08:47:48 -05:00
4DBug
da534ce507
ws-music: codecs/Tracker engine (player, mixer, pcm, tables) + music/mod read/write/render, tested against openmpt123
2026-10-31 08:47:40 -05:00
4DBug
fb909438a5
ws-3d: codecs/Base64 (RFC 4648 standard + url, padding optional, whitespace-tolerant decode, data: URIs); shared: glTF data URIs now, YAML !!binary / Brotli's dictionary / SVG could use it instead of private copies
2026-10-31 08:47:36 -05:00