Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/perf/speed-log.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ crowd_run 1080p 300-frame clips, median µs per frame.
| VP9 8-tap convolution, AVX2 (`go-videodsp/kernels` v0.23.0 `mc`: horizontal, vertical, and their averaging forms; the 2-D paths run through them) | 5332 (1.181x, v0.3.0 6296 in the same run) | 5373 (1.182x, v0.3.0 6351) | not run, VP8 does not use it |
| VP8 loop filters, AVX2 (`go-videodsp/kernels` v0.24.0 `lf`: inner, macroblock and simple edges, 16 luma lines or 2 x 8 chroma lines per call; they replace the fused macroblock paths of `internal/pixel`) | not affected | not affected | 4327 (1.142x, v0.4.0 4942 in the same run) |
| VP8 six-tap and bilinear prediction, AVX2 (`go-videodsp/kernels` v0.25.0 `mc`: widths 4, 8, 16) | not affected | not affected | 3437 (1.438x, v0.4.0 4942) |
| VP9 inter prediction: `vp9InterPredictPlaneParams` filled field by field instead of from a composite literal (perf annotate: the literal was built in a temporary and copied with 16-byte loads of 8-byte stores, a store-forwarding stall worth 6 % of the clip) | 5156 (1.034x, v0.5.0 5331; a first run 1.037x) | not run | not affected |
| VP9 modes: `FrameRefSignBias` built as one 32-bit word (was byte stores read back as a word), and `readVP9InterBlockModeInfo` writes `mi.Mv` directly instead of through a local copied at the end (same store-forwarding stall) | 4956 (1.017x, previous row 5038 in the same run) | not run | not affected |

libvpx single core, same clips (M0 protocol): 2623, 2610, 2427.

Expand Down
171 changes: 87 additions & 84 deletions internal/vp9/codec/vp9_decoder_modes.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 13 additions & 3 deletions internal/vp9/decoder/header.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading