xrif
A fast lossless compression system
|
These functions perform a complete cycle of encode and decode.
Modules | |
Differencing | |
Reordering | |
Compression & De-compression | |
Functions | |
xrif_error_t | xrif_encode (xrif_t handle) |
Encode data using the xrif format. More... | |
xrif_error_t | xrif_decode (xrif_t handle) |
Decode data from the xrif format. More... | |
xrif_error_t xrif_decode | ( | xrif_t | handle | ) |
Decode data from the xrif format.
Calls xrif_decompress, xrif_unreorder, and xrif_undifference. If any of these returns an error, that error is returned.
The timespecs are updated during this call.
[in,out] | handle | [in/out] the xrif handle |
Definition at line 1043 of file xrif.c.
References xrif_handle::difference_method, xrif_handle::ts_decompress_start, XRIF_ERROR_NULLPTR, and XRIF_ERROR_PRINT.
xrif_error_t xrif_encode | ( | xrif_t | handle | ) |
Encode data using the xrif format.
Calls xrif_difference(), xrif_reorder(), and xrif_compress(). If any of these returns an error, that error is returned. If all methods are NONE, this is a no-op and returns immediately.
The timespecs are updated during this call.
[in,out] | handle | [in/out] the xrif handle |
Definition at line 966 of file xrif.c.
References xrif_handle::difference_method, xrif_handle::ts_difference_start, XRIF_ERROR_NULLPTR, and XRIF_ERROR_PRINT.