Compression/Expansion (CX) API Function List

Common Functions

CXUncompressAny Detects the compression format from the data header and executes the appropriate decompression process.
CXSecureUncompressAny Detects the compression format from the data header and executes the appropriate decompression process. (Includes buffer overrun check.)
CXGetUncompressedSize Gets the size of the expanded data.
CXGetCompressionType Gets the compression format of the compressed data.
CXGetCompressionHeader Gets the data header of the compressed data.

Run-Length Compression

CXUncompressRL Decompresses run-length compressed data all at once.
CXSecureUncompressRL Decompresses run-length compressed data all at once. (Includes buffer overrun check.)
CXInitUncompContextRL Initializes run-length compression streaming decode context.
CXInitUncompContextRLFront Initializes the streaming decompression of run-length compressed data to a specified size of decompressed data.
CXReadUncompRL Runs the run-length compression streaming decoding.
CXIsFinishedUncompRL Checks whether streaming decompression of run-length compressed data has finished.
CXCompressRL Performs run-length compression of data.

LZ77 Compression

CXUncompressLZ Decompresses the LZ77-compressed data all at once.
CXSecureUncompressLZ Decompresses the LZ77-compressed data all at once. (Includes buffer overrun check.)
CXInitUncompContextLZ Initializes the streaming decode context of LZ77 compression.
CXInitUncompContextLZFront Initializes streaming decompression of the LZ77-compressed data to a specified size of decompressed data.
CXReadUncompLZ Runs LZ77 compression streaming decoding.
CXIsFinishedUncompLZ Checks whether streaming decompression of the LZ77-compressed data has finished.
CXCompressLZ Performs LZ77 compression on the data.
CXCompressLZEx Performs LZ77 extended compression on the data.

Huffman Compression

CXUncompressHuffman Decompresses Huffman-compressed data all at once.
CXSecureUncompressHuffman Decompresses Huffman-compressed data all at once. (Includes buffer overrun check.)
CXInitUncompContextHuffman Initializes the Huffman compression streaming decode context.
CXInitUncompContextHuffmanFront Initializes streaming decompression of Huffman compressed data to a specified size of decompressed data.
CXReadUncompHuffman Runs Huffman compression streaming decoding.
CXIsFinishedUncompHuffman Checks whether streaming decompression of Huffman compressed data has finished.
CXCompressHuffman Performs Huffman compression on the data.

LH Compression

CXUncompressLH Decompresses LH-compressed data all at once.
CXSecureUncompressLH Decompresses LH-compressed data all at once. (Includes buffer overrun check.)
CXInitUncompContextLH Initializes LH compression streaming decompression context.
CXInitUncompContextLHFront Initializes the streaming decompression of data compressed in LH format to a specified decompression size.
CXReadUncompLH Runs LZ77 compression streaming decompression.
CXIsFinishedUncompLH Checks whether streaming decompression of LH-compressed data has finished.

LRC Compression

CXUncompressLRC Decompresses LRC-compressed data all at once.
CXSecureUncompressLRC Decompresses LRC-compressed data all at once. (Includes buffer overrun check.)
CXInitUncompContextLRC Initializes LRC compression streaming decompression context.
CXInitUncompContextLRCFront Initializes the streaming decompression of data compressed in LRC format to a specified decompression size.
CXReadUncompLRC Runs LRC compression streaming decompression.
CXIsFinishedUncompLRC Checks whether streaming decompression of LRC-compressed data has finished.

Difference-Filtering

CXUnfilterDiff Decompresses data to which a difference filter has been applied.
CXSecureUnfilterDiff Decompresses data to which a difference filter has been applied. (Includes buffer overrun check.)

Structures

CXCompressionHeader The compressed data's data header.
CXUncompContextRL The streaming decompression context of the run-length compressed data.
CXUncompContextLZ The streaming decompression context of the LZ77-compressed data.
CXUncompContextHuffman The streaming decompression context of the Huffman-compressed data.
CXUncompContextLH The streaming decompression context of data compressed in LH format.
CXUncompContextLRC The streaming decompression context of data compressed in LRC format.




CONFIDENTIAL