summaryrefslogtreecommitdiffstats
path: root/third_party/jpeg-xl/lib/jxl/modular/transform/enc_transform.h
blob: 07659e1b0a614460bf4719c1ea590a2e026aa765 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright (c) the JPEG XL Project Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

#ifndef LIB_JXL_MODULAR_TRANSFORM_ENC_TRANSFORM_H_
#define LIB_JXL_MODULAR_TRANSFORM_ENC_TRANSFORM_H_

#include "lib/jxl/fields.h"
#include "lib/jxl/modular/modular_image.h"
#include "lib/jxl/modular/transform/transform.h"

namespace jxl {

Status TransformForward(Transform &t, Image &input,
                        const weighted::Header &wp_header, ThreadPool *pool);

void compute_minmax(const Channel &ch, pixel_type *min, pixel_type *max);

}  // namespace jxl

#endif  // LIB_JXL_MODULAR_TRANSFORM_ENC_TRANSFORM_H_