public async override Task <byte[]> DecodeFrame(Stream dataSource, uint width, uint height) { var dxt5Data = await base.DecodeFrame(dataSource, width, height); DXT2Decoder.CorrectPreMult(dxt5Data); return(dxt5Data); }
public override byte[] DecodeFrameSync(Stream dataSource, uint width, uint height) { var dxt5Data = base.DecodeFrameSync(dataSource, width, height); DXT2Decoder.CorrectPreMult(dxt5Data); return(dxt5Data); }