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#pragma once
28
29#include <stdint.h>
30
31#ifdef HAVE_CONFIG_H
32#include "config.h"
33#endif
34
43
51
52// params to be used to collect histogram
62
63// params used to collect histogram during last histogram capture
65{
67 uint32_t bins_count;
69 uint32_t pixels;
71 uint32_t ch;
73
74#ifndef DT_IOP_PARAMS_T
75#define DT_IOP_PARAMS_T
76typedef void dt_iop_params_t;
77#endif
78
80
82
96 const int raster_mask_id);
97
111
117
118// clang-format off
119// modelines: These editor modelines have been set for all relevant files by tools/update_modelines.py
120// vim: shiftwidth=2 expandtab tabstop=2 cindent
121// kate: tab-indents: off; indent-width 2; replace-tabs on; indent-mode cstyle; remove-trailing-spaces modified;
122// clang-format on
dt_dev_request_flags_t
Definition pixelpipe.h:46
@ DT_REQUEST_ON
Definition pixelpipe.h:48
@ DT_REQUEST_ONLY_IN_GUI
Definition pixelpipe.h:49
@ DT_REQUEST_NONE
Definition pixelpipe.h:47
dt_dev_pixelpipe_type_t
Definition pixelpipe.h:36
@ DT_DEV_PIXELPIPE_THUMBNAIL
Definition pixelpipe.h:41
@ DT_DEV_PIXELPIPE_EXPORT
Definition pixelpipe.h:38
@ DT_DEV_PIXELPIPE_NONE
Definition pixelpipe.h:37
@ DT_DEV_PIXELPIPE_PREVIEW
Definition pixelpipe.h:40
@ DT_DEV_PIXELPIPE_FULL
Definition pixelpipe.h:39
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:76
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:56