Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
dng_opcode.h
Go to the documentation of this file.
1/*
2 This file is part of darktable,
3 Copyright (C) 2010-2012 Henrik Andersson.
4 Copyright (C) 2010-2011 johannes hanika.
5 Copyright (C) 2010 Stuart Henderson.
6 Copyright (C) 2011 Alexandre Prokoudine.
7 Copyright (C) 2012 José Carlos García Sogo.
8 Copyright (C) 2012 Richard Wonka.
9 Copyright (C) 2013 Gaspard Jankowiak.
10 Copyright (C) 2013 Thomas Pryds.
11 Copyright (C) 2014, 2016 Roman Lebedev.
12 Copyright (C) 2014-2016 Tobias Ellinghaus.
13 Copyright (C) 2018, 2020 Pascal Obry.
14 Copyright (C) 2018 Rick Yorgason.
15 Copyright (C) 2018 Sam Smith.
16 Copyright (C) 2020 Philippe Weyland.
17 Copyright (C) 2022 Martin Bařinka.
18 Copyright (C) 2022 paolodepetrillo.
19 Copyright (C) 2025 Alynx Zhou.
20
21 darktable is free software: you can redistribute it and/or modify
22 it under the terms of the GNU General Public License as published by
23 the Free Software Foundation, either version 3 of the License, or
24 (at your option) any later version.
25
26 darktable is distributed in the hope that it will be useful,
27 but WITHOUT ANY WARRANTY; without even the implied warranty of
28 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
29 GNU General Public License for more details.
30
31 You should have received a copy of the GNU General Public License
32 along with darktable. If not, see <http://www.gnu.org/licenses/>.
33*/
34
35#pragma once
36
37#include <stdint.h>
38#include "image.h"
39
40#ifdef __cplusplus
41extern "C" {
42#endif
43
44typedef struct dt_dng_gain_map_t
45{
46 uint32_t top;
47 uint32_t left;
48 uint32_t bottom;
49 uint32_t right;
50 uint32_t plane;
51 uint32_t planes;
52 uint32_t row_pitch;
53 uint32_t col_pitch;
54 uint32_t map_points_v;
55 uint32_t map_points_h;
60 uint32_t map_planes;
61 float map_gain[];
63
64void dt_dng_opcode_process_opcode_list_2(uint8_t *buf, uint32_t size, dt_image_t *img);
65
66#ifdef __cplusplus
67}
68#endif
void dt_dng_opcode_process_opcode_list_2(uint8_t *buf, uint32_t size, dt_image_t *img)
Definition dng_opcode.c:58
size_t size
Definition mipmap_cache.c:3
Definition dng_opcode.h:45
uint32_t bottom
Definition dng_opcode.h:48
double map_origin_h
Definition dng_opcode.h:59
uint32_t plane
Definition dng_opcode.h:50
double map_spacing_h
Definition dng_opcode.h:57
uint32_t right
Definition dng_opcode.h:49
uint32_t planes
Definition dng_opcode.h:51
uint32_t row_pitch
Definition dng_opcode.h:52
uint32_t map_planes
Definition dng_opcode.h:60
uint32_t map_points_v
Definition dng_opcode.h:54
double map_origin_v
Definition dng_opcode.h:58
uint32_t col_pitch
Definition dng_opcode.h:53
uint32_t map_points_h
Definition dng_opcode.h:55
double map_spacing_v
Definition dng_opcode.h:56
float map_gain[]
Definition dng_opcode.h:61
uint32_t top
Definition dng_opcode.h:46
uint32_t left
Definition dng_opcode.h:47
Definition common/image.h:247