![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include <limits.h>
#include <setjmp.h>
#include <stdarg.h>
#include <stddef.h>
#include <stdio.h>
#include <math.h>
#include <cmocka.h>
#include "../util/assert.h"
#include "../util/tracing.h"
#include "../util/testimg.h"
#include "iop/filmicrgb.c"
Macros | |
#define | E 1e-6f |
Functions | |
void | __wrap_dt_iop_color_picker_reset (dt_iop_module_t *module, gboolean update) |
static void | test_name (void **state) |
static void | test_default_group (void **state) |
static void | test_clamp_simd (void **state) |
static void | test_pixel_rgb_norm_power (void **state) |
static void | test_get_pixel_norm (void **state) |
static void | test_log_tonemapping_v2 (void **state) |
static void | test_filmic_spline (void **state) |
static float | saturation_gui_to_internal (float saturation_percent) |
static void | test_filmic_desaturate_v1 (void **state) |
static void | test_linear_saturation (void **state) |
int | main (int argc, char *argv[]) |
#define E 1e-6f |
void __wrap_dt_iop_color_picker_reset | ( | dt_iop_module_t * | module, |
gboolean | update | ||
) |
References update().
int main | ( | int | argc, |
char * | argv[] | ||
) |
References E, test_clamp_simd(), test_default_group(), test_filmic_desaturate_v1(), test_filmic_spline(), test_get_pixel_norm(), test_linear_saturation(), test_log_tonemapping_v2(), test_name(), test_pixel_rgb_norm_power(), and TR_DEBUG.
|
static |
References TR_BUG.
Referenced by test_filmic_desaturate_v1().
References assert_float_equal, clamp_simd(), and E.
Referenced by main().
References default_group(), IOP_GROUP_TECHNICAL, and IOP_GROUP_TONES.
Referenced by main().
References assert_float_equal, E, filmic_desaturate_v1(), for_testimg_pixels_p_xy, for_testimg_pixels_p_yx, get_pixel(), saturation_gui_to_internal(), testimg_free(), testimg_gen_grey_max_dr(), testimg_gen_grey_max_dr_neg(), testimg_gen_grey_space(), testimg_to_log(), TR_BUG, TR_DEBUG, TR_STEP, and Testimg::width.
Referenced by main().
References assert_float_equal, DT_FILMIC_METHOD_MAX_RGB, E, for_testimg_pixels_p_xy, get_pixel_norm(), testimg_free(), testimg_gen_grey_max_dr(), testimg_gen_grey_max_dr_neg(), testimg_gen_grey_space(), testimg_gen_rgb_space(), TESTIMG_STD_WIDTH, TR_BUG, TR_DEBUG, and TR_STEP.
Referenced by main().
References assert_float_equal, E, for_testimg_pixels_p_xy, linear_saturation(), testimg_free(), testimg_gen_grey_space(), testimg_gen_rgb_space(), TESTIMG_STD_WIDTH, TR_DEBUG, and TR_STEP.
Referenced by main().
References assert_float_equal, E, for_testimg_pixels_p_xy, MAX, MIN, testimg_free(), testimg_gen_grey_max_dr(), testimg_gen_grey_max_dr_neg(), testimg_gen_grey_space(), TESTIMG_STD_DYN_RANGE_EV, TESTIMG_STD_WIDTH, testimg_val_to_log(), TR_DEBUG, and TR_STEP.
Referenced by main().
References assert_float_equal, E, for_testimg_pixels_p_xy, pixel_rgb_norm_power(), testimg_free(), testimg_gen_grey_max_dr(), testimg_gen_grey_max_dr_neg(), testimg_gen_grey_space(), testimg_gen_rgb_space(), TESTIMG_STD_WIDTH, TR_BUG, TR_DEBUG, and TR_STEP.
Referenced by main().