-
Notifications
You must be signed in to change notification settings - Fork 47
Open
Labels
Description
There are a few things we can do to speed up the performance of the PVRTC compression routines.
- We do the bilerp sixteen times a block. Each time we do the bilerp, we recalculate each weight individually. However, since we're going in order, we can likely benefit from just slightly altering the previously computed bilerp on each iteration, and save a lot of cycles...
- The topleft, topright, bottomleft, and bottomright blocks have some redundancy to them when we traverse the image:
- topright becomes topleft
- bottomright becomes bottomleft
When we move from one row to another
- bottomright becomes topleft
Reactions are currently unavailable