xrif
A fast lossless compression system
|
Test the pixel differencing method with white noise. More...
Test the pixel differencing method with white noise.
Definition in file xrif_test_difference_pixel_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_pixel_int16_white) | |
START_TEST (diff_pixel_uint16_white) | |
START_TEST (diff_pixel_int32_white) | |
START_TEST (diff_pixel_uint32_white) | |
START_TEST (diff_pixel_int64_white) | |
START_TEST (diff_pixel_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_pixel_int16_white | ) |
Verify pixel differencing for int16_t Verify that xrif difference/un-difference cycle using the first pixel of each works with white noise For int16_t.
Definition at line 118 of file xrif_test_difference_pixel_whitenoise.c.
START_TEST | ( | diff_pixel_int32_white | ) |
Verify pixel differencing for int32_t Verify that xrif difference/un-difference cycle using the first pixel of each works with white noise For int32_t.
Definition at line 158 of file xrif_test_difference_pixel_whitenoise.c.
START_TEST | ( | diff_pixel_int64_white | ) |
Verify pixel differencing for int64_t Verify that xrif difference/un-difference cycle using the first pixel of each works with white noise For int64_t.
Definition at line 198 of file xrif_test_difference_pixel_whitenoise.c.
START_TEST | ( | diff_pixel_uint16_white | ) |
Verify pixel differencing for uint16_t Verify that xrif difference/un-difference cycle using the first pixel of each works with white noise For uint16_t.
Definition at line 138 of file xrif_test_difference_pixel_whitenoise.c.
START_TEST | ( | diff_pixel_uint32_white | ) |
Verify pixel differencing for uint32_t Verify that xrif difference/un-difference cycle using the first pixel of each works with white noise For uint32_t.
Definition at line 178 of file xrif_test_difference_pixel_whitenoise.c.
START_TEST | ( | diff_pixel_uint64_white | ) |
Verify pixel differencing for uint64_t Verify that xrif difference/un-difference cycle using the first pixel of each works with white noise For uint64_t.
Definition at line 218 of file xrif_test_difference_pixel_whitenoise.c.