| 205 | } |
| 206 | |
| 207 | bool decompress(const U8 *src, U8 *dstRGBA,const S32 width,const S32 height, const GFXFormat srcFormat) |
| 208 | { |
| 209 | if (!isCompressedFormat(srcFormat)) |
| 210 | return false; |
| 211 | |
| 212 | S32 squishFlag = _getSquishFormat(srcFormat); |
| 213 | squish::DecompressImage(dstRGBA, width, height, src, squishFlag); |
| 214 | |
| 215 | return true; |
| 216 | } |
| 217 | |
| 218 | void swizzleDDS(DDSFile *srcDDS, const Swizzle<U8, 4> &swizzle) |
| 219 | { |
no test coverage detected