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

Simple pipeline implementation. #24

Merged
merged 1 commit into from
Oct 1, 2024
Merged

Conversation

veluca93
Copy link
Member

Also add f64 to the possible image types, use an explicit enum to tag image types, and rework the pipeline interface.

@veluca93
Copy link
Member Author

The code is certainly missing at least a few tests, but given that the PR is large enough as it is I figured I'd have you take a look first ;) (and possibly split it up in more manageable commits if the overall approach seems sound)

jxl/src/image.rs Show resolved Hide resolved
jxl/src/render/mod.rs Outdated Show resolved Hide resolved
jxl/src/render/simple_pipeline.rs Outdated Show resolved Hide resolved
jxl/src/render/mod.rs Show resolved Hide resolved
Copy link
Member

@mo271 mo271 left a comment

Choose a reason for hiding this comment

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

LGTM

We should add tests for simple_pipeline.rs and shift_right_ceil.rs, I suppose...

Also add f64 to the possible image types, use an explicit enum to tag
image types, and rework the pipeline interface.
@veluca93
Copy link
Member Author

veluca93 commented Oct 1, 2024

LGTM

We should add tests for simple_pipeline.rs and shift_right_ceil.rs, I suppose...

I added tests for shrc, and I am wondering whether it would be best to put tests for the pipeline in another CL - ideally we'd want some more elaborate test infrastructure for all (both?) pipelines...

@veluca93 veluca93 merged commit d81cd2c into libjxl:main Oct 1, 2024
3 checks passed
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.

4 participants