Skip to content

A proof of concept of PVRTC texture decompression done entirely on CPU.

Notifications You must be signed in to change notification settings

tlozoot/decompress-pvrtc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2bpp and 4bpp compressed versions of the Firefox logo live in img/. To create
more compressed images, you can modify img/makepvr.sh (should work on a Mac 
with developer tools installed).

To compile and run, just type "make", which does 2bpp decompression by default.
To see 4bpp decompression, run "make decompress-4". For now, you'll have to
change the hardcoded input and output strings in decompress.c if you want to
decompress different files.

The my_pvr.c library is still incomplete, but I'm attempting to rewrite the
Fortsiege PVRT library, which is translated from C++ and pretty hard to read.

About

A proof of concept of PVRTC texture decompression done entirely on CPU.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages