Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate lossless forward transform intrinsics #3270

Merged
merged 5 commits into from
Oct 23, 2023

Conversation

barrbrain
Copy link
Collaborator

@barrbrain barrbrain commented Oct 19, 2023

  • Introduce TxType::WHT_WHT and so unify the forward_transform and inverse_transform_add functions.
  • Plumb fwht4 through the existing forward transform code and gain an AVX2 implementation.
  • Improvements to round trip and transform tests
  • Found and fixed a bug with aarch64 assembly integration

@codecov
Copy link

codecov bot commented Oct 20, 2023

Codecov Report

Attention: 4 lines in your changes are missing coverage. Please review.

Files Coverage Δ
src/asm/shared/transform/inverse.rs 100.00% <100.00%> (ø)
src/asm/x86/transform/forward.rs 99.04% <100.00%> (+1.19%) ⬆️
src/asm/x86/transform/inverse.rs 100.00% <100.00%> (+5.26%) ⬆️
src/transform/forward.rs 100.00% <100.00%> (ø)
src/transform/forward_shared.rs 99.85% <100.00%> (+<0.01%) ⬆️
src/transform/mod.rs 90.60% <100.00%> (-0.11%) ⬇️
src/transform/inverse.rs 99.42% <60.00%> (+3.18%) ⬆️

... and 1 file with indirect coverage changes

📢 Thoughts on this report? Let us know!.

@lu-zero
Copy link
Collaborator

lu-zero commented Oct 20, 2023

Why did we lose a test? that codepath isn't really exercised by our encode-decode tests?

@@ -557,6 +557,7 @@ mod test {

fn roundtrips<T: Pixel>() {
let combinations = [
(TX_4X4, WHT_WHT, 0),
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This replaces test_lossless_roundtrip() as it can now be expressed by test_roundtrip().

@barrbrain barrbrain merged commit 7f01f3c into xiph:master Oct 23, 2023
25 checks passed
@barrbrain barrbrain deleted the lossless branch October 23, 2023 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants