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_PATCHES_H_
7 #define LIB_JXL_RENDER_PIPELINE_STAGE_PATCHES_H_
8 
9 #include <utility>
10 
11 #include "lib/jxl/patch_dictionary_internal.h"
12 #include "lib/jxl/render_pipeline/render_pipeline_stage.h"
13 
14 namespace jxl {
15 
16 // Draws patches if applicable.
17 std::unique_ptr<RenderPipelineStage> GetPatchesStage(
18     const PatchDictionary* patches);
19 
20 }  // namespace jxl
21 
22 #endif  // LIB_JXL_RENDER_PIPELINE_STAGE_PATCHES_H_
23