C# Class Squish.SquishCompression

ファイルを表示 Open project: Nihlus/libwarcraft

Public Methods

Method Description
CompressBlock ( byte rgba, SquishOptions flags ) : byte[]
CompressBlock ( Stream input, Stream output, SquishOptions flags ) : void
CompressBlockMasked ( byte rgba, int mask, SquishOptions flags ) : byte[]
CompressBlockMasked ( Stream input, Stream output, int mask, SquishOptions flags ) : void
CompressImage ( byte rgba, int width, int height, SquishOptions flags ) : byte[]
CompressImage ( Stream input, Stream output, int width, int height, SquishOptions flags ) : void
DecompressBlock ( byte block, int blockOffset, SquishOptions flags ) : byte[]
DecompressBlock ( Stream input, Stream output, SquishOptions flags ) : void
DecompressImage ( byte blocks, int width, int height, SquishOptions flags ) : byte[]
DecompressImage ( byte blocks, int offset, int width, int height, SquishOptions flags ) : byte[]
DecompressImage ( Stream input, Stream output, int width, int height, SquishOptions flags ) : void
DecompressToBitmap ( byte blocks, int width, int height, SquishOptions flags ) : Image
DecompressToBitmap ( byte blocks, int offset, int width, int height, SquishOptions flags ) : Image
GetStorageRequirements ( int width, int height, SquishOptions flags ) : int

Method Details

CompressBlock() public static method

public static CompressBlock ( byte rgba, SquishOptions flags ) : byte[]
rgba byte
flags SquishOptions
return byte[]

CompressBlock() public static method

public static CompressBlock ( Stream input, Stream output, SquishOptions flags ) : void
input Stream
output Stream
flags SquishOptions
return void

CompressBlockMasked() public static method

public static CompressBlockMasked ( byte rgba, int mask, SquishOptions flags ) : byte[]
rgba byte
mask int
flags SquishOptions
return byte[]

CompressBlockMasked() public static method

public static CompressBlockMasked ( Stream input, Stream output, int mask, SquishOptions flags ) : void
input Stream
output Stream
mask int
flags SquishOptions
return void

CompressImage() public static method

public static CompressImage ( byte rgba, int width, int height, SquishOptions flags ) : byte[]
rgba byte
width int
height int
flags SquishOptions
return byte[]

CompressImage() public static method

public static CompressImage ( Stream input, Stream output, int width, int height, SquishOptions flags ) : void
input Stream
output Stream
width int
height int
flags SquishOptions
return void

DecompressBlock() public static method

public static DecompressBlock ( byte block, int blockOffset, SquishOptions flags ) : byte[]
block byte
blockOffset int
flags SquishOptions
return byte[]

DecompressBlock() public static method

public static DecompressBlock ( Stream input, Stream output, SquishOptions flags ) : void
input Stream
output Stream
flags SquishOptions
return void

DecompressImage() public static method

public static DecompressImage ( byte blocks, int width, int height, SquishOptions flags ) : byte[]
blocks byte
width int
height int
flags SquishOptions
return byte[]

DecompressImage() public static method

public static DecompressImage ( byte blocks, int offset, int width, int height, SquishOptions flags ) : byte[]
blocks byte
offset int
width int
height int
flags SquishOptions
return byte[]

DecompressImage() public static method

public static DecompressImage ( Stream input, Stream output, int width, int height, SquishOptions flags ) : void
input Stream
output Stream
width int
height int
flags SquishOptions
return void

DecompressToBitmap() public static method

public static DecompressToBitmap ( byte blocks, int width, int height, SquishOptions flags ) : Image
blocks byte
width int
height int
flags SquishOptions
return Image

DecompressToBitmap() public static method

public static DecompressToBitmap ( byte blocks, int offset, int width, int height, SquishOptions flags ) : Image
blocks byte
offset int
width int
height int
flags SquishOptions
return Image

GetStorageRequirements() public static method

public static GetStorageRequirements ( int width, int height, SquishOptions flags ) : int
width int
height int
flags SquishOptions
return int