Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
eaw.h
Go to the documentation of this file.
1/*
2 This file is part of darktable,
3 Copyright (C) 2020-2021 Ralf Brown.
4 Copyright (C) 2022 Martin Baƙinka.
5
6 darktable is free software: you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation, either version 3 of the License, or
9 (at your option) any later version.
10
11 darktable is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with darktable. If not, see <http://www.gnu.org/licenses/>.
18*/
19
20#pragma once
21
22#include <stdint.h>
23#include <stdlib.h>
24#include "common/darktable.h"
25
26typedef void((*eaw_decompose_t)(float *const restrict out, const float *const restrict in, float *const restrict detail,
27 const int scale, const float sharpen, const int32_t width, const int32_t height));
28
29typedef void((*eaw_synthesize_t)(float *const out, const float *const in, const float *const restrict detail,
30 const float *const restrict thrsf, const float *const restrict boostf,
31 const int32_t width, const int32_t height));
32
33void eaw_decompose(float *const restrict out, const float *const restrict in, float *const restrict detail,
34 const int scale, const float sharpen, const int32_t width, const int32_t height) ;
35void eaw_synthesize(float *const restrict out, const float *const restrict in, const float *const restrict detail,
36 const float *const restrict thrsf, const float *const restrict boostf,
37 const int32_t width, const int32_t height);
38
39void eaw_decompose_sse2(float *const restrict out, const float *const restrict in, float *const restrict detail,
40 const int scale, const float sharpen, const int32_t width, const int32_t height);
41void eaw_synthesize_sse2(float *const restrict out, const float *const restrict in, const float *const restrict detail,
42 const float *const restrict thrsf, const float *const restrict boostf,
43 const int32_t width, const int32_t height);
44
45typedef void((*eaw_dn_decompose_t)(float *const restrict out, const float *const restrict in, float *const restrict detail,
46 dt_aligned_pixel_t sum_squared, const int scale, const float inv_sigma2,
47 const int32_t width, const int32_t height));
48
49void eaw_dn_decompose(float *const restrict out, const float *const restrict in, float *const restrict detail,
50 dt_aligned_pixel_t sum_squared, const int scale, const float inv_sigma2,
51 const int32_t width, const int32_t height);
52void eaw_dn_decompose_sse(float *const restrict out, const float *const restrict in, float *const restrict detail,
53 dt_aligned_pixel_t sum_squared, const int scale, const float inv_sigma2,
54 const int32_t width, const int32_t height);
55// clang-format off
56// modelines: These editor modelines have been set for all relevant files by tools/update_modelines.py
57// vim: shiftwidth=2 expandtab tabstop=2 cindent
58// kate: tab-indents: off; indent-width 2; replace-tabs on; indent-mode cstyle; remove-trailing-spaces modified;
59// clang-format on
60
int width
Definition bilateral.h:1
int height
Definition bilateral.h:1
static const dt_colormatrix_t dt_aligned_pixel_t out
Definition colorspaces_inline_conversions.h:184
void eaw_dn_decompose_sse(float *const restrict out, const float *const restrict in, float *const restrict detail, dt_aligned_pixel_t sum_squared, const int scale, const float inv_sigma2, const int32_t width, const int32_t height)
void eaw_decompose(float *const restrict out, const float *const restrict in, float *const restrict detail, const int scale, const float sharpen, const int32_t width, const int32_t height)
Definition eaw.c:135
void eaw_synthesize_sse2(float *const restrict out, const float *const restrict in, const float *const restrict detail, const float *const restrict thrsf, const float *const restrict boostf, const int32_t width, const int32_t height)
void eaw_synthesize(float *const restrict out, const float *const restrict in, const float *const restrict detail, const float *const restrict thrsf, const float *const restrict boostf, const int32_t width, const int32_t height)
void eaw_decompose_sse2(float *const restrict out, const float *const restrict in, float *const restrict detail, const int scale, const float sharpen, const int32_t width, const int32_t height)
void eaw_dn_decompose(float *const restrict out, const float *const restrict in, float *const restrict detail, dt_aligned_pixel_t sum_squared, const int scale, const float inv_sigma2, const int32_t width, const int32_t height)
Definition eaw.c:467
typedef void((*eaw_decompose_t)(float *const restrict out, const float *const restrict in, float *const restrict detail, const int scale, const float sharpen, const int32_t width, const int32_t height))