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) 2011-2021 darktable developers.
4
5 darktable 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 darktable 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#pragma once
20
21#include <stdint.h>
22#include "image.h"
23
24#ifdef __cplusplus
25extern "C" {
26#endif
27
28typedef struct dt_dng_gain_map_t
29{
30 uint32_t top;
31 uint32_t left;
32 uint32_t bottom;
33 uint32_t right;
34 uint32_t plane;
35 uint32_t planes;
36 uint32_t row_pitch;
37 uint32_t col_pitch;
38 uint32_t map_points_v;
39 uint32_t map_points_h;
44 uint32_t map_planes;
45 float map_gain[];
47
48void dt_dng_opcode_process_opcode_list_2(uint8_t *buf, uint32_t size, dt_image_t *img);
49
50#ifdef __cplusplus
51}
52#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:29
uint32_t bottom
Definition dng_opcode.h:32
double map_origin_h
Definition dng_opcode.h:43
uint32_t plane
Definition dng_opcode.h:34
double map_spacing_h
Definition dng_opcode.h:41
uint32_t right
Definition dng_opcode.h:33
uint32_t planes
Definition dng_opcode.h:35
uint32_t row_pitch
Definition dng_opcode.h:36
uint32_t map_planes
Definition dng_opcode.h:44
uint32_t map_points_v
Definition dng_opcode.h:38
double map_origin_v
Definition dng_opcode.h:42
uint32_t col_pitch
Definition dng_opcode.h:37
uint32_t map_points_h
Definition dng_opcode.h:39
double map_spacing_v
Definition dng_opcode.h:40
float map_gain[]
Definition dng_opcode.h:45
uint32_t top
Definition dng_opcode.h:30
uint32_t left
Definition dng_opcode.h:31
Definition common/image.h:195