| 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_SPLINES_H_ |
| 7 |
#define LIB_JXL_RENDER_PIPELINE_STAGE_SPLINES_H_ |
| 8 |
|
| 9 |
#include <utility> |
| 10 |
|
| 11 |
#include "lib/jxl/render_pipeline/render_pipeline_stage.h" |
| 12 |
#include "lib/jxl/splines.h" |
| 13 |
|
| 14 |
namespace jxl { |
| 15 |
|
| 16 |
// Draws splines if applicable. |
| 17 |
std::unique_ptr<RenderPipelineStage> GetSplineStage(const Splines* splines); |
| 18 |
|
| 19 |
} // namespace jxl |
| 20 |
|
| 21 |
#endif // LIB_JXL_RENDER_PIPELINE_STAGE_SPLINES_H_ |