Skip to content
New issue

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

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

Already on GitHub? # to your account

JPEG loading speedup possible? #39

Open
p0nce opened this issue Jan 3, 2023 · 2 comments
Open

JPEG loading speedup possible? #39

p0nce opened this issue Jan 3, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@p0nce
Copy link
Collaborator

p0nce commented Jan 3, 2023

Graillon diffuse takes 34ms to decode, isn't it a bit much for a 1332 x 1276?

  • JPGD_SUPPORT_FREQ_DOMAIN_UPSAMPLING adds 7ms by itself
@p0nce
Copy link
Collaborator Author

p0nce commented Jan 3, 2023

Using that 34ms time as baseline:

  • Try for Row and Col not to be templated
  • expanded convert seemingly can be optimized
  • Col!4.idct not great at all

@p0nce p0nce added the enhancement New feature or request label Jan 3, 2023
@p0nce
Copy link
Collaborator Author

p0nce commented Jan 5, 2023

So, there was a small YUV to RGB speedup, we can perhaps remove the tables if generalized, which will win 4kb ram :|
The DCT/iDCT not that easy to optimize

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant