Commits
Commits on
978e6857d64772912559c8d8a4e6ee7cd309bdccFiltered to crates/engine/tests/hevc_export.rsClear filter2026-08-13
✨ feat(export): the GPU takes the HEVC export againAhmet Kaan Gümüş · e6624f3
✨ feat(export): the GPU takes the HEVC export again The seat goes back to being the default, with the reason it was safe to make one restored rather than assumed: both HEVC seats code intra-only, so preferring the GPU changes how long an export takes and not what comes out of it -- and there is now a test that says so about the *pixels* (`a_1080p_hardware_export_leaves_a_decoder_with_nothing_to_say`) rather than about the frame count. Measured on this box's radeonsi/VCN before the flip, every export decoded by ffmpeg with an empty error channel: a 60 s span of a 1080p source at SSIM 0.976/0.965/0.983/0.971 over four spread frames, a 3840x1600 HDR film at 0.947 against the H.264 hardware export of the same span, a 2560x1440 capture -- whose height is not a coding tree multiple -- at 0.873/0.880/0.881, and the sub-384 picture still falling to `oxideav-h265`.
✅ test(hevc): a decoder with nothing to say about the GPU's 1080pAhmet Kaan Gümüş · 85641e4
✅ test(hevc): a decoder with nothing to say about the GPU's 1080p The twin the seat shipped without. It asserts the three things a frame count cannot see: ffmpeg's error channel *empty*, the coded size still cropping to 1920x1080, and SSIM against the frames that went in (a desynced stream scores about 0.22, this one 0.98). `testsrc2` at 1080p is what makes it bite -- it splits transform trees deep enough and pushes the rate controller hard enough to need the syntax the parameter sets have to declare, where the two-frame fixtures beside it are flat and pass either way. Checked against each of the three defects in turn: depth 0 fails on the error channel, `cu_qp_delta` off and the min-CB size both fail on SSIM.
2026-08-11
🧹 test(scratch): a fixture directory is deleted by the test that made itAhmet Kaan Gümüş · 5c39124
🧹 test(scratch): a fixture directory is deleted by the test that made it Every suite here made its own directory under /tmp with a name and a process id and then walked away from it: 2907 `ve_*` directories, 6.4G of a 16G tmpfs, none of them reclaimable by anything but a person with `rm`. `engine::scratch::Scratch` is the one place a throwaway path comes from now -- a directory, or the single file inside one -- and `Drop` is what takes it back. That is the whole reason it is a guard rather than a cleanup call at the end of a test: unwinding runs `Drop`, so the *failing* tests, which are exactly the ones that used to leave the most behind, clean up like the passing ones. It derefs to a `Path`, so the call sites did not have to change: the helpers that handed back a `PathBuf` hand back one of these. The prefixes stay what they were, so a directory is still recognisable while a test is stopped in it. Nothing about what a test *does* moved -- only where its fixtures live and when they die. Driven: the whole engine suite and the app's own tests run with the count of `/tmp/ve_*` before equal to the count after.
✨ feat(export): HEVC leaves the way it came in — intra, in either boxAhmet Kaan Gümüş · 12f8cb7
✨ feat(export): HEVC leaves the way it came in — intra, in either box The one codec edith could read and never write. OxideAV's pure-Rust H.265, vendored from git master (its released 0.0.9 is pre-encoder) with one marked patch: the intra SPS writer had no conformance window and refused any dimension off the 16-sample CTB grid, so 1920x1080 could not be written at all. It is now coded padded to 1088 with the edge replicated and cropped back by the SPS, which is what ffprobe reads out of the bitstream. Intra-only, and every row says so: the inter modes code 1080p at 0.81 fps across twelve cores and the intra path does 4.30 on the same picture, so the export is an intraframe master — ProRes-shaped, large files, every frame a cut point — rather than a delivery file nobody would wait for. The AU is a stateless function of one frame, so frames fan out across twelve lanes and are collected back in display order. Two rows, `h` and `x`, because a codec and a container are two choices: the `hvcC` record built from the encoder's own VPS/SPS/PPS goes into a Matroska `CodecPrivate` and into an mp4 `hvc1` sample entry unchanged, so the two files are one stream written twice. Both re-open in edith through the plugin, sound and all.