Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
pixelpipe.h
Go to the documentation of this file.
1/*
2 This file is part of darktable,
3 Copyright (C) 2009-2011 johannes hanika.
4 Copyright (C) 2012 Richard Wonka.
5 Copyright (C) 2014-2016 Roman Lebedev.
6 Copyright (C) 2014, 2016, 2019 Tobias Ellinghaus.
7 Copyright (C) 2019 Edgardo Hoszowski.
8 Copyright (C) 2020 Pascal Obry.
9 Copyright (C) 2022 Martin Bařinka.
10 Copyright (C) 2023, 2025-2026 Aurélien PIERRE.
11 Copyright (C) 2026 Guillaume Stutin.
12
13 darktable is free software: you can redistribute it and/or modify
14 it under the terms of the GNU General Public License as published by
15 the Free Software Foundation, either version 3 of the License, or
16 (at your option) any later version.
17
18 darktable is distributed in the hope that it will be useful,
19 but WITHOUT ANY WARRANTY; without even the implied warranty of
20 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 GNU General Public License for more details.
22
23 You should have received a copy of the GNU General Public License
24 along with darktable. If not, see <http://www.gnu.org/licenses/>.
25*/
26
27#ifndef DT_DEVELOP_PIXELPIPE_H
28#define DT_DEVELOP_PIXELPIPE_H
29
30#include <stdint.h>
31
32#ifdef HAVE_CONFIG_H
33#include "config.h"
34#endif
35
38
47
55
56// params to be used to collect histogram
66
67// params used to collect histogram during last histogram capture
69{
71 uint32_t bins_count;
73 uint32_t pixels;
75 uint32_t ch;
77
78#ifndef DT_IOP_PARAMS_T
79#define DT_IOP_PARAMS_T
80typedef void dt_iop_params_t;
81#endif
82
84
85/* No trailing #include of develop/pixelpipe_hb.h: that header includes
86 * develop/imageop.h, which includes this one back. This file is the small shared
87 * TYPE header (pipe type/request enums, histogram params); consumers that need the
88 * full pipeline API include develop/pixelpipe_hb.h explicitly. */
89
103 const int raster_mask_id);
104
118
124
125#endif // DT_DEVELOP_PIXELPIPE_H
126
127// clang-format off
128// modelines: These editor modelines have been set for all relevant files by tools/update_modelines.py
129// vim: shiftwidth=2 expandtab tabstop=2 cindent
130// kate: tab-indents: off; indent-width 2; replace-tabs on; indent-mode cstyle; remove-trailing-spaces modified;
131// clang-format on
dt_dev_request_flags_t
Definition pixelpipe.h:50
@ DT_REQUEST_ON
Definition pixelpipe.h:52
@ DT_REQUEST_ONLY_IN_GUI
Definition pixelpipe.h:53
@ DT_REQUEST_NONE
Definition pixelpipe.h:51
dt_dev_pixelpipe_type_t
Definition pixelpipe.h:40
@ DT_DEV_PIXELPIPE_THUMBNAIL
Definition pixelpipe.h:45
@ DT_DEV_PIXELPIPE_EXPORT
Definition pixelpipe.h:42
@ DT_DEV_PIXELPIPE_NONE
Definition pixelpipe.h:41
@ DT_DEV_PIXELPIPE_PREVIEW
Definition pixelpipe.h:44
@ DT_DEV_PIXELPIPE_FULL
Definition pixelpipe.h:43
void dt_dev_clear_rawdetail_mask(struct dt_dev_pixelpipe_t *pipe)
Release the side-band detail mask cache reference currently owned by the pipeline.
Definition pixelpipe.c:64
uint64_t dt_dev_pixelpipe_rawdetail_mask_hash(const struct dt_dev_pixelpipe_iop_t *piece)
Build the shared cache key used by the hidden detailmask module.
uint64_t dt_dev_pixelpipe_raster_mask_hash(const struct dt_dev_pixelpipe_iop_t *piece, const int raster_mask_id)
Build the shared cache key for one raster mask published by a module.
void dt_iop_params_t
Definition pixelpipe.h:80
const char * dt_pixelpipe_name(dt_dev_pixelpipe_type_t pipe)
Definition pixelpipe.c:32
unsigned __int64 uint64_t
Definition strptime.c:75
const struct dt_histogram_roi_t * roi
Definition pixelpipe.h:60