![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include <stdio.h>#include <stdlib.h>#include <string.h>#include <math.h>#include <float.h>#include "tracing.h"#include "testimg.h"
Include dependency graph for testimg.c:Macros | |
| #define | E 1e-6f |
| #define E 1e-6f |
| Testimg * testimg_alloc | ( | const int | width, |
| const int | height | ||
| ) |
References height, Testimg::height, Testimg::name, Testimg::pixels, width, and Testimg::width.
Referenced by testimg_gen_all_grey(), testimg_gen_grey_max_dr(), testimg_gen_grey_max_dr_neg(), testimg_gen_grey_space(), testimg_gen_grey_with_rgb_clipping(), testimg_gen_rgb_space(), testimg_gen_single_color_space(), and testimg_gen_three_color_space().
References Testimg::pixels.
Referenced by test_filmic_desaturate_v1(), test_get_pixel_norm(), test_linear_saturation(), test_log_tonemapping_v2(), test_pixel_rgb_norm_power(), and testimg_gen_grey_max_dr_neg().
| Testimg * testimg_gen_all_black | ( | const int | width, |
| const int | height | ||
| ) |
References height, Testimg::name, testimg_gen_all_grey(), testimg_val_to_exp(), and width.
| Testimg * testimg_gen_all_grey | ( | const int | width, |
| const int | height, | ||
| const float | value | ||
| ) |
References for_testimg_pixels_p_xy, height, Testimg::name, testimg_alloc(), and width.
Referenced by testimg_gen_all_black(), and testimg_gen_all_white().
| Testimg * testimg_gen_all_white | ( | const int | width, |
| const int | height | ||
| ) |
References height, Testimg::name, testimg_gen_all_grey(), testimg_val_to_exp(), and width.
| Testimg * testimg_gen_grey_max_dr | ( | ) |
References for_testimg_pixels_p_xy, height, Testimg::name, testimg_alloc(), and width.
Referenced by test_filmic_desaturate_v1(), test_get_pixel_norm(), test_log_tonemapping_v2(), test_pixel_rgb_norm_power(), and testimg_gen_grey_max_dr_neg().
| Testimg * testimg_gen_grey_max_dr_neg | ( | ) |
| Testimg * testimg_gen_grey_space | ( | const int | width | ) |
References for_testimg_pixels_p_xy, height, Testimg::name, testimg_alloc(), testimg_val_to_exp(), and width.
Referenced by test_filmic_desaturate_v1(), test_get_pixel_norm(), test_linear_saturation(), test_log_tonemapping_v2(), and test_pixel_rgb_norm_power().
| Testimg * testimg_gen_grey_with_rgb_clipping | ( | const int | width | ) |
References for_testimg_pixels_p_yx, Testimg::name, testimg_alloc(), testimg_val_to_exp(), and width.
| Testimg * testimg_gen_rgb_space | ( | const int | width | ) |
References for_testimg_pixels_p_yx, height, Testimg::name, testimg_alloc(), testimg_val_to_exp(), and width.
Referenced by test_get_pixel_norm(), test_linear_saturation(), and test_pixel_rgb_norm_power().
| Testimg * testimg_gen_single_color_space | ( | const int | width, |
| const int | color_index | ||
| ) |
References for_testimg_pixels_p_yx, height, Testimg::name, testimg_alloc(), testimg_val_to_exp(), and width.
| Testimg * testimg_gen_three_color_space | ( | const int | width | ) |
References for_testimg_pixels_p_yx, height, Testimg::name, testimg_alloc(), testimg_val_to_exp(), and width.
References Testimg::height, Testimg::name, testimg_print_chan(), TR_DEBUG, and Testimg::width.
References get_pixel(), Testimg::height, Testimg::name, TR_DEBUG, and Testimg::width.
References for_testimg_pixels_p_yx, TR_DEBUG, and Testimg::width.
Referenced by testimg_print_by_chan().
References for_testimg_pixels_p_yx, and testimg_val_to_exp().
References for_testimg_pixels_p_yx, and testimg_val_to_log().
Referenced by test_filmic_desaturate_v1().
| float testimg_val_to_exp | ( | const float | val | ) |
| float testimg_val_to_log | ( | const float | val | ) |
References TESTIMG_STD_DYN_RANGE_EV.
Referenced by test_log_tonemapping_v2(), and testimg_to_log().