| xrif
							 A fast lossless compression system | 
| Functions | |
| size_t | xrif_typesize (xrif_typecode_t type_code) | 
| Return the size of the type specified by the code.  More... | |
| double | xrif_ts_difference (struct timespec *ts1, struct timespec *ts0) | 
| Calculate the difference between two timespecs.  More... | |
| const char * | xrif_difference_method_string (int diff_method) | 
| Get a string describing the difference method.  More... | |
| const char * | xrif_reorder_method_string (int reorder_method) | 
| Get a string describing the reordering method.  More... | |
| const char * | xrif_compress_method_string (int compress_method) | 
| Get a string describing the compression method.  More... | |
| const char* xrif_compress_method_string | ( | int | compress_method | ) | 
Get a string describing the compression method.
Returns a pointer to a string describing the compression method.
compress_method is valid compress_method is not valid | [in] | compress_method | [in] the compression method | 
| const char* xrif_difference_method_string | ( | int | diff_method | ) | 
| const char* xrif_reorder_method_string | ( | int | reorder_method | ) | 
| double xrif_ts_difference | ( | struct timespec * | ts1, | 
| struct timespec * | ts0 | ||
| ) | 
Calculate the difference between two timespecs.
Calculates ts1-ts0 in double precision.
| [in] | ts1 | [in] the end time | 
| [in] | ts0 | [in] the start time | 
Definition at line 2185 of file xrif.c.
Referenced by xrif_compress_time(), xrif_decode_time(), xrif_decompress_time(), xrif_difference_time(), xrif_encode_time(), xrif_reorder_time(), xrif_undifference_time(), and xrif_unreorder_time().
| size_t xrif_typesize | ( | xrif_typecode_t | type_code | ) | 
Return the size of the type specified by the code.
sizeof(type) for the specified type code. type_code is invalid | [in] | type_code | [in] the type code | 
Definition at line 2150 of file xrif.c.
References XRIF_TYPECODE_COMPLEX_DOUBLE, XRIF_TYPECODE_COMPLEX_FLOAT, XRIF_TYPECODE_DOUBLE, XRIF_TYPECODE_FLOAT, XRIF_TYPECODE_HALF, XRIF_TYPECODE_INT16, XRIF_TYPECODE_INT32, XRIF_TYPECODE_INT64, XRIF_TYPECODE_INT8, XRIF_TYPECODE_UINT16, XRIF_TYPECODE_UINT32, XRIF_TYPECODE_UINT64, and XRIF_TYPECODE_UINT8.
Referenced by xrif_set_size().