gamut icon indicating copy to clipboard operation
gamut copied to clipboard

JPEG loading speedup possible?

Open p0nce opened this issue 2 years ago • 2 comments

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 avatar Jan 03 '23 17:01 p0nce

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 avatar Jan 03 '23 17:01 p0nce

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

p0nce avatar Jan 05 '23 13:01 p0nce