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

PVRTC Compressor Performance #9

Open
Mokosha opened this issue Mar 4, 2014 · 0 comments
Open

PVRTC Compressor Performance #9

Mokosha opened this issue Mar 4, 2014 · 0 comments
Assignees

Comments

@Mokosha
Copy link
Member

Mokosha commented Mar 4, 2014

There are a few things we can do to speed up the performance of the PVRTC compression routines.

  1. 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...
  2. 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
@Mokosha Mokosha self-assigned this Mar 4, 2014
@Mokosha Mokosha added the PVRTC label Mar 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant