Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
lut_viewer.h
Go to the documentation of this file.
1/*
2 This file is part of Ansel,
3 Copyright (C) 2026 Aurélien PIERRE.
4
5 Ansel is free software: you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation, either version 3 of the License, or
8 (at your option) any later version.
9
10 Ansel is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with darktable. If not, see <http://www.gnu.org/licenses/>.
17*/
18
19#ifndef DT_GUI_LUT_VIEWER_H
20#define DT_GUI_LUT_VIEWER_H
21
22#include "system/dtpthread.h"
24#include "develop/iop_profile.h"
25
26#include <stddef.h>
27#include <gtk/gtk.h>
28
30
36
42
48
53
60void dt_lut_viewer_set_lut(dt_lut_viewer_t *viewer, const float *clut, uint16_t level,
61 dt_pthread_rwlock_t *clut_lock,
62 const dt_iop_order_iccprofile_info_t *lut_profile,
63 const dt_iop_order_iccprofile_info_t *display_profile);
64
71 const dt_lut_viewer_control_node_t *control_nodes,
72 size_t control_node_count);
73
78#endif // DT_GUI_LUT_VIEWER_H
struct _GtkWidget GtkWidget
GtkWidget, opaque, spelled exactly as GTK spells it.
Definition colorspaces.h:98
void dt_lut_viewer_destroy(dt_lut_viewer_t **viewer)
void dt_lut_viewer_queue_draw(dt_lut_viewer_t *viewer)
void dt_lut_viewer_set_control_nodes(dt_lut_viewer_t *viewer, const dt_lut_viewer_control_node_t *control_nodes, size_t control_node_count)
GtkWidget * dt_lut_viewer_get_widget(dt_lut_viewer_t *viewer)
dt_lut_viewer_t * dt_lut_viewer_new(dt_gui_module_t *module)
void dt_lut_viewer_set_lut(dt_lut_viewer_t *viewer, const float *clut, uint16_t level, dt_pthread_rwlock_t *clut_lock, const dt_iop_order_iccprofile_info_t *lut_profile, const dt_iop_order_iccprofile_info_t *display_profile)
The dt_gui_module_t type is the intersection between a dt_lib_module_t and a dt_iop_module_t structur...
A profile reduced to the arithmetic the pixel loop can run: two matrices and six tone-curve LUTs,...