Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
imageio_rawspeed.h
Go to the documentation of this file.
1/*
2 This file is part of darktable,
3 Copyright (C) 2009-2011, 2014 johannes hanika.
4 Copyright (C) 2012 Richard Wonka.
5 Copyright (C) 2014-2016 Pedro Côrte-Real.
6 Copyright (C) 2014, 2016 Tobias Ellinghaus.
7 Copyright (C) 2020, 2022 Pascal Obry.
8 Copyright (C) 2021 Daniel Vogelbacher.
9 Copyright (C) 2022 Martin Bařinka.
10 Copyright (C) 2023 Aurélien PIERRE.
11 Copyright (C) 2025 Alynx Zhou.
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 "common/image.h"
30#include "common/mipmap_cache.h"
31
32#ifdef __cplusplus
33extern "C" {
34#endif
35
36gboolean dt_rawspeed_lookup_makermodel(const char *maker, const char *model,
37 char *mk, int mk_len, char *md, int md_len,
38 char *al, int al_len);
39
40uint32_t dt_rawspeed_crop_dcraw_filters(uint32_t filters, uint32_t crop_x, uint32_t crop_y);
41
44
45#ifdef __cplusplus
46}
47#endif
48
49// clang-format off
50// modelines: These editor modelines have been set for all relevant files by tools/update_modelines.py
51// vim: shiftwidth=2 expandtab tabstop=2 cindent
52// kate: tab-indents: off; indent-width 2; replace-tabs on; indent-mode cstyle; remove-trailing-spaces modified;
53// clang-format on
dt_imageio_retval_t
Definition common/image.h:78
uint32_t dt_rawspeed_crop_dcraw_filters(uint32_t filters, uint32_t crop_x, uint32_t crop_y)
Definition imageio_rawspeed.cc:150
gboolean dt_rawspeed_lookup_makermodel(const char *maker, const char *model, char *mk, int mk_len, char *md, int md_len, char *al, int al_len)
Definition imageio_rawspeed.cc:112
dt_imageio_retval_t dt_imageio_open_rawspeed(dt_image_t *img, const char *filename, dt_mipmap_buffer_t *buf)
Definition imageio_rawspeed.cc:173
const char * maker
Definition iop/tonecurve.c:450
const char * model
Definition iop/tonecurve.c:451
Definition common/image.h:247
Definition mipmap_cache.h:68