Debian Codegraph @

lib/jxl/render_pipeline/stage_blending.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_BLENDING_H_
7 #define LIB_JXL_RENDER_PIPELINE_STAGE_BLENDING_H_
8
9 #include <memory>
10
11 #include "lib/jxl/color_encoding_internal.h"
12 #include "lib/jxl/dec_cache.h"
13 #include "lib/jxl/frame_header.h"
14 #include "lib/jxl/render_pipeline/render_pipeline_stage.h"
15
16 namespace jxl {
17
18 // Applies blending if applicable.
19 std::unique_ptr<RenderPipelineStage> GetBlendingStage(
20 const FrameHeader& frame_header, const PassesDecoderState* dec_state,
21 const ColorEncoding& frame_color_encoding);
22
23 } // namespace jxl
24
25 #endif // LIB_JXL_RENDER_PIPELINE_STAGE_BLENDING_H_