3 ms·
You can't texel-fetch directly from JPEG data, it has to be decompressed first.
by edflsafoiewq 5y ago
You can't texel-fetch directly from JPEG data, it has to be decompressed first.
- vlovich123 5y agoYes of course. GPUs already support compressed textures though that get decompressed on the fly. Of course JPEG has a lot of baggage that actually makes it a poor format for this but perhaps newer ones might be useful. What you lose in “optimality” (compression schemes designed for GPUs are better for games), you win in “generality” (ability to use this outside games to, for example, improve web browsing battery life).
- mrec 5y agoThere's a very hard distinction between GPU texture compression formats and general image compression formats - the former need to support random access lookup in constant time. Anything meeting that criterion is not going to be generally competitive; it's like the difference between UTF-32 strings and UTF-8 strings.