Skip to content

VP9: AVX2 8-tap convolution kernels (kernels v0.23.0) - #6

Merged
tannevaled merged 1 commit into
mainfrom
mc-avx2-kernels
Nov 29, 2026
Merged

tannevaled merged 1 commit into
mainfrom
mc-avx2-kernels

Conversation

@tannevaled

Copy link
Copy Markdown
Contributor

Wires the AVX2 8-tap convolution kernels of go-videodsp/kernels v0.23.0 (mc): horizontal, vertical and their averaging forms, widths 4, 8, 16 and multiples of 32; other cases keep the previous paths. tools/portgovpx carries the matching patches.

Measured on fractal (Zen 4, core 14, load 2.0 to 2.6), six interleaved rounds against v0.3.0, BenchmarkDecodeClip: 1 tile 6296 to 5332 us/frame (1.181x), 4 tiles 6351 to 5373 (1.182x). The 752 libvpx vectors pass.

Not done: the fused 2-D kernels (stack temp zeroing costs as much as the passes at small sizes); fusing the 2-D average measured 1.004x, not kept. NEON: Refs go-videodsp/kernels#42.

🤖 Generated with Claude Code

Horizontal, vertical and their averaging forms now try the step-16
go-videodsp/kernels mc kernels first (widths 4, 8, 16 and multiples of
32); other cases keep the previous paths. The 2-D paths run through them.

BenchmarkDecodeClip, six interleaved rounds against v0.3.0: 1 tile
6296 -> 5332 us/frame (1.181x), 4 tiles 6351 -> 5373 (1.182x).
752 libvpx vectors pass.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@tannevaled
tannevaled merged commit 87abc02 into main Nov 29, 2026
14 checks passed
@tannevaled
tannevaled deleted the mc-avx2-kernels branch November 29, 2026 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant