xrif
A fast lossless compression system

Collaboration diagram for Differencing:

Modules

 Previous Differencing
 
 First Differencing
 
 Pixel Differencing
 

Functions

xrif_error_t xrif_difference (xrif_t handle)
 Difference the image(s) More...
 
xrif_error_t xrif_undifference (xrif_t handle)
 Undifference the image(s) More...
 

Function Documentation

◆ xrif_difference()

xrif_error_t xrif_difference ( xrif_t  handle)

Difference the image(s)

This function calls the method specific difference function for the method specified by handle->difference_method.

Returns
XRIF_ERROR_NULLPTR if the handle is NULL
XRIF_ERROR_NOTIMPL if xrif_handle::difference_method as set in the handle is not valid
other error codes from the differencing functions
XRIF_NOERROR on success
Parameters
[in,out]handle[in/out] the xrif handle

Definition at line 1102 of file xrif.c.

References xrif_handle::difference_method, XRIF_ERROR_NULLPTR, and XRIF_ERROR_PRINT.

◆ xrif_undifference()

xrif_error_t xrif_undifference ( xrif_t  handle)

Undifference the image(s)

This function calls the method specific undifference function for the method specified by handle->difference_method.

Returns
XRIF_ERROR_NULLPTR if the handle is NULL
XRIF_ERROR_NOTIMPL if xrif_handle::difference_method as set in the handle is not valid
other error codes from the differencing functions
XRIF_NOERROR on success
Parameters
[in,out]handle[in/out] the xrif handle

Definition at line 1129 of file xrif.c.

References xrif_handle::difference_method, XRIF_ERROR_NULLPTR, and XRIF_ERROR_PRINT.