Debian Codegraph @

lib/jxl/render_pipeline/stage_patches.h

raw
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 <memory>
10 #include <vector>
11
12 #include "lib/jxl/dec_patch_dictionary.h"
13 #include "lib/jxl/image_metadata.h"
14 #include "lib/jxl/render_pipeline/render_pipeline_stage.h"
15
16 namespace jxl {
17
18 // Draws patches if applicable.
19 std::unique_ptr<RenderPipelineStage> GetPatchesStage(
20 const PatchDictionary* patches,
21 const std::vector<ExtraChannelInfo>* extra_channel_info);
22
23 } // namespace jxl
24
25 #endif // LIB_JXL_RENDER_PIPELINE_STAGE_PATCHES_H_