xrif
A fast lossless compression system
xrif_test_difference_previous_whitenoise.c File Reference

Test the previous differencing method with white noise. More...

Test the previous differencing method with white noise.

Author
Jared R. Males (jared.nosp@m.male.nosp@m.s@gma.nosp@m.il.c.nosp@m.om)

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"
Include dependency graph for xrif_test_difference_previous_whitenoise.c:

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
 

Function Documentation

◆ START_TEST() [1/6]

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() [2/6]

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() [3/6]

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() [4/6]

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() [5/6]

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() [6/6]

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.