![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include "common/colorspaces.h"
#include "common/colorspaces_inline_conversions.h"
#include <glib.h>
Go to the source code of this file.
Data Structures | |
struct | point_t |
struct | f_line_t |
struct | box_t |
struct | chart_t |
Typedefs | |
typedef struct point_t | point_t |
typedef struct f_line_t | f_line_t |
typedef struct box_t | box_t |
typedef struct chart_t | chart_t |
Functions | |
void | free_chart (chart_t *chart) |
chart_t * | parse_cht (const char *filename) |
int | parse_it8 (const char *filename, chart_t *chart) |
void | checker_set_color (box_t *box, dt_colorspaces_color_profile_type_t color_space, float c0, float c1, float c2) |
void checker_set_color | ( | box_t * | box, |
dt_colorspaces_color_profile_type_t | color_space, | ||
float | c0, | ||
float | c1, | ||
float | c2 | ||
) |
References c1, c2, box_t::color, box_t::color_space, color_space, DT_COLORSPACE_LAB, DT_COLORSPACE_NONE, DT_COLORSPACE_XYZ, dt_Lab_to_XYZ(), dt_XYZ_to_sRGB_clipped(), Lab(), and box_t::rgb.
Referenced by collect_reference_patches_foreach(), collect_source_patches_foreach(), parse_cht(), and parse_it8().
References chart_t::box_table, chart_t::d_table, chart_t::f_list, and chart_t::patch_sets.
Referenced by main(), open_cht(), and parse_cht().
chart_t * parse_cht | ( | const char * | filename | ) |
References chart_t::bb_h, chart_t::bb_w, BLOCK_BOX_SHRINK, BLOCK_BOXES, BLOCK_EXPECTED, BLOCK_NONE, BLOCK_REF_ROTATION, BLOCK_XLIST, BLOCK_YLIST, chart_t::box_shrink, chart_t::box_table, c1, c2, checker_set_color(), box_t::color_space, color_space, chart_t::d_table, DT_COLORSPACE_LAB, DT_COLORSPACE_NONE, DT_COLORSPACE_XYZ, ERROR, error(), f(), chart_t::f_list, free_chart(), free_labels_list(), box_t::h, key, MAX, MAX_LINE_LENGTH, MIN, f_line_t::p, box_t::p, parse_double(), parse_string(), chart_t::patch_sets, chart_t::ref_rotation, SCALE_X, SCALE_Y, strinc(), box_t::w, point_t::x, and point_t::y.
Referenced by open_cht().
int parse_it8 | ( | const char * | filename, |
chart_t * | chart | ||
) |
References chart_t::box_table, checker_set_color(), color_space, DT_COLORSPACE_LAB, DT_COLORSPACE_NONE, DT_COLORSPACE_XYZ, error(), and key.
Referenced by open_it8().