PVRTC2 decompression on Windows

This topic contains 3 replies, has 4 voices, and was last updated by  moritzgerl 3 years, 1 month ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #31782

    Hi,

    Is PVRTC Version 2 decompression supported by PVRTDecompressPVRTC (SDK_3.3_R2Tools PVRTDecompress.cpp)?
    The api works perfectly fine with PVRTC Version 1 compressed images (both 2 & 4 bpp). However, it seems to have some problem with PVRTC2 (both 2 & 4 bpp).

    Any suggestions/help is appreciated. 🙂

    Thanks,
    Aniketh

    #38918

    Joe Davis
    Member

    Hi Aniketh,

    Apologies that this post hasn’t been answered yet. I’m not familiar with that particular part of our tools. Skimming through the code and the check in messages for it though, I suspect it’s PVRTC 1 decompression only.

    The engineer responsible for this code is out of office this week. Once he’s back, I will ask him to follow up with you.

    Thanks,
    Joe

    #38919

    Hi Aniketh,

    As Joe suspected, this function does not handle PVRTC2 decompression, only PVRTC1 is supported. We currently have no public PVRTC2 decompression code.

    Regards,
    Tobias

    #38920

    moritzgerl
    Member

    You can use the PvrTexLib to decompress PVRTC2. You can make use of the pvrtexture::Transcode function provided by the lib. See page 44 of the PVRTexTool.User Manual.pdf.

Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic.