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

jxl-render: SSE2 version of EPF #86

Merged
merged 2 commits into from
Sep 25, 2023
Merged

jxl-render: SSE2 version of EPF #86

merged 2 commits into from
Sep 25, 2023

Conversation

tirr-c
Copy link
Owner

@tirr-c tirr-c commented Sep 24, 2023

cc #80

Conformance test bike has 3-step EPF and decoding it is now ~2.3x faster.

@tirr-c tirr-c self-assigned this Sep 24, 2023
step_multiplier: f32,
) {
let width = input[0].width();
let $width = width as isize;
Copy link
Contributor

Choose a reason for hiding this comment

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

Is it declaring a variable with ident $width, but it's used later as width?

Copy link
Owner Author

Choose a reason for hiding this comment

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

We have both width and $width; it's macro implementation details. We need the grid width at macro invocation site, but in order to do that, the caller should give it an ident (which is matched by $width:ident).

@tirr-c tirr-c merged commit b7afe10 into main Sep 25, 2023
@tirr-c tirr-c deleted the epf-sse2 branch September 25, 2023 06:20
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.

2 participants