forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on 2fd03db708e6d740ebcedc973a67cb595c9d8528Filtered to Cargo.lockClear filter

Today

Cargo.lock for golden subs depsAhmet Kaan Gümüş · c06146fBrowse files

2026-11-27

2026-11-25

2026-11-23

2026-11-16

ec-hw: 10-bit HEVC encode, pipelined submit/flush, prime submit, CBR/VBR closed-loop rate correction; remove edith-sinkAhmet Kaan Gümüş · ccbbd43
ec-hw: 10-bit HEVC encode, pipelined submit/flush, prime submit, CBR/VBR closed-loop rate correction; remove edith-sink

- submit/submit_16/submit_prime + flush: DEPTH-3 pipelined encode, pool zero-filled
- submit_prime: GPU copy of an imported surface into a pool surface, padding zeroed (bit-identical to the CPU upload path)
- rate control: once-a-second bias + debt correction; mesa 26.2.6 / fw 20261019 overshoot 12-19% on detailed content (ffmpeg vaapi too)
- edith-sink removed: the MCP export path covers it

2026-11-15

2026-10-23

Restore edith_codecs after local data loss (2026-10-23)Ahmet Kaan Gümüş · b7434a2
Restore edith_codecs after local data loss (2026-10-23)

On 2026-10-23 an automated agent ran `rm -rf $HOME` and deleted the local
repository with all of its history. This commit restores the working tree
from the newest surviving copy, the host-c server lane mirror. That mirror
matches local main as of the testcut Phase 2 reports, including the tool
cache, the nextest fast profile and changed-crates.sh. The history before
this commit was not recovered.

2026-09-14

2026-09-13

perf(mp3): the quantiser runs the level curve eight lanes wideAhmet Kaan Gümüş · 59ae240
perf(mp3): the quantiser runs the level curve eight lanes wide

quantise_span evaluates |xr·scale|^(3/4) for a whole band through
wide::f32x8 (abs, cube, two sqrt lanes, clamp, copysign, trunc) with a
scalar tail, replacing the per-line f64 closure that 30% of the mono
profile and a fifth of the stereo one lived in. Overflow lanes land in
the same MAX_QUANT clamp the scalar path uses; every bench fixture still
encodes byte-identically and the suite is green. encode: stereo CBR
109.8x -> 127.9x realtime (ratio 0.819 vs the incumbent, target 0.7
met), VBR 55.7x -> 67.5x.

2026-09-12

ec-vp8 M1: bool arithmetic decoder, frame tag + full first-partition header parsing, RFC-transcribed tablesAhmet Kaan Gümüş · 5233d88
ec-vp8 M1: bool arithmetic decoder, frame tag + full first-partition header parsing, RFC-transcribed tables

- bool.rs: RFC 6386 section 7.3 decoder (read_bool/literal/signed_literal/
  maybe_signed/prob7/tree incl. the EOB-skipping token-tree form), plus a
  test-only reference bool encoder; round-trip tests at probability
  extremes, long LCG streams, literals to 19 bits, tree paths.
- frame.rs: 3-byte LE frame tag, key-frame start code + dimensions/scaling,
  MB geometry.
- header.rs: complete partition-1 header in dixie field order — colour
  space/clamping, segmentation (with cross-frame state), loop filter
  type/level/sharpness/deltas, token partition size table, quant indices,
  reference refresh/copies/sign-bias, coefficient probability updates,
  mb_no_skip_coeff, inter prob_intra/last/gf + ymode/uv/MV probability
  updates. PersistedState carries entropy/segmentation/filter deltas
  across frames and resets at key frames.
- tables.rs: GENERATED verbatim from the RFC text by
  scripts/extract_vp8_tables.py (element counts asserted): default + update
  coefficient probs, kf_bmode_prob, coeff_bands, dequant lookups, Pcat1-6
  (sentinel kept), default + update MV probs.
- scripts/gen_vp8_fixtures.sh: libvpx-encoded IVF witnesses (6 sizes/q,
  60-frame GOP, 8-token-partition vector via local vpxenc, WebP still).
- Witness: real vpxenc/ffmpeg-produced streams parse with exact tiling of
  partition sizes, correct dims (incl. 76x52 non-MB-aligned), 8 partitions;
  VP8-in-WebP still decodes its header. 12 tests green, zero warnings.

2026-09-07

feat(ec-hw): AV1 encode on by default, and an ec-bench hardware rowAhmet Kaan Gümüş · 24f4e5c
feat(ec-hw): AV1 encode on by default, and an ec-bench hardware row

The opt-in existed because a 2026-08-14 submission crashed the GPU; on
mesa 26.1.8 the path encodes streams two decoders agree on, so the
refusal goes rather than outliving its evidence. ec-bench gains an
'ec-hw av1 encode' row that skips as a row when there is no VA device.
feat(ec-hw): AV1 hardware encode that two independent decoders agree onAhmet Kaan Gümüş · a518304
feat(ec-hw): AV1 hardware encode that two independent decoders agree on

The AV1 encode path submitted parameters no header described: radeonsi
parses the application's sequence and frame header OBUs and writes the
stream from them, so without those OBUs the coded buffer meant nothing.
This writes both (spec 5.5.1 / 5.9.1, the subset the driver advertises:
one tile, one reference, no CDEF, no restoration, no superres), fills
the picture parameter buffer to agree with them field for field, and
prepends the temporal delimiter the driver does not emit.

Gate: ec-av1 and ffmpeg's libdav1d decode every shown frame of a
640x384 and a 1920x1080 stream sample for sample, and the coded picture
is within 60 dB of the one submitted.

2026-08-27

feat(bench): audio encode, container demux and TrueHD rows in ec-benchAhmet Kaan Gümüş · 4ef277a
feat(bench): audio encode, container demux and TrueHD rows in ec-bench

Extends the standing perf harness with the rows the ledger owed: encode
rows for opus/vorbis/aac/mp3/flac/alac/ac3 driven off real decoded PCM
(a WAV fixture through ec-probe's own AudioDecoder path), a TrueHD
encode+own-stream-decode round trip (no fixture exists yet for the
generic decode loop to pick up), and whole-file demux throughput rows
for ec-matroska/ec-mp4 via ec-probe's Reader. Also fixes a duration
fallback bug: ffprobe's own "N/A" string was short-circuiting the
format-duration fallback via Option::or_else.
perf(h265): hoist the mode>=18 branch and idx/fact out of predict_angular's inner loopAhmet Kaan Gümüş · f9a6938
perf(h265): hoist the mode>=18 branch and idx/fact out of predict_angular's inner loop

idx and fact (8.4.4.2.6) depend only on the row/column along the
prediction direction, not on the position across it -- the old code
recomputed the along/across swap and both divisions at every one of the
n*n pixels. Splitting into a mode>=18 loop and a mode<18 loop computes
idx/fact once per row (or column) and turns the inner loop into a
contiguous scan over `reference`, which autovectorizes.

Correctness gate: cargo test -p ec-h265 --release green incl.
rdoq_cache_hash_is_pinned; intra:: unit tests (diagonal/flat/vertical-
horizontal mode assertions) individually green.

perf stat -e instructions,cycles -r 3, same 4-frame 1080p single-thread
encode_idr loop, measured clean (load average checked before/after):
  before: 114,092,102,152 ... wait, see below
  after:  114,092,102,152 instructions / 21,900,322,280 cycles
  (baseline before this change: 116,465,368,212 instructions /
   22,246,309,650 cycles -- -2.0% instructions, -1.6% cycles)
feat(bench): cover ec-image decode (all sniffed formats) and ec-inflateAhmet Kaan Gümüş · 1ee915b
feat(bench): cover ec-image decode (all sniffed formats) and ec-inflate

Extends the harness with the two remaining tractable groups: ec-image's
single decode() entry point runs over every real still and fixture, and
ec-inflate is measured on the zlib stream a real PNG's own IDAT chain
already carries.
feat(bench): standing realtime-factor harness across every codec crateAhmet Kaan Gümüş · 4d8621c
feat(bench): standing realtime-factor harness across every codec crate

One new bin (tools/ec-bench) that drives each crate's own public one-shot
API against real media (h264/h265/av1 video, aac/mp3/opus/vorbis/flac/alac
audio via ec-probe's unified reader) and prints a ranked markdown table —
the baseline every future optimization lane measures against.

2026-08-25