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

Add halving optimizations #34

Closed
lilith opened this issue Mar 6, 2016 · 1 comment
Closed

Add halving optimizations #34

lilith opened this issue Mar 6, 2016 · 1 comment
Labels

Comments

@lilith
Copy link
Member

lilith commented Mar 6, 2016

Render1D should expand into a HalveHorizontal and Render1D when there is a huge downsampling factor.

HalveHorizontal and HalveVerticle can be shifted left until they meet, then combined into a Halve2D. Halve2D can be shifted left to the decoder (if the decoder supports built-in scaling).

The job will have to represent some optimization rules, such as permitting perceptual scaling instead of linear scaling for the first 1/3rd of the job, or halving prior to colorspace application.

@lilith
Copy link
Member Author

lilith commented Apr 1, 2016

Given that we are using downscaling in the jpeg decoder, the main hot path, this would only seem of value for large PNG images. Closing as wontfix for now.

@lilith lilith closed this as completed Apr 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant