|
faceSize = blockCount.x * blockCount.y |
|
* prtctd->_formatSize.blockSizeInBits / 8; |
From the PVRTC1 spec:
For PVRTC 4BPP formats the imageSize is calculated as:
(max(width, 8) * max(height, 8) * 4 + 7) / 8
For PVRTC 2BPP formats the imageSize is calculated as:
(max(width, 16) * max(height, 8) * 2 + 7) / 8