| xrif
							 A fast lossless compression system | 
Test the first differencing method with white noise. More...
Test the first differencing method with white noise.
Definition in file xrif_test_difference_first_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_first_int16_white) | |
| START_TEST (diff_first_uint16_white) | |
| START_TEST (diff_first_int32_white) | |
| START_TEST (diff_first_uint32_white) | |
| START_TEST (diff_first_int64_white) | |
| START_TEST (diff_first_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_first_int16_white | ) | 
Verify first differencing for int16_t Verify that xrif difference/un-difference cycle using the first image works with white noise for int16_t.
Definition at line 117 of file xrif_test_difference_first_whitenoise.c.
References xrif_new(), and XRIF_NOERROR.
| START_TEST | ( | diff_first_int32_white | ) | 
Verify first differencing for int32_t Verify that xrif difference/un-difference cycle using the first image works with white noise for int32_t.
Definition at line 247 of file xrif_test_difference_first_whitenoise.c.
References xrif_new(), and XRIF_NOERROR.
| START_TEST | ( | diff_first_int64_white | ) | 
Verify first differencing for int64_t Verify that xrif difference/un-difference cycle using the first image works with white noise for int64_t.
Definition at line 377 of file xrif_test_difference_first_whitenoise.c.
References xrif_new(), and XRIF_NOERROR.
| START_TEST | ( | diff_first_uint16_white | ) | 
Verify first differencing for uint16_t Verify that xrif difference/un-difference cycle using the first image works with white noise for uint16_t.
Definition at line 182 of file xrif_test_difference_first_whitenoise.c.
References xrif_new(), and XRIF_NOERROR.
| START_TEST | ( | diff_first_uint32_white | ) | 
Verify first differencing for uint32_t Verify that xrif difference/un-difference cycle using the first image works with white noise for uint32_t.
Definition at line 312 of file xrif_test_difference_first_whitenoise.c.
References xrif_new(), and XRIF_NOERROR.
| START_TEST | ( | diff_first_uint64_white | ) | 
Verify first differencing for uint64_t Verify that xrif difference/un-difference cycle using the first image works with white noise for uint64_t.
Definition at line 442 of file xrif_test_difference_first_whitenoise.c.
References xrif_new(), and XRIF_NOERROR.