1/*! 
2\brief Contains functions to decompress PVRTC or ETC formats into RGBA8888. 
3\file PVRCore/texture/PVRTDecompress.h 
4\author PowerVR by Imagination, Developer Technology Team 
5\copyright Copyright (c) Imagination Technologies Limited. 
6*/ 
7 
8// See MIT License info in Licence_PowerVRNativeSDK.txt 
9#pragma once 
10#include <stdint.h> 
11namespace pvr
12 
13/// <summary>Decompresses PVRTC to RGBA 8888.</summary> 
14/// <param name="compressedData">The PVRTC texture data to decompress</param> 
15/// <param name="do2bitMode">Signifies whether the data is PVRTC2 or PVRTC4</param> 
16/// <param name="xDim">X dimension of the texture</param> 
17/// <param name="yDim">Y dimension of the texture</param> 
18/// <param name="outResultImage">The decompressed texture data</param> 
19/// <returns>Return the amount of data that was decompressed.</returns> 
20uint32_t PVRTDecompressPVRTC(const void* compressedData, uint32_t do2bitMode, uint32_t xDim, uint32_t yDim, uint8_t* outResultImage); 
21 
22} // namespace pvr 
23