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) 2017-2020 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 <stdlib.h>
23#include "common/darktable.h"
24
25typedef void((*eaw_decompose_t)(float *const restrict out, const float *const restrict in, float *const restrict detail,
26 const int scale, const float sharpen, const int32_t width, const int32_t height));
27
28typedef void((*eaw_synthesize_t)(float *const out, const float *const in, const float *const restrict detail,
29 const float *const restrict thrsf, const float *const restrict boostf,
30 const int32_t width, const int32_t height));
31
32void eaw_decompose(float *const restrict out, const float *const restrict in, float *const restrict detail,
33 const int scale, const float sharpen, const int32_t width, const int32_t height) ;
34void eaw_synthesize(float *const restrict out, const float *const restrict in, const float *const restrict detail,
35 const float *const restrict thrsf, const float *const restrict boostf,
36 const int32_t width, const int32_t height);
37
38void eaw_decompose_sse2(float *const restrict out, const float *const restrict in, float *const restrict detail,
39 const int scale, const float sharpen, const int32_t width, const int32_t height);
40void eaw_synthesize_sse2(float *const restrict out, const float *const restrict in, const float *const restrict detail,
41 const float *const restrict thrsf, const float *const restrict boostf,
42 const int32_t width, const int32_t height);
43
44typedef void((*eaw_dn_decompose_t)(float *const restrict out, const float *const restrict in, float *const restrict detail,
45 dt_aligned_pixel_t sum_squared, const int scale, const float inv_sigma2,
46 const int32_t width, const int32_t height));
47
48void eaw_dn_decompose(float *const restrict out, const float *const restrict in, float *const restrict detail,
49 dt_aligned_pixel_t sum_squared, const int scale, const float inv_sigma2,
50 const int32_t width, const int32_t height);
51void eaw_dn_decompose_sse(float *const restrict out, const float *const restrict in, float *const restrict detail,
52 dt_aligned_pixel_t sum_squared, const int scale, const float inv_sigma2,
53 const int32_t width, const int32_t height);
54// clang-format off
55// modelines: These editor modelines have been set for all relevant files by tools/update_modelines.py
56// vim: shiftwidth=2 expandtab tabstop=2 cindent
57// kate: tab-indents: off; indent-width 2; replace-tabs on; indent-mode cstyle; remove-trailing-spaces modified;
58// clang-format on
59
int width
Definition bilateral.h:1
int height
Definition bilateral.h:1
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:131
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:463
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))