| 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_YCBCR_H_ |
| 7 |
#define LIB_JXL_RENDER_PIPELINE_STAGE_YCBCR_H_ |
| 8 |
#include <math.h> |
| 9 |
#include <stdint.h> |
| 10 |
|
| 11 |
#include <algorithm> |
| 12 |
#include <utility> |
| 13 |
#include <vector> |
| 14 |
|
| 15 |
#include "lib/jxl/dec_xyb.h" |
| 16 |
#include "lib/jxl/render_pipeline/render_pipeline_stage.h" |
| 17 |
|
| 18 |
namespace jxl { |
| 19 |
|
| 20 |
// Converts the color channels from YCbCr to RGB. |
| 21 |
std::unique_ptr<RenderPipelineStage> GetYCbCrStage(); |
| 22 |
} // namespace jxl |
| 23 |
|
| 24 |
#endif // LIB_JXL_RENDER_PIPELINE_STAGE_YCBCR_H_ |