| xrif
							 A fast lossless compression system | 
Test the previous differencing method with white noise. More...
Test the previous differencing method with white noise.
Definition in file xrif_test_difference_previous_whitenoise.c.
#include <check.h>#include <stdlib.h>#include <stdio.h>#include <time.h>#include <limits.h>#include "../src/xrif.h"#include "randutils.h"
Go to the source code of this file.
| Macros | |
| #define | XRIF_TEST_TRIALS (2) | 
| Functions | |
| START_TEST (diff_previous_int16_white) | |
| START_TEST (diff_previous_uint16_white) | |
| START_TEST (diff_previous_int32_white) | |
| START_TEST (diff_previous_uint32_white) | |
| START_TEST (diff_previous_int64_white) | |
| START_TEST (diff_previous_uint64_white) | |
| Suite * | whitenoise_suite (void) | 
| int | main (int argc, char **argv) | 
| Variables | |
| int | test_trials | 
| int | ws [] = {2,4,8,21, 33, 47, 64} | 
| int | hs [] = {2,4,8,21, 33, 47, 64} | 
| int | ps [] = {1,2,4,5,27,63,64} | 
| END_TEST | |
| START_TEST | ( | diff_previous_int16_white | ) | 
Verify previous differencing for int16_t Verify that xrif difference/un-difference cycle using the previous image works with white noise for int16_t.
Definition at line 116 of file xrif_test_difference_previous_whitenoise.c.
| START_TEST | ( | diff_previous_int32_white | ) | 
Verify previous differencing for int32_t Verify that xrif difference/un-difference cycle using the previous image works with white noise for int32_t.
Definition at line 157 of file xrif_test_difference_previous_whitenoise.c.
| START_TEST | ( | diff_previous_int64_white | ) | 
Verify previous differencing for int64_t Verify that xrif difference/un-difference cycle using the previous image works with white noise for int64_t.
Definition at line 197 of file xrif_test_difference_previous_whitenoise.c.
| START_TEST | ( | diff_previous_uint16_white | ) | 
Verify previous differencing for uint16_t Verify that xrif difference/un-difference cycle using the previous image works with white noise for uint16_t.
Definition at line 136 of file xrif_test_difference_previous_whitenoise.c.
| START_TEST | ( | diff_previous_uint32_white | ) | 
Verify previous differencing for uint32_t Verify that xrif difference/un-difference cycle using the previous image works with white noise for uint32_t.
Definition at line 177 of file xrif_test_difference_previous_whitenoise.c.
| START_TEST | ( | diff_previous_uint64_white | ) | 
Verify previous differencing for uint64_t Verify that xrif difference/un-difference cycle using the previous image works with white noise for uint64_t.
Definition at line 217 of file xrif_test_difference_previous_whitenoise.c.