1 // Copyright (c) the JPEG XL Project Authors. All rights reserved.
2 //
3 // Use of this source code is governed by a BSD-style
4 // license that can be found in the LICENSE file.
5 
6 #ifndef LIB_JXL_RENDER_PIPELINE_STAGE_GABORISH_H_
7 #define LIB_JXL_RENDER_PIPELINE_STAGE_GABORISH_H_
8 #include <math.h>
9 #include <stdint.h>
10 #include <stdio.h>
11 
12 #include <algorithm>
13 #include <utility>
14 #include <vector>
15 
16 #include "lib/jxl/loop_filter.h"
17 #include "lib/jxl/render_pipeline/render_pipeline_stage.h"
18 
19 namespace jxl {
20 
21 // Applies decoder-side Gaborish with the given settings. `lf.gab` must be 1.
22 std::unique_ptr<RenderPipelineStage> GetGaborishStage(const LoopFilter& lf);
23 }  // namespace jxl
24 
25 #endif  // LIB_JXL_RENDER_PIPELINE_STAGE_GABORISH_H_
26