diff options
| author | Paul Buetow <paul@buetow.org> | 2026-07-14 14:50:21 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-07-14 14:50:21 +0300 |
| commit | de1d108d97bc55a6f047c47bb56667068aac71ff (patch) | |
| tree | c963ca62a985ad6e1c6930743c5a4eee7ed08a64 /meson.build | |
| parent | 95858bc4a819c118cf76dd38d6da0365ead997a9 (diff) | |
gegl: enhancer presets + export, LSAN suppressions (wt0)
M9 (task wt0): GEGL quick-enhance (optional, feature-gated).
- src/enhancer.{c,h}: 8 built-in presets (Auto-fix, Brightness, Contrast,
Saturation, Warm, Cool, Sharpen, Denoise) using gegl:stretch-contrast,
gegl:exposure, gegl:brightness-contrast, gegl:saturation, gegl:color-enhance,
gegl:unsharp-mask, gegl:noise-reduction. enhancer_apply via buffer-source +
buffer-sink pipeline; enhancer_export via gegl:jpg-save. User graph presets
deferred (NOT_SUPPORTED in v1).
- meson: gegl_dep conditional (-DHAVE_GEGL); enhancer.c in libggae.
- tests: unit test_enhancer (presets dims+non-zero, export file written).
LSAN suppressions for GEGL third-party init/node leaks.
- 20/20 green, ASan clean (with GEGL lib suppressions).
Diffstat (limited to 'meson.build')
| -rw-r--r-- | meson.build | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meson.build b/meson.build index 434e599..2e84163 100644 --- a/meson.build +++ b/meson.build @@ -96,6 +96,11 @@ if libjpeg_dep.found() ggaze_c_args += '-DHAVE_JPEG' ggaze_extra_deps += libjpeg_dep endif +if gegl_dep.found() + ggaze_src += files('src/enhancer.c') + ggaze_c_args += '-DHAVE_GEGL' + ggaze_extra_deps += gegl_dep +endif ggaze_lib = static_library('ggaze', ggaze_src, |
