Repository navigation
What's new
About 11 % faster than v0.12.0 on an L4 at default settings (312.6 → 347.6 MP/s median, 3 encoders, 2,867 MP, paired runs +10.8 to +12.1 %) and about 10 % faster with one encoder (185.5 → 203.6 MP/s), measured with the published CUDA 13 package. The base preset, which the defaults use for images below 1 MP, is about 40 % faster (118 against 83 MP/s on large photos, measured on a build of the same code). CPU time per image is unchanged (0.41 against 0.37 cores over the shorter run).
Unlike v0.12.0, this release changes encoder decisions: at the same quality, files are 0.2 % larger on 100 photos of mixed sizes and 0.4 % larger on 100 photos below 1 MP (median BD-rate at equal SSIMULACRA2 against v0.12.0; by size, +0.6 % below 1 MP and +0.1 % from 5 MP up). Against libaom speed 6 the default moves from +0.1 % to +0.5 %.
- Top-down analysis (
--topdown,--prune-41): the block shapes are analysed in groups, and a partition search over the shapes analysed so far decides on the GPU which finer blocks are worth analysing at all. Almost free in size (+0.01 % on the mixed-size photos, +0.12 % below 1 MP, measured on a pre-release build) and the larger part of the gain in thebasepreset. - Open-loop shortlists (
--uv-shortlist,--tx-shortlist): a pass before the reconstruction wavefront screens chroma prediction modes and ranks luma transform types for every block of the batch at once; the closed loop then runs its exact rate-distortion test only on the best few. - Both are on in the presets
turboandbase, so with the default options; the other presets (slow,fast,faster,turbo2,turbo3) are unchanged.--topdown 0 --prune-41 off --uv-shortlist 0 --tx-shortlist 0gives v0.12.0's decisions and bytes.
Fixed
--maxpartbelow 16 (and some--partN/--shapesmasks or--prune-varsettings) with a pruning preset (turbo,turbo2,turbo3,faster) could encode blocks from uninitialised GPU memory: "illegal memory access" errors, images not encoded, or files that decode differently from the encoder's own reconstruction, varying from run to run. Present since at least v0.11.1; the default options were not affected. The encoder now analyses every block for such options, refuses option combinations that leave no valid partition, and has a run-time safety net in the partition search (#73, #74).
Notes
--uvKgiven without--uv-shortlistswitches the chroma shortlist off, so it behaves as before.- Out-of-range or non-numeric values of the four new options are refused.
- A single image as its own process starts about 20 ms slower (0.36 → 0.38 s for a 2.5 MP JPEG on an L4, CUDA start-up included); a 10 MP photo takes the same time as before.
Both Linux packages (CUDA 13 and CUDA 12) reproduce all 311 reference outputs of tools/sanity.py on an L4. The README and docs/RESULTS.md now carry v0.13.0's numbers (default with GP_ENCODERS=4: 337 MP/s on an L4); raw results in bench/results/aws-g6-l4-v0130/. The Windows packages were built by the same workflow but not run on a GPU for this release.
Downloads
Linux x86_64 and Windows x64 binaries for NVIDIA GPUs from Turing (RTX 20, T4) to Blackwell; they need only the NVIDIA driver. Pick the CUDA 13 builds (no suffix) if your driver is 580 or newer: they are faster, and on Blackwell with driver 615 or newer the driver does not recompile them at every start. The -cuda12 builds are for older drivers (525 or newer on Linux, 528 or newer on Windows). See the README for usage.